Package | Description |
---|---|
com.puppycrawl.tools.checkstyle.checks.indentation |
Contains all classes required for the
indentation check.
|
Modifier and Type | Method and Description |
---|---|
void |
IndentLevel.addAcceptedIndent(IndentLevel indent)
Adds one more acceptable indentation level.
|
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.
|
protected void |
AbstractExpressionHandler.logError(DetailAST ast,
String subtypeName,
int actualIndent,
IndentLevel expectedIndent)
Log an indentation error.
|
Constructor and Description |
---|
IndentLevel(IndentLevel base,
int... offsets)
Creates new instance for nested structure.
|
Copyright © 2001–2018. All rights reserved.