Enum LineWrappingHandler.LineWrappingOptions
java.lang.Object
java.lang.Enum<LineWrappingHandler.LineWrappingOptions>
com.puppycrawl.tools.checkstyle.checks.indentation.LineWrappingHandler.LineWrappingOptions
- All Implemented Interfaces:
Serializable
,Comparable<LineWrappingHandler.LineWrappingOptions>
,Constable
- Enclosing class:
- LineWrappingHandler
public static enum LineWrappingHandler.LineWrappingOptions
extends Enum<LineWrappingHandler.LineWrappingOptions>
Enum to be used for test if first line's indentation should be checked or not.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFirst line's indentation should NOT be checked.First line's indentation should be checked. -
Method Summary
-
Enum Constant Details
-
IGNORE_FIRST_LINE
First line's indentation should NOT be checked. -
NONE
First line's indentation should be checked.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
ofBoolean
Builds enum value from boolean.- Parameters:
val
- value.- Returns:
- enum instance.
-