Package | Description |
---|---|
com.puppycrawl.tools.checkstyle.checks.blocks |
Contains the Block checks that are
bundled with the main distribution.
|
Modifier and Type | Field and Description |
---|---|
private RightCurlyOption |
RightCurlyCheck.option
The policy to enforce.
|
Modifier and Type | Method and Description |
---|---|
static RightCurlyOption |
RightCurlyOption.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RightCurlyOption[] |
RightCurlyOption.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private static boolean |
RightCurlyCheck.shouldBeAloneOnLine(RightCurlyOption bracePolicy,
RightCurlyCheck.Details details)
Checks that a right curly should be alone on a line.
|
private static boolean |
RightCurlyCheck.shouldBeOnSameLine(RightCurlyOption bracePolicy,
RightCurlyCheck.Details details)
Checks that a right curly should be on the same line as the next statement.
|
private static boolean |
RightCurlyCheck.shouldHaveLineBreakBefore(RightCurlyOption bracePolicy,
RightCurlyCheck.Details details)
Checks whether a right curly should have a line break before.
|