Uses of Class
com.puppycrawl.tools.checkstyle.checks.indentation.IndentLevel
Packages that use IndentLevel
Package
Description
Contains all classes required for the
indentation check.
-
Uses of IndentLevel in com.puppycrawl.tools.checkstyle.checks.indentation
Fields in com.puppycrawl.tools.checkstyle.checks.indentation declared as IndentLevelModifier and TypeFieldDescriptionprivate IndentLevelAbstractExpressionHandler.indentIndentation amount for this handler.Methods in com.puppycrawl.tools.checkstyle.checks.indentation that return IndentLevelModifier and TypeMethodDescriptionstatic IndentLevelIndentLevel.addAcceptable(IndentLevel base, int... additions) Adds one or more acceptable indentation level.static IndentLevelIndentLevel.addAcceptable(IndentLevel base, IndentLevel addition) Combines 2 acceptable indentation level classes.protected IndentLevelAnnotationArrayInitHandler.curlyIndent()protected IndentLevelArrayInitHandler.curlyIndent()protected IndentLevelBlockParentHandler.curlyIndent()Get the expected indentation level for the curly braces.protected IndentLevelObjectBlockHandler.curlyIndent()protected IndentLevelAnnotationArrayInitHandler.getChildrenExpectedIndent()protected IndentLevelArrayInitHandler.getChildrenExpectedIndent()protected IndentLevelBlockParentHandler.getChildrenExpectedIndent()Gets indentation level expected for children.final IndentLevelAbstractExpressionHandler.getIndent()Get the indentation amount for this handler.protected IndentLevelAbstractExpressionHandler.getIndentImpl()Compute the indentation amount for this handler.protected IndentLevelAnnotationArrayInitHandler.getIndentImpl()protected IndentLevelArrayInitHandler.getIndentImpl()protected IndentLevelCaseHandler.getIndentImpl()protected IndentLevelIfHandler.getIndentImpl()protected IndentLevelLabelHandler.getIndentImpl()protected IndentLevelLambdaHandler.getIndentImpl()Compute the indentation amount for this handler.protected IndentLevelMethodCallHandler.getIndentImpl()protected IndentLevelNewHandler.getIndentImpl()protected IndentLevelObjectBlockHandler.getIndentImpl()protected IndentLevelPrimordialHandler.getIndentImpl()protected IndentLevelSwitchHandler.getIndentImpl()protected IndentLevelSwitchRuleHandler.getIndentImpl()AbstractExpressionHandler.getSuggestedChildIndent(AbstractExpressionHandler child) Indentation level suggested for a child element.BlockParentHandler.getSuggestedChildIndent(AbstractExpressionHandler child) CaseHandler.getSuggestedChildIndent(AbstractExpressionHandler child) IfHandler.getSuggestedChildIndent(AbstractExpressionHandler child) LambdaHandler.getSuggestedChildIndent(AbstractExpressionHandler child) MemberDefHandler.getSuggestedChildIndent(AbstractExpressionHandler child) MethodCallHandler.getSuggestedChildIndent(AbstractExpressionHandler child) NewHandler.getSuggestedChildIndent(AbstractExpressionHandler child) PrimordialHandler.getSuggestedChildIndent(AbstractExpressionHandler child) SlistHandler.getSuggestedChildIndent(AbstractExpressionHandler child) SwitchRuleHandler.getSuggestedChildIndent(AbstractExpressionHandler child) TryHandler.getSuggestedChildIndent(AbstractExpressionHandler child) Methods in com.puppycrawl.tools.checkstyle.checks.indentation with parameters of type IndentLevelModifier and TypeMethodDescriptionstatic IndentLevelIndentLevel.addAcceptable(IndentLevel base, int... additions) Adds one or more acceptable indentation level.static IndentLevelIndentLevel.addAcceptable(IndentLevel base, IndentLevel addition) Combines 2 acceptable indentation level classes.private voidTryHandler.checkChildIndentation(DetailAST ast, String subType, IndentLevel expectedIdent) Method to check indentation of try resources children.protected final voidAbstractExpressionHandler.checkChildren(DetailAST parentNode, int[] tokenTypes, IndentLevel startIndent, boolean firstLineMatches, boolean allowNesting) Check the indent level of the children of the specified parent expression.protected final voidAbstractExpressionHandler.checkExpressionSubtree(DetailAST tree, IndentLevel indentLevel, boolean firstLineMatches, boolean allowNesting) Check the indentation level for an expression subtree.private voidAbstractExpressionHandler.checkLineIndent(DetailAST ast, IndentLevel indentLevel, boolean mustMatch) Check the indentation for a single-line.private voidAbstractExpressionHandler.checkLinesIndent(DetailAstSet astSet, IndentLevel indentLevel, boolean firstLineMatches, int firstLine, boolean allowNesting) Check the indentation for a set of lines.private voidAbstractExpressionHandler.checkRemainingLines(boolean firstLineMatches, IndentLevel indentLevel, int firstLine, DetailAstSet astSet) Check the indentation of remaining lines present in the astSet.private booleanLambdaHandler.isNonAcceptableIndent(int astColumnNo, IndentLevel level) Checks that given indent is acceptable or not.private voidAbstractExpressionHandler.logChildError(DetailAST ast, int actualIndent, IndentLevel expectedIndent) Log child indentation error.protected final voidAbstractExpressionHandler.logError(DetailAST ast, String subtypeName, int actualIndent, IndentLevel expectedIndent) Log an indentation error.Constructors in com.puppycrawl.tools.checkstyle.checks.indentation with parameters of type IndentLevelModifierConstructorDescriptionIndentLevel(IndentLevel base, int... offsets) Creates new instance for nested structure.