public enum ElementModifier extends Enum<ElementModifier>
Enum Constant and Description |
---|
ABSTRACT |
DEFAULT |
FINAL |
NATIVE |
PRIVATE |
PROTECTED |
PUBLIC |
STATIC |
STRICTFP |
SYNCHRONIZED |
TRANSIENT |
VOLATILE |
Modifier and Type | Method and Description |
---|---|
static ElementModifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElementModifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElementModifier PUBLIC
public static final ElementModifier PROTECTED
public static final ElementModifier PRIVATE
public static final ElementModifier ABSTRACT
public static final ElementModifier DEFAULT
public static final ElementModifier STATIC
public static final ElementModifier FINAL
public static final ElementModifier TRANSIENT
public static final ElementModifier VOLATILE
public static final ElementModifier SYNCHRONIZED
public static final ElementModifier NATIVE
public static final ElementModifier STRICTFP
public static ElementModifier[] values()
for (ElementModifier c : ElementModifier.values()) System.out.println(c);
public static ElementModifier 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 null