|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.puppycrawl.tools.checkstyle.checks.AbstractOption
com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyOption
public final class RightCurlyOption
Represents the options for placing the right curly brace '}'
.
Field Summary | |
---|---|
static RightCurlyOption |
ALONE
Represents the policy that the brace must be alone on the line. |
static RightCurlyOption |
SAME
Represents the policy that the brace must be on the same line as the next statement. |
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 |
---|
public static final RightCurlyOption ALONE
try { ... } finally {
public static final RightCurlyOption SAME
try { ... } finally {
Method Detail |
---|
protected java.util.Map getStrToOpt()
getStrToOpt
in class AbstractOption
Map
from strings to options.
|
Back to the Checkstyle Home Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |