org.netbeans.api.java.source
public static enum ClassIndex.SearchKind extends Enum<ClassIndex.SearchKind>
ClassIndex.getElements(org.netbeans.api.java.source.ElementHandle, java.util.Set, java.util.Set)
and ClassIndex.getResources(org.netbeans.api.java.source.ElementHandle, java.util.Set, java.util.Set)
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 March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.