public static enum Token.WrapMode extends java.lang.Enum<Token.WrapMode>
| Enum Constant and Description |
|---|
BLOCK_INDENT
Wrap mode used for lines in anonymous class and lambda body.
|
DISABLED
Wrap mode for the "Do not wrap" policy.
|
FORCE
Wrap mode for tokens that must be wrapped due to "Force wrap" setting.
|
TOP_PRIORITY
Wrap mode for the "Wrap all elements" policies.
|
WHERE_NECESSARY
Wrap mode for the "Wrap where necessary" policies.
|
| Modifier and Type | Method and Description |
|---|---|
static Token.WrapMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Token.WrapMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Token.WrapMode DISABLED
public static final Token.WrapMode WHERE_NECESSARY
public static final Token.WrapMode TOP_PRIORITY
public static final Token.WrapMode FORCE
public static final Token.WrapMode BLOCK_INDENT
public static Token.WrapMode[] values()
for (Token.WrapMode c : Token.WrapMode.values()) System.out.println(c);
public static Token.WrapMode 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 null