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 IndentLevel
AbstractExpressionHandler. indent
Indentation amount for this handler.Methods in com.puppycrawl.tools.checkstyle.checks.indentation that return IndentLevel Modifier and Type Method Description static IndentLevel
IndentLevel. addAcceptable(IndentLevel base, int... additions)
Adds one or more acceptable indentation level.static IndentLevel
IndentLevel. addAcceptable(IndentLevel base, IndentLevel addition)
Combines 2 acceptable indentation level classes.protected IndentLevel
AnnotationArrayInitHandler. curlyIndent()
protected IndentLevel
ArrayInitHandler. curlyIndent()
protected IndentLevel
BlockParentHandler. curlyIndent()
Get the expected indentation level for the curly braces.protected IndentLevel
ObjectBlockHandler. curlyIndent()
protected IndentLevel
AnnotationArrayInitHandler. getChildrenExpectedIndent()
protected IndentLevel
ArrayInitHandler. getChildrenExpectedIndent()
protected IndentLevel
BlockParentHandler. getChildrenExpectedIndent()
Gets indentation level expected for children.IndentLevel
AbstractExpressionHandler. getIndent()
Get the indentation amount for this handler.protected IndentLevel
AbstractExpressionHandler. getIndentImpl()
Compute the indentation amount for this handler.protected IndentLevel
AnnotationArrayInitHandler. getIndentImpl()
protected IndentLevel
ArrayInitHandler. getIndentImpl()
protected IndentLevel
CaseHandler. getIndentImpl()
protected IndentLevel
IfHandler. getIndentImpl()
protected IndentLevel
LabelHandler. getIndentImpl()
protected IndentLevel
LambdaHandler. getIndentImpl()
Compute the indentation amount for this handler.protected IndentLevel
MethodCallHandler. getIndentImpl()
protected IndentLevel
NewHandler. getIndentImpl()
protected IndentLevel
ObjectBlockHandler. getIndentImpl()
protected IndentLevel
PrimordialHandler. getIndentImpl()
protected IndentLevel
SwitchRuleHandler. getIndentImpl()
IndentLevel
AbstractExpressionHandler. getSuggestedChildIndent(AbstractExpressionHandler child)
Indentation level suggested for a child element.IndentLevel
BlockParentHandler. getSuggestedChildIndent(AbstractExpressionHandler child)
IndentLevel
CaseHandler. getSuggestedChildIndent(AbstractExpressionHandler child)
IndentLevel
IfHandler. getSuggestedChildIndent(AbstractExpressionHandler child)
IndentLevel
LambdaHandler. getSuggestedChildIndent(AbstractExpressionHandler child)
IndentLevel
MemberDefHandler. getSuggestedChildIndent(AbstractExpressionHandler child)
IndentLevel
MethodCallHandler. getSuggestedChildIndent(AbstractExpressionHandler child)
IndentLevel
NewHandler. getSuggestedChildIndent(AbstractExpressionHandler child)
IndentLevel
PrimordialHandler. getSuggestedChildIndent(AbstractExpressionHandler child)
IndentLevel
SlistHandler. getSuggestedChildIndent(AbstractExpressionHandler child)
IndentLevel
SwitchRuleHandler. getSuggestedChildIndent(AbstractExpressionHandler child)
IndentLevel
TryHandler. getSuggestedChildIndent(AbstractExpressionHandler child)
Methods in com.puppycrawl.tools.checkstyle.checks.indentation with parameters of type IndentLevel Modifier and Type Method Description static IndentLevel
IndentLevel. addAcceptable(IndentLevel base, int... additions)
Adds one or more acceptable indentation level.static IndentLevel
IndentLevel. addAcceptable(IndentLevel base, IndentLevel addition)
Combines 2 acceptable indentation level classes.private void
TryHandler. checkChildIndentation(DetailAST ast, String subType, IndentLevel expectedIdent)
Method to check indentation of try resources children.protected void
AbstractExpressionHandler. checkChildren(DetailAST parentNode, int[] tokenTypes, IndentLevel startIndent, boolean firstLineMatches, boolean allowNesting)
Check the indent level of the children of the specified parent expression.protected void
AbstractExpressionHandler. checkExpressionSubtree(DetailAST tree, IndentLevel indentLevel, boolean firstLineMatches, boolean allowNesting)
Check the indentation level for an expression subtree.private void
AbstractExpressionHandler. checkLineIndent(DetailAST ast, IndentLevel indentLevel, boolean mustMatch)
Check the indentation for a single-line.private void
AbstractExpressionHandler. checkLinesIndent(DetailAstSet astSet, IndentLevel indentLevel, boolean firstLineMatches, int firstLine, boolean allowNesting)
Check the indentation for a set of lines.private boolean
LambdaHandler. isNonAcceptableIndent(int astColumnNo, IndentLevel level)
Checks that given indent is acceptable or not.private void
AbstractExpressionHandler. logChildError(DetailAST ast, int actualIndent, IndentLevel expectedIndent)
Log child indentation error.protected void
AbstractExpressionHandler. 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 IndentLevel Constructor Description IndentLevel(IndentLevel base, int... offsets)
Creates new instance for nested structure.
-