|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MethodKind>
org.eclipse.gmt.modisco.omg.kdm.code.MethodKind
public enum MethodKind
A representation of the literals of the enumeration 'Method Kind', and utility methods for working with them.
CodePackage.getMethodKind()
Enum Constant Summary | |
---|---|
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. |
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MethodKind METHOD
METHOD_VALUE
public static final MethodKind CONSTRUCTOR
CONSTRUCTOR_VALUE
public static final MethodKind DESTRUCTOR
DESTRUCTOR_VALUE
public static final MethodKind OPERATOR
OPERATOR_VALUE
public static final MethodKind VIRTUAL
VIRTUAL_VALUE
public static final MethodKind ABSTRACT
ABSTRACT_VALUE
public static final MethodKind UNKNOWN
UNKNOWN_VALUE
Field Detail |
---|
public 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
Method Detail |
---|
public static final 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 namepublic 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>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |