public enum NameStrategy extends java.lang.Enum<NameStrategy>
| Enum Constant and Description |
|---|
SIMPLE_NAME |
SIMPLE_NAME_WITH_PARENT |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
toName(java.lang.Class<?> clazz) |
static NameStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NameStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NameStrategy SIMPLE_NAME_WITH_PARENT
public static final NameStrategy SIMPLE_NAME
public static NameStrategy[] values()
for (NameStrategy c : NameStrategy.values()) System.out.println(c);
public static NameStrategy 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 nullpublic abstract java.lang.String toName(java.lang.Class<?> clazz)