com.puppycrawl.tools.checkstyle.checks.whitespace
Class OperatorWrapOption
java.lang.Object
com.puppycrawl.tools.checkstyle.checks.AbstractOption
com.puppycrawl.tools.checkstyle.checks.whitespace.OperatorWrapOption
- All Implemented Interfaces:
- Serializable
- public final class OperatorWrapOption
- extends AbstractOption
Represents the options for wrapping on an operator.
- Version:
- 1.0
- Author:
- Rick Giles
- See Also:
- Serialized Form
Method Summary |
protected Map |
getStrToOpt()
Returns the map from string representations to options. |
NL
public static final OperatorWrapOption NL
- Require that the operator is on a new line.
EOL
public static final OperatorWrapOption EOL
- Require that the operator is at the end of the line.
getStrToOpt
protected Map getStrToOpt()
- Returns the map from string representations to options.
- Specified by:
getStrToOpt
in class AbstractOption
- Returns:
Map
from strings to options.