|
org.netbeans.modules.refactoring.api 1.26.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.modules.refactoring.api.AbstractRefactoring
org.netbeans.modules.refactoring.api.WhereUsedQuery
public final class WhereUsedQuery
Where used query does not do any "real" refactoring. It just encapsulates parameters for Find Usages, which is implemented by plugins. Refactoring itself is implemented in plugins
RefactoringPlugin,
RefactoringPluginFactory,
AbstractRefactoring,
RefactoringSession| Field Summary | |
|---|---|
static String |
FIND_REFERENCES
key for #getBooleanValue()
is find references requested? |
static String |
SEARCH_IN_COMMENTS
key for #getBooleanValue()
is search in comments requested? |
| Fields inherited from class org.netbeans.modules.refactoring.api.AbstractRefactoring |
|---|
INIT, PARAMETERS_CHECK, PRE_CHECK, PREPARE |
| Constructor Summary | |
|---|---|
WhereUsedQuery(Lookup lookup)
Creates a new instance of WhereUsedQuery. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.netbeans.modules.refactoring.api.AbstractRefactoring |
|---|
addProgressListener, cancelRequest, checkParameters, fastCheckParameters, getContext, getRefactoringSource, preCheck, prepare, removeProgressListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SEARCH_IN_COMMENTS
#getBooleanValue()
is search in comments requested?
public static final String FIND_REFERENCES
#getBooleanValue()
is find references requested?
| Constructor Detail |
|---|
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.| Method Detail |
|---|
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 -
SEARCH_IN_COMMENTS,
FIND_REFERENCES
public final void putValue(@NonNull
Object key,
Object value)
key - value - set value for given keySEARCH_IN_COMMENTS,
FIND_REFERENCES
|
org.netbeans.modules.refactoring.api 1.26.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||