Uses of Class
com.puppycrawl.tools.checkstyle.checks.indentation.IndentLevel
-
Packages that use IndentLevel Package Description com.puppycrawl.tools.checkstyle.checks.indentation 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 IndentLevel Modifier and Type Field Description private IndentLevelAbstractExpressionHandler. indentIndentation amount for this handler.Methods in com.puppycrawl.tools.checkstyle.checks.indentation that return IndentLevel Modifier and Type Method Description protected IndentLevelArrayInitHandler. curlyIndent()protected IndentLevelBlockParentHandler. curlyIndent()Get the expected indentation level for the curly braces.protected IndentLevelObjectBlockHandler. curlyIndent()protected IndentLevelArrayInitHandler. getChildrenExpectedIndent()protected IndentLevelBlockParentHandler. getChildrenExpectedIndent()Gets indentation level expected for children.IndentLevelAbstractExpressionHandler. getIndent()Get the indentation amount for this handler.protected IndentLevelAbstractExpressionHandler. getIndentImpl()Compute the indentation amount for this handler.protected IndentLevelArrayInitHandler. getIndentImpl()protected IndentLevelCaseHandler. getIndentImpl()protected IndentLevelIfHandler. getIndentImpl()protected IndentLevelLabelHandler. getIndentImpl()protected IndentLevelLambdaHandler. getIndentImpl()protected IndentLevelMethodCallHandler. getIndentImpl()protected IndentLevelNewHandler. getIndentImpl()protected IndentLevelObjectBlockHandler. getIndentImpl()protected IndentLevelPrimordialHandler. getIndentImpl()IndentLevelAbstractExpressionHandler. getSuggestedChildIndent(AbstractExpressionHandler child)Indentation level suggested for a child element.IndentLevelBlockParentHandler. getSuggestedChildIndent(AbstractExpressionHandler child)IndentLevelCaseHandler. getSuggestedChildIndent(AbstractExpressionHandler child)IndentLevelIfHandler. getSuggestedChildIndent(AbstractExpressionHandler child)IndentLevelLambdaHandler. getSuggestedChildIndent(AbstractExpressionHandler child)IndentLevelMemberDefHandler. getSuggestedChildIndent(AbstractExpressionHandler child)IndentLevelMethodCallHandler. getSuggestedChildIndent(AbstractExpressionHandler child)IndentLevelPrimordialHandler. getSuggestedChildIndent(AbstractExpressionHandler child)IndentLevelSlistHandler. getSuggestedChildIndent(AbstractExpressionHandler child)IndentLevelTryHandler. getSuggestedChildIndent(AbstractExpressionHandler child)Methods in com.puppycrawl.tools.checkstyle.checks.indentation with parameters of type IndentLevel Modifier and Type Method Description voidIndentLevel. addAcceptedIndent(IndentLevel indent)Adds one more acceptable indentation level.protected 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 voidAbstractExpressionHandler. checkExpressionSubtree(DetailAST tree, IndentLevel indentLevel, boolean firstLineMatches, boolean allowNesting)Check the indentation level for an expression subtree.private voidAbstractExpressionHandler. checkLineIndent(int lineNum, int colNum, IndentLevel indentLevel, boolean mustMatch)Check the indentation for a single line.private voidAbstractExpressionHandler. checkLinesIndent(LineSet lines, IndentLevel indentLevel, boolean firstLineMatches, int firstLine)Check the indentation for a set of lines.private voidAbstractExpressionHandler. logChildError(int line, int actualIndent, IndentLevel expectedIndent)Log child indentation error.protected voidAbstractExpressionHandler. logError(DetailAST ast, java.lang.String subtypeName, int actualIndent, IndentLevel expectedIndent)Log an indentation error.Constructors in com.puppycrawl.tools.checkstyle.checks.indentation with parameters of type IndentLevel Constructor Description IndentLevel(IndentLevel base, int... offsets)Creates new instance for nested structure.
-