public static enum ClassIndex.SearchKind extends Enum<ClassIndex.SearchKind>
ClassIndex.getElements(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>) and 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 restrict the search.| Enum Constant and Description |
|---|
FIELD_REFERENCES
The returned class has to access a field on given element
|
IMPLEMENTORS
The returned class has to extend or implement given element
|
METHOD_REFERENCES
The returned class has to call method on given element
|
TYPE_REFERENCES
The returned class contains references to the element type
|
| Modifier and Type | Method and Description |
|---|---|
static ClassIndex.SearchKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassIndex.SearchKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassIndex.SearchKind IMPLEMENTORS
public static final ClassIndex.SearchKind METHOD_REFERENCES
public static final ClassIndex.SearchKind FIELD_REFERENCES
public static final ClassIndex.SearchKind TYPE_REFERENCES
public static ClassIndex.SearchKind[] values()
for (ClassIndex.SearchKind c : ClassIndex.SearchKind.values()) System.out.println(c);
public static ClassIndex.SearchKind 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 nullBuilt on May 22 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.