Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
com.puppycrawl.tools.checkstyle.checks.indentation.NewHandler
public class NewHandler
extends ExpressionHandler
Constructor Summary | |
|
Method Summary | |
void | |
protected IndentLevel | |
protected boolean |
Methods inherited from class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler | |
checkChildren , checkExpressionSubtree , checkIndentation , checkLParen , checkLinesIndent , checkModifiers , checkRParen , expandedTabsColumnNo , findSubtreeLines , getBasicOffset , getBraceAdjustement , getFirstLine , getIndentCheck , getLevel , getLevelImpl , getLineStart , getLineStart , getMainAst , getParent , logError , logError , shouldIncreaseIndent , startsLine , suggestedChildLevel |
public NewHandler(IndentationCheck aIndentCheck, DetailAST aAST, ExpressionHandler aParent)
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
- Parameters:
aIndentCheck
- the indentation checkaAST
- the abstract syntax treeaParent
- the parent handler
public void checkIndentation()
- Overrides:
- checkIndentation in interface ExpressionHandler
protected IndentLevel getLevelImpl()
- Overrides:
- getLevelImpl in interface ExpressionHandler
protected boolean shouldIncreaseIndent()
- Overrides:
- shouldIncreaseIndent in interface ExpressionHandler
Back to the Checkstyle Home Page |