Uses of Class
com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck.Details
-
Packages that use RightCurlyCheck.Details Package Description com.puppycrawl.tools.checkstyle.checks.blocks Contains the Block checks that are bundled with the main distribution. -
-
Uses of RightCurlyCheck.Details in com.puppycrawl.tools.checkstyle.checks.blocks
Methods in com.puppycrawl.tools.checkstyle.checks.blocks that return RightCurlyCheck.Details Modifier and Type Method Description private static RightCurlyCheck.Details
RightCurlyCheck.Details. getDetails(DetailAST ast)
Collects validation Details.private static RightCurlyCheck.Details
RightCurlyCheck.Details. getDetailsForCase(DetailAST caseNode)
Collects details about case statements.private static RightCurlyCheck.Details
RightCurlyCheck.Details. getDetailsForDoLoops(DetailAST ast)
Collects validation details for LITERAL_DO loops' tokens.private static RightCurlyCheck.Details
RightCurlyCheck.Details. getDetailsForIf(DetailAST ast)
Collects validation details for LITERAL_IF.private static RightCurlyCheck.Details
RightCurlyCheck.Details. getDetailsForOthers(DetailAST ast)
Collects validation details for CLASS_DEF, RECORD_DEF, METHOD DEF, CTOR_DEF, STATIC_INIT, INSTANCE_INIT, ANNOTATION_DEF, ENUM_DEF, and COMPACT_CTOR_DEF.private static RightCurlyCheck.Details
RightCurlyCheck.Details. getDetailsForSwitch(DetailAST switchNode)
Collects details about switch statements and expressions.private static RightCurlyCheck.Details
RightCurlyCheck.Details. getDetailsForTryCatch(DetailAST ast)
Collects validation details for LITERAL_TRY, and LITERAL_CATCH.Methods in com.puppycrawl.tools.checkstyle.checks.blocks with parameters of type RightCurlyCheck.Details Modifier and Type Method Description private static boolean
RightCurlyCheck. isAloneOnLine(RightCurlyCheck.Details details, String targetSrcLine)
Checks whether right curly is alone on a line.private static boolean
RightCurlyCheck. isBlockAloneOnSingleLine(RightCurlyCheck.Details details)
Checks whether block has a single-line format and is alone on a line.private static boolean
RightCurlyCheck. isRightcurlyFollowedBySemicolon(RightCurlyCheck.Details details)
Checks whether the right curly is followed by a semicolon.private static boolean
RightCurlyCheck. shouldBeAloneOnLine(RightCurlyOption bracePolicy, RightCurlyCheck.Details details, String targetSrcLine)
Checks that a right curly should be alone on a line.private static boolean
RightCurlyCheck. shouldBeAloneOnLineWithAloneOption(RightCurlyCheck.Details details, String targetSrcLine)
Whether right curly should be alone on line when ALONE option is used.private static boolean
RightCurlyCheck. shouldBeAloneOnLineWithNotAloneOption(RightCurlyCheck.Details details, String targetSrcLine)
Whether right curly should be alone on line when ALONE_OR_SINGLELINE or SAME option is used.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.private static boolean
RightCurlyCheck. skipDoubleBraceInstInit(RightCurlyCheck.Details details)
This method determines if the double brace initialization should be skipped over by the check.private String
RightCurlyCheck. validate(RightCurlyCheck.Details details)
Does general validation.
-