Enum Modifier
- java.lang.Object
-
- java.lang.Enum<Modifier>
-
- org.eclipse.xtend.lib.macro.declaration.Modifier
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Modifier>
public enum Modifier extends java.lang.Enum<Modifier>
A list of all modifiers that are allowed onMemberDeclarations in Xtend source code
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSTRACTDEFThe def modifier, can be present onmethodsDISPATCHThe dispatch modifier, can be present onmethodsEXTENSIONThe extension modifier, can be present onfieldsFINALNATIVEThe native modifier, can be present onmethodsOVERRIDEThe override modifier, can be present onmethodsPACKAGEPRIVATEPROTECTEDPUBLICSTATICSTRICTFPSYNCHRONIZEDThe synchronied modifier, can be present onmethodsTRANSIENTThe transient modifier, can be present onfieldsVALThe val modifier, can be present onfieldsVARThe var modifier, can be present onfieldsVOLATILEThe volatile modifier, can be present onfields
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ModifiervalueOf(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.
-
-
-
Enum Constant Detail
-
PUBLIC
public static final Modifier PUBLIC
-
PRIVATE
public static final Modifier PRIVATE
-
PROTECTED
public static final Modifier PROTECTED
-
PACKAGE
public static final Modifier PACKAGE
-
ABSTRACT
public static final Modifier ABSTRACT
-
STATIC
public static final Modifier STATIC
-
FINAL
public static final Modifier FINAL
-
STRICTFP
public static final Modifier STRICTFP
-
SYNCHRONIZED
public static final Modifier SYNCHRONIZED
The synchronied modifier, can be present onmethods
-
-
Method Detail
-
values
public static Modifier[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Modifier c : Modifier.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Modifier valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-