Uses of Enum Class
com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyOption
Packages that use RightCurlyOption
Package
Description
Contains the Block checks that are
bundled with the main distribution.
-
Uses of RightCurlyOption in com.puppycrawl.tools.checkstyle.checks.blocks
Fields in com.puppycrawl.tools.checkstyle.checks.blocks declared as RightCurlyOptionModifier and TypeFieldDescriptionprivate RightCurlyOptionRightCurlyCheck.optionSpecify the policy on placement of a right curly brace ('}').Methods in com.puppycrawl.tools.checkstyle.checks.blocks that return RightCurlyOptionModifier and TypeMethodDescriptionstatic RightCurlyOptionReturns the enum constant of this class with the specified name.static RightCurlyOption[]RightCurlyOption.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.puppycrawl.tools.checkstyle.checks.blocks with parameters of type RightCurlyOptionModifier and TypeMethodDescriptionprivate static booleanRightCurlyCheck.shouldBeAloneOnLine(RightCurlyOption bracePolicy, RightCurlyCheck.Details details, String targetSrcLine) Checks that a right curly should be alone on a line.private static booleanRightCurlyCheck.shouldBeOnSameLine(RightCurlyOption bracePolicy, RightCurlyCheck.Details details) Checks that a right curly should be on the same line as the next statement.private static booleanRightCurlyCheck.shouldHaveLineBreakBefore(RightCurlyOption bracePolicy, RightCurlyCheck.Details details) Checks whether a right curly should have a line break before.