Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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:
  java.io.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

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 java.util.Map` | `getStrToOpt()` Returns the map from string representations to options.

Methods inherited from class com.puppycrawl.tools.checkstyle.checks.AbstractOption
`decode, readResolve, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### 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.

Method Detail

### getStrToOpt

    protected java.util.Map getStrToOpt()

  Description copied from class: `AbstractOption`
  Returns the map from string representations to options.

  Specified by:
    `getStrToOpt` in class `AbstractOption`
  Returns:
    `Map` from strings to options.
  See Also:
    `AbstractOption`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Back to the Checkstyle Home Page
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD