public final class DeclarationSearchCriteria
extends oracle.jdeveloper.refactoring.model.AbstractSearchCriteria
TYPE_CHANGE_FIELD_DATA_TYPE, TYPE_CHANGE_METHOD, TYPE_CHANGE_VARIABLE_DATA_TYPE, TYPE_ENCAPSULATE_FIELDS, TYPE_EXTRACT_CLASS, TYPE_EXTRACT_INTERFACE, TYPE_EXTRACT_SUPERCLASS, TYPE_INTRODUCE_PO, TYPE_MOVE_CLASSES, TYPE_MOVE_FILES, TYPE_PUSH_DOWN, TYPE_REFACTORING_FLAG, TYPE_RENAME_FIELD, TYPE_RENAME_LAMBDA_PARAMETER, TYPE_RENAME_METHOD, TYPE_RENAME_TYPE_PARAMETER, TYPE_RENAME_VARIABLE, TYPE_REPLACE_TEXT, TYPE_SAFEDELETE_CLASS, TYPE_SAFEDELETE_FIELD, TYPE_SAFEDELETE_FILE, TYPE_SAFEDELETE_METHOD, TYPE_SAFEDELETE_VARIABLE, TYPE_SEARCH_ANNOTATION, TYPE_SEARCH_CLASS, TYPE_SEARCH_CONSTRUCTOR, TYPE_SEARCH_EXPR_LITERAL, TYPE_SEARCH_FIELD, TYPE_SEARCH_FILES, TYPE_SEARCH_LAMBDA_PARAMETER, TYPE_SEARCH_METHOD, TYPE_SEARCH_PACKAGE, TYPE_SEARCH_TYPE_PARAMETER, TYPE_SEARCH_VARIABLE, TYPE_USE_SUPERTYPE| Constructor and Description |
|---|
DeclarationSearchCriteria(java.lang.String title,
Declaration... declarations) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Declaration> |
getDeclarations()
Get the declarations to search for.
|
java.lang.String |
getLongTitle() |
java.lang.String |
getOperationName() |
oracle.jdevimpl.refactoring.search.Scope |
getScope() |
int |
getSearchType() |
java.lang.String |
getShortTitle() |
void |
setLongTitle(java.lang.String longTitle)
Sets the long title for this search criteiria.
|
void |
setScope(oracle.jdevimpl.refactoring.search.Scope scope)
Sets the scope for this search criteria.
|
public DeclarationSearchCriteria(java.lang.String title,
Declaration... declarations)
public java.util.Collection<Declaration> getDeclarations()
public int getSearchType()
getSearchType in interface oracle.ide.refactoring.SearchCriteriagetSearchType in class oracle.jdeveloper.refactoring.model.AbstractSearchCriteriapublic java.lang.String getOperationName()
public java.lang.String getShortTitle()
getShortTitle in interface oracle.ide.refactoring.SearchCriteriagetShortTitle in class oracle.jdeveloper.refactoring.model.AbstractSearchCriteriapublic java.lang.String getLongTitle()
getLongTitle in interface oracle.ide.refactoring.SearchCriteriagetLongTitle in class oracle.jdeveloper.refactoring.model.AbstractSearchCriteriapublic void setLongTitle(java.lang.String longTitle)
longTitle - the long title for this search criteria.public oracle.jdevimpl.refactoring.search.Scope getScope()
getScope in class oracle.jdeveloper.refactoring.model.AbstractSearchCriteriapublic void setScope(oracle.jdevimpl.refactoring.search.Scope scope)
scope - the scope to limit the search to.