com.puppycrawl.tools.checkstyle.checks.whitespace

Class OperatorWrapOption

Implemented Interfaces:
Serializable

public final class OperatorWrapOption
extends AbstractOption

Represents the options for wrapping on an operator.
Version:
1.0
Author:
Rick Giles

Field Summary

static OperatorWrapOption
EOL
Require that the operator is at the end of the line.
static OperatorWrapOption
NL
Require that the operator is on a new line.

Method Summary

protected Map
getStrToOpt()

Methods inherited from class com.puppycrawl.tools.checkstyle.checks.AbstractOption

decode, getStrToOpt, readResolve, toString

Field Details

EOL

public static final OperatorWrapOption EOL
Require that the operator is at the end of the line.

NL

public static final OperatorWrapOption NL
Require that the operator is on a new line.

Method Details

getStrToOpt

protected Map getStrToOpt()
Overrides:
getStrToOpt in interface AbstractOption