Package com.puppycrawl.tools.checkstyle.checks.blocks
Contains the Block checks that are
bundled with the main distribution.
-
Class Summary Class Description AvoidNestedBlocksCheck Finds nested blocks (blocks that are used freely in the code).EmptyBlockCheck Checks for empty blocks.EmptyCatchBlockCheck Checks for empty catch blocks.LeftCurlyCheck Checks for the placement of left curly braces ('{'
) for code blocks.NeedBracesCheck Checks for braces around code blocks.RightCurlyCheck Checks the placement of right curly braces ('}'
) for code blocks.RightCurlyCheck.Details Structure that contains all details for validation. -
Enum Summary Enum Description BlockOption Represents the policy for checking block statements.LeftCurlyOption Represents the options for placing the left curly brace'{'
.RightCurlyOption Represents the options for placing the right curly brace'}'
.