private boolean isSearchInComments() { return refactoring.getBooleanValue(WhereUsedQuery.SEARCH_IN_COMMENTS); }
private boolean isSearchFromBaseClass() { return refactoring.getBooleanValue(WhereUsedQueryConstants.SEARCH_FROM_BASECLASS); }
private boolean isFindSubclasses() { return refactoring.getBooleanValue(WhereUsedQueryConstants.FIND_SUBCLASSES); } private boolean isFindUsages() {
private boolean isFindUsages() { return refactoring.getBooleanValue(WhereUsedQuery.FIND_REFERENCES); }
private boolean isFindOverridingMethods() { return refactoring.getBooleanValue(WhereUsedQueryConstants.FIND_OVERRIDING_METHODS); }
private boolean isFindUsages() { return refactoring.getBooleanValue(refactoring.FIND_REFERENCES); } private boolean isFindDirectSubclassesOnly() {
private boolean isFindSubclasses() { return refactoring.getBooleanValue(WhereUsedQueryConstants.FIND_SUBCLASSES); }
private boolean isFindDirectSubclassesOnly() { return refactoring.getBooleanValue(WhereUsedQueryConstants.FIND_DIRECT_SUBCLASSES); }
private boolean isFindOverridingMethods() { return refactoring.getBooleanValue(WhereUsedQueryConstants.FIND_OVERRIDING_METHODS); }
private boolean isFindDirectSubclassesOnly() { return refactoring.getBooleanValue(WhereUsedQueryConstants.FIND_DIRECT_SUBCLASSES); }
private boolean isSearchInComments() { return refactoring.getBooleanValue(refactoring.SEARCH_IN_COMMENTS); }
public Problem prepare(RefactoringElementsBag refactoringElementsBag) { if (!refactoring.getBooleanValue(WhereUsedQuery.FIND_REFERENCES)) { return null; } final TreePathHandle treePathHandle = refactoring.getRefactoringSource().lookup(TreePathHandle.class); if (treePathHandle != null && treePathHandle.getKind() == Kind.METHOD) { return prepareMethodRefactoring(refactoringElementsBag, treePathHandle); } if (treePathHandle != null && TreeUtilities.CLASS_TREE_KINDS.contains(treePathHandle.getKind())) { return prepareClassRefactoring(refactoringElementsBag, treePathHandle); } return null; }