public enum ForceBraces extends java.lang.Enum<ForceBraces>
Enum Constant and Description |
---|
Always |
IfMultiline |
Never |
Modifier and Type | Method and Description |
---|---|
static ForceBraces |
fromInt(int value) |
int |
intValue() |
static ForceBraces |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ForceBraces[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForceBraces Never
public static final ForceBraces IfMultiline
public static final ForceBraces Always
public static ForceBraces[] values()
for (ForceBraces c : ForceBraces.values()) System.out.println(c);
public static ForceBraces 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 int intValue()
public static ForceBraces fromInt(int value)