com.puppycrawl.tools.checkstyle.checks.whitespace

Class PadOption

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 PadOptionNOSPACE
Represents no spacing following a left parenthesis or preceding a right one.
static PadOptionSPACE
Represents mandatory spacing following a left parenthesis and preceeing a right one.
Method Summary
protected MapgetStrToOpt()
{@inheritDoc}

Field Detail

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 Detail

getStrToOpt

protected Map getStrToOpt()
{@inheritDoc}