public static enum CodeStyle.BracePlacement extends Enum<CodeStyle.BracePlacement>
Enum Constant and Description |
---|
NEW_LINE |
NEW_LINE_HALF_INDENTED |
NEW_LINE_INDENTED |
SAME_LINE |
Modifier and Type | Method and Description |
---|---|
static CodeStyle.BracePlacement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodeStyle.BracePlacement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodeStyle.BracePlacement SAME_LINE
public static final CodeStyle.BracePlacement NEW_LINE
public static final CodeStyle.BracePlacement NEW_LINE_HALF_INDENTED
public static final CodeStyle.BracePlacement NEW_LINE_INDENTED
public static CodeStyle.BracePlacement[] values()
public static CodeStyle.BracePlacement 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