public static enum FormatPreferences.Opt extends Enum<FormatPreferences.Opt>
Enum Constant and Description |
---|
COMPACT_INIT_ONLY_CLASS |
ENUM_EMPTY_PARENS |
ENUM_TRAILING_COMMA |
Modifier and Type | Method and Description |
---|---|
static FormatPreferences.Opt |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormatPreferences.Opt[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormatPreferences.Opt ENUM_TRAILING_COMMA
public static final FormatPreferences.Opt ENUM_EMPTY_PARENS
public static final FormatPreferences.Opt COMPACT_INIT_ONLY_CLASS
public static FormatPreferences.Opt[] values()
for (FormatPreferences.Opt c : FormatPreferences.Opt.values()) System.out.println(c);
public static FormatPreferences.Opt 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 nullCopyright © 2019 JBoss by Red Hat. All rights reserved.