|
org.netbeans.modules.java.source 0.13.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ClassIndex.SearchKind>
org.netbeans.api.java.source.ClassIndex.SearchKind
public static enum ClassIndex.SearchKind
Encodes a reference type,
used by ClassIndex.getElements(org.netbeans.api.java.source.ElementHandle and ClassIndex.getResources(org.netbeans.api.java.source.ElementHandle
to restrict the search.
| Enum Constant Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
| Method Detail |
|---|
public static final 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 name
|
org.netbeans.modules.java.source 0.13.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||