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.EmptyBlockCheck Checks for empty blocks.EmptyCatchBlockCheck Checks for empty catch blocks.LeftCurlyCheck Checks the placement of left curly braces.NeedBracesCheck Checks for braces around code blocks.RightCurlyCheck Checks the placement of right curly braces. -
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'}'
.