|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||||
java.lang.Objectjava.lang.Enum<JavaResourceAnnotatedElement.AstNodeType>
org.eclipse.jpt.common.core.resource.java.JavaResourceAnnotatedElement.AstNodeType
public static enum JavaResourceAnnotatedElement.AstNodeType
The java element's ASTNode type. These are the only ASTNode types that our resource model supports
| Enum Constant Summary | |
|---|---|
ENUM
Represents an enum. |
|
ENUM_CONSTANT
Represents an enum constant. |
|
FIELD
Represents a type field. |
|
METHOD
Represents a method. |
|
PACKAGE
Represents an annotatable package. |
|
TYPE
Represents a class or interface. |
|
| Method Summary | |
|---|---|
boolean |
matches(int type)
Return whether the given astNodeType matches this type |
static JavaResourceAnnotatedElement.AstNodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JavaResourceAnnotatedElement.AstNodeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final JavaResourceAnnotatedElement.AstNodeType PACKAGE
JavaResourceAnnotatedElement of JavaResourceAnnotatedElement.AstNodeType PACKAGE may safely be cast as a
JavaResourcePackage
public static final JavaResourceAnnotatedElement.AstNodeType TYPE
JavaResourceAnnotatedElement of JavaResourceAnnotatedElement.AstNodeType TYPE may safely be cast as a
JavaResourceType
public static final JavaResourceAnnotatedElement.AstNodeType ENUM
JavaResourceAnnotatedElement of JavaResourceAnnotatedElement.AstNodeType ENUM may safely be cast as a
JavaResourceEnum
public static final JavaResourceAnnotatedElement.AstNodeType METHOD
JavaResourceAnnotatedElement of JavaResourceAnnotatedElement.AstNodeType METHOD may safely be cast as a
JavaResourceMethod
public static final JavaResourceAnnotatedElement.AstNodeType FIELD
JavaResourceAnnotatedElement of JavaResourceAnnotatedElement.AstNodeType FIELD may safely be cast as a
JavaResourceField
public static final JavaResourceAnnotatedElement.AstNodeType ENUM_CONSTANT
JavaResourceAnnotatedElement of JavaResourceAnnotatedElement.AstNodeType ENUM_CONSTANT may safely be cast as a
JavaResourceEnumConstant
| Method Detail |
|---|
public static JavaResourceAnnotatedElement.AstNodeType[] values()
for (JavaResourceAnnotatedElement.AstNodeType c : JavaResourceAnnotatedElement.AstNodeType.values()) System.out.println(c);
public static JavaResourceAnnotatedElement.AstNodeType 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
NullPointerException - if the argument is nullpublic boolean matches(int type)
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||||