public final class WhereUsedQuery extends AbstractRefactoring
Modifier and Type | Field and Description |
---|---|
static String |
FIND_REFERENCES
key for
WhereUsedQuery.getBooleanValue(Object)
is find references requested? |
static String |
SEARCH_IN_COMMENTS
key for
WhereUsedQuery.getBooleanValue(Object)
is search in comments requested? |
INIT, PARAMETERS_CHECK, PRE_CHECK, PREPARE
Constructor and Description |
---|
WhereUsedQuery(Lookup lookup)
Creates a new instance of WhereUsedQuery.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getBooleanValue(Object key)
getter for various properties
|
void |
putValue(Object key,
Object value)
setter for various properties
|
void |
setRefactoringSource(Lookup lookup)
Setter for searched item
|
addProgressListener, cancelRequest, checkParameters, fastCheckParameters, getContext, getRefactoringSource, preCheck, prepare, removeProgressListener
public static final String SEARCH_IN_COMMENTS
WhereUsedQuery.getBooleanValue(Object)
is search in comments requested?public static final String FIND_REFERENCES
WhereUsedQuery.getBooleanValue(Object)
is find references requested?public WhereUsedQuery(@NonNull Lookup lookup)
Module | Types the Module Understands | Implementation |
---|---|---|
Java Refactoring |
| Finds references |
lookup
- put object for which you request references into Lookup instance.public final void setRefactoringSource(@NonNull Lookup lookup)
lookup
- put object for which you request references into Lookup instance.public final boolean getBooleanValue(@NonNull Object key)
key
- WhereUsedQuery.SEARCH_IN_COMMENTS
,
WhereUsedQuery.FIND_REFERENCES
public final void putValue(@NonNull Object key, Object value)
key
- value
- set value for given keyWhereUsedQuery.SEARCH_IN_COMMENTS
,
WhereUsedQuery.FIND_REFERENCES