public enum Modifier extends java.lang.Enum<Modifier>
MemberDeclaration
s in
Xtend source codeEnum Constant and Description |
---|
ABSTRACT
|
DEF
The def modifier, can be present on
methods |
DISPATCH
The dispatch modifier, can be present on
methods |
EXTENSION
The extension modifier, can be present on
fields |
FINAL
|
NATIVE
The native modifier, can be present on
methods |
OVERRIDE
The override modifier, can be present on
methods |
PACKAGE
|
PRIVATE
|
PROTECTED
|
PUBLIC
|
STATIC
|
STRICTFP
|
SYNCHRONIZED
The synchronied modifier, can be present on
methods |
TRANSIENT
The transient modifier, can be present on
fields |
VAL
The val modifier, can be present on
fields |
VAR
The var modifier, can be present on
fields |
VOLATILE
The volatile modifier, can be present on
fields |
Modifier and Type | Method and Description |
---|---|
static Modifier |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Modifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Modifier PUBLIC
public static final Modifier PRIVATE
public static final Modifier PROTECTED
public static final Modifier PACKAGE
public static final Modifier ABSTRACT
public static final Modifier STATIC
public static final Modifier FINAL
public static final Modifier STRICTFP
public static final Modifier SYNCHRONIZED
methods
public static Modifier[] values()
for (Modifier c : Modifier.values()) System.out.println(c);
public static Modifier 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 null