public static enum Token.WrapMode extends java.lang.Enum<Token.WrapMode>
| Enum Constant and Description |
|---|
DISABLED
Wrap mode for the "Do not wrap" policy.
|
FORCED
Wrap mode for tokens that are already in new line before wrapping, but their indentation should be adjusted
in similar way to wrapping.
|
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 FORCED
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