public static enum ClassIndex.ResourceType extends Enum<ClassIndex.ResourceType>
ClassIndex.getResources(org.netbeans.api.java.source.ElementHandle<javax.lang.model.element.TypeElement>, java.util.Set<org.netbeans.api.java.source.ClassIndex.SearchKind>, java.util.Set<? extends org.netbeans.api.java.source.ClassIndex.SearchScopeType>)
to get results inEnum Constant and Description |
---|
BINARY
Resources from a binary root.
|
SOURCE
Resources from a source root.
|
Modifier and Type | Method and Description |
---|---|
static ClassIndex.ResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassIndex.ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassIndex.ResourceType SOURCE
public static final ClassIndex.ResourceType BINARY
public static ClassIndex.ResourceType[] values()
public static ClassIndex.ResourceType 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