public enum JavaModifier extends Enum<JavaModifier>
| Enum Constant and Description |
|---|
DEFAULT |
FINAL |
PRIVATE |
PROTECTED |
PUBLIC |
STATIC |
TRANSIENT |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static JavaModifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaModifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaModifier PRIVATE
public static final JavaModifier DEFAULT
public static final JavaModifier PROTECTED
public static final JavaModifier PUBLIC
public static final JavaModifier STATIC
public static final JavaModifier FINAL
public static final JavaModifier TRANSIENT
public static JavaModifier[] values()
for (JavaModifier c : JavaModifier.values()) System.out.println(c);
public static JavaModifier 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 nullpublic String toString()
toString in class Enum<JavaModifier>Copyright © 2014 JBoss by Red Hat. All Rights Reserved.