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
Methods in com.puppycrawl.tools.checkstyle.checks.indentation that return IndentLevelModifier and TypeMethodDescriptionstatic 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
ArrayInitHandler.curlyIndent()
protected IndentLevel
BlockParentHandler.curlyIndent()
Get the expected indentation level for the curly braces.protected IndentLevel
ObjectBlockHandler.curlyIndent()
protected IndentLevel
ArrayInitHandler.getChildrenExpectedIndent()
protected IndentLevel
BlockParentHandler.getChildrenExpectedIndent()
Gets indentation level expected for children.final IndentLevel
AbstractExpressionHandler.getIndent()
Get the indentation amount for this handler.protected IndentLevel
AbstractExpressionHandler.getIndentImpl()
Compute the indentation amount for this handler.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()
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) 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 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 final 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 final void
AbstractExpressionHandler.checkExpressionSubtree
(DetailAST tree, IndentLevel indentLevel, boolean firstLineMatches, boolean allowNesting) Check the indentation level for an expression subtree.protected final 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 IndentLevelModifierConstructorDescriptionIndentLevel
(IndentLevel base, int... offsets) Creates new instance for nested structure.