public enum MethodKind extends java.lang.Enum<MethodKind>
CodePackage.getMethodKind()| Enum Constant and Description |
|---|
ABSTRACT
The 'Abstract' literal object.
|
CONSTRUCTOR
The 'Constructor' literal object.
|
DESTRUCTOR
The 'Destructor' literal object.
|
METHOD
The 'Method' literal object.
|
OPERATOR
The 'Operator' literal object.
|
UNKNOWN
The 'Unknown' literal object.
|
VIRTUAL
The 'Virtual' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ABSTRACT_VALUE
The 'Abstract' literal value.
|
static int |
CONSTRUCTOR_VALUE
The 'Constructor' literal value.
|
static int |
DESTRUCTOR_VALUE
The 'Destructor' literal value.
|
static int |
METHOD_VALUE
The 'Method' literal value.
|
static int |
OPERATOR_VALUE
The 'Operator' literal value.
|
static int |
UNKNOWN_VALUE
The 'Unknown' literal value.
|
static java.util.List<MethodKind> |
VALUES
A public read-only list of all the 'Method Kind' enumerators.
|
static int |
VIRTUAL_VALUE
The 'Virtual' literal value.
|
| Modifier and Type | Method and Description |
|---|---|
static MethodKind |
get(int value)
Returns the 'Method Kind' literal with the specified integer value.
|
static MethodKind |
get(java.lang.String literal)
Returns the 'Method Kind' literal with the specified literal value.
|
static MethodKind |
getByName(java.lang.String name)
Returns the 'Method Kind' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static MethodKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MethodKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodKind METHOD
METHOD_VALUEpublic static final MethodKind CONSTRUCTOR
CONSTRUCTOR_VALUEpublic static final MethodKind DESTRUCTOR
DESTRUCTOR_VALUEpublic static final MethodKind OPERATOR
OPERATOR_VALUEpublic static final MethodKind VIRTUAL
VIRTUAL_VALUEpublic static final MethodKind ABSTRACT
ABSTRACT_VALUEpublic static final MethodKind UNKNOWN
UNKNOWN_VALUEpublic static final int METHOD_VALUE
If the meaning of 'Method' literal object isn't clear, there really should be more of a description here...
METHOD,
Constant Field Valuespublic static final int CONSTRUCTOR_VALUE
If the meaning of 'Constructor' literal object isn't clear, there really should be more of a description here...
CONSTRUCTOR,
Constant Field Valuespublic static final int DESTRUCTOR_VALUE
If the meaning of 'Destructor' literal object isn't clear, there really should be more of a description here...
DESTRUCTOR,
Constant Field Valuespublic static final int OPERATOR_VALUE
If the meaning of 'Operator' literal object isn't clear, there really should be more of a description here...
OPERATOR,
Constant Field Valuespublic static final int VIRTUAL_VALUE
If the meaning of 'Virtual' literal object isn't clear, there really should be more of a description here...
VIRTUAL,
Constant Field Valuespublic static final int ABSTRACT_VALUE
If the meaning of 'Abstract' literal object isn't clear, there really should be more of a description here...
ABSTRACT,
Constant Field Valuespublic static final int UNKNOWN_VALUE
If the meaning of 'Unknown' literal object isn't clear, there really should be more of a description here...
UNKNOWN,
Constant Field Valuespublic static final java.util.List<MethodKind> VALUES
public static MethodKind[] values()
for (MethodKind c : MethodKind.values()) System.out.println(c);
public static MethodKind valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static MethodKind get(java.lang.String literal)
public static MethodKind getByName(java.lang.String name)
public static MethodKind get(int value)
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString in class java.lang.Enum<MethodKind>