public enum TypeModifier extends java.lang.Enum<TypeModifier>
Enum Constant and Description |
---|
Instance
The method or field is instance (non-static)
|
Static
The method or field is static (class)
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
eval() |
static TypeModifier |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TypeModifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeModifier Static
public static final TypeModifier Instance
public static TypeModifier[] values()
for (TypeModifier c : TypeModifier.values()) System.out.println(c);
public static TypeModifier 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 abstract boolean eval()
true
if the type is static (class); false
otherwise.