|
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.Scope
public final class Scope
Scope is used to limit the WhereUsedQuery to a specific scope. Add an instance of this class to the context of the WhereUsedQuery to limit the scope. A custom scope can be any combination of source roots, folders and files.
Context| Method Summary | |
|---|---|
static Scope |
create(Collection<FileObject> sourceRoots,
Collection<NonRecursiveFolder> folders,
Collection<FileObject> files)
Creates a new scope. |
Set<FileObject> |
getFiles()
Get the files to include in the where used query. |
Set<NonRecursiveFolder> |
getFolders()
Get the non recursive folders to include in the where used query. |
Set<FileObject> |
getSourceRoots()
Get the source roots to include in the where used query. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
@NonNull public Set<FileObject> getFiles()
@NonNull public Set<NonRecursiveFolder> getFolders()
@NonNull public Set<FileObject> getSourceRoots()
@NonNull
public static Scope create(@NullAllowed
Collection<FileObject> sourceRoots,
@NullAllowed
Collection<NonRecursiveFolder> folders,
@NullAllowed
Collection<FileObject> files)
sourceRoots - the source roots to include in this scopefolders - the non recursive folders to include in this scopefiles - the files to include in this scope
|
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 | |||||||||