Module org.eclipse.xtend.lib.macro
Enum Class Modifier
- All Implemented Interfaces:
Serializable,Comparable<Modifier>,Constable
A list of all modifiers that are allowed on
MemberDeclarations in
Xtend source code-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe def modifier, can be present onmethodsThe dispatch modifier, can be present onmethodsThe extension modifier, can be present onfieldsThe native modifier, can be present onmethodsThe override modifier, can be present onmethodsThe synchronied modifier, can be present onmethodsThe transient modifier, can be present onfieldsThe val modifier, can be present onfieldsThe var modifier, can be present onfieldsThe volatile modifier, can be present onfields -
Method Summary
-
Enum Constant Details
-
PUBLIC
-
PRIVATE
-
PROTECTED
-
PACKAGE
-
ABSTRACT
-
STATIC
-
DISPATCH
The dispatch modifier, can be present onmethods -
FINAL
-
STRICTFP
-
NATIVE
The native modifier, can be present onmethods -
VOLATILE
The volatile modifier, can be present onfields -
SYNCHRONIZED
The synchronied modifier, can be present onmethods -
TRANSIENT
The transient modifier, can be present onfields -
VAL
The val modifier, can be present onfields -
VAR
The var modifier, can be present onfields -
DEF
The def modifier, can be present onmethods -
OVERRIDE
The override modifier, can be present onmethods -
EXTENSION
The extension modifier, can be present onfields- Since:
- 2.8
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-