com.puppycrawl.tools.checkstyle.checks.whitespace

Class PadOption

Implemented Interfaces:
Serializable

public final class PadOption
extends AbstractOption

Represents the options for whitespace around parentheses.
Version:
1
Author:
Oliver Burn
See Also:
EmptyForIteratorPadCheck, ParenPadCheck

Field Summary

static PadOption
NOSPACE
Represents no spacing following a left parenthesis or preceding a right one.
static PadOption
SPACE
Represents mandatory spacing following a left parenthesis and preceeing a right one.

Method Summary

protected Map
getStrToOpt()

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

decode, getStrToOpt, readResolve, toString

Field Details

NOSPACE

public static final PadOption NOSPACE
Represents no spacing following a left parenthesis or preceding a right one.

SPACE

public static final PadOption SPACE
Represents mandatory spacing following a left parenthesis and preceeing a right one.

Method Details

getStrToOpt

protected Map getStrToOpt()
Overrides:
getStrToOpt in interface AbstractOption