|
|||||||||
| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> checks >> [ blocks overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.puppycrawl.tools.checkstyle.checks.blocks
Class RightCurlyOption

java.lang.Objectcom.puppycrawl.tools.checkstyle.checks.AbstractOption
com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyOption
- All Implemented Interfaces:
- java.io.Serializable
- public final class RightCurlyOption
- extends com.puppycrawl.tools.checkstyle.checks.AbstractOption
Represents the options for placing the right curly brace '}'.
- Version:
- 1
| 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. |
private static java.util.Map |
STR_TO_OPT
maps from a string representation to an option |
| Fields inherited from class com.puppycrawl.tools.checkstyle.checks.AbstractOption |
|
| Constructor Summary | |
private |
RightCurlyOption(java.lang.String aStrRep)
Creates a new RightCurlyOption instance. |
| 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 |
STR_TO_OPT
private static final java.util.Map STR_TO_OPT
- maps from a string representation to an option
ALONE
public static final RightCurlyOption ALONE
- Represents the policy that the brace must be alone on the line. For
example:
try { ... } finally {
SAME
public static final RightCurlyOption SAME
- Represents the policy that the brace must be on the same line as the
next statement. For example:
try { ... } finally {
| Constructor Detail |
RightCurlyOption
private RightCurlyOption(java.lang.String aStrRep)
- Creates a new
RightCurlyOptioninstance.
| Method Detail |
getStrToOpt
protected java.util.Map getStrToOpt()
- Description copied from class:
com.puppycrawl.tools.checkstyle.checks.AbstractOption - Returns the map from string representations to options.
|
|||||||||
| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> checks >> [ blocks overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC