public enum MethodPassingMode extends Enum<MethodPassingMode> implements org.eclipse.emf.common.util.Enumerator
Modifier and Type | Field and Description |
---|---|
static int |
METHODIN_VALUE |
static int |
METHODOUT_VALUE |
static List<MethodPassingMode> |
VALUES |
Modifier and Type | Method and Description |
---|---|
static MethodPassingMode |
get(int value) |
static MethodPassingMode |
get(String literal) |
static MethodPassingMode |
getByName(String name) |
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString() |
static MethodPassingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodPassingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodPassingMode METHODIN
public static final MethodPassingMode METHODOUT
public static final int METHODIN_VALUE
public static final int METHODOUT_VALUE
public static final List<MethodPassingMode> VALUES
public static MethodPassingMode[] values()
for (MethodPassingMode c : MethodPassingMode.values()) System.out.println(c);
public static MethodPassingMode 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 nullpublic static MethodPassingMode get(String literal)
public static MethodPassingMode getByName(String name)
public static MethodPassingMode get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public String toString()
toString
in class Enum<MethodPassingMode>