public static enum ClassIndex.SearchScope extends Enum<ClassIndex.SearchScope> implements ClassIndex.SearchScopeType
ClassIndex.SearchScopeTypes| Enum Constant and Description |
|---|
DEPENDENCIES
Search is done in compile and boot path
|
SOURCE
Search is done in source path
|
| Modifier and Type | Method and Description |
|---|---|
Set<? extends String> |
getPackages()
Limits search only into given packages.
|
static ClassIndex.SearchScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassIndex.SearchScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfisDependencies, isSourcespublic static final ClassIndex.SearchScope SOURCE
public static final ClassIndex.SearchScope DEPENDENCIES
public static ClassIndex.SearchScope[] values()
for (ClassIndex.SearchScope c : ClassIndex.SearchScope.values()) System.out.println(c);
public static ClassIndex.SearchScope valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is null@CheckForNull public Set<? extends String> getPackages()
ClassIndex.SearchScopeTypegetPackages in interface ClassIndex.SearchScopeTypeBuilt on May 16 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.