|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
com.puppycrawl.tools.checkstyle.checks.indentation.BlockParentHandler
com.puppycrawl.tools.checkstyle.checks.indentation.StaticInitHandler
public class StaticInitHandler
Handler for static initialization blocks.
Constructor Summary | |
---|---|
StaticInitHandler(IndentationCheck aIndentCheck,
DetailAST aAst,
ExpressionHandler aParent)
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler. |
Method Summary | |
---|---|
protected boolean |
toplevelMustStartLine()
Determines if the top level token must start the line. |
Methods inherited from class com.puppycrawl.tools.checkstyle.checks.indentation.BlockParentHandler |
---|
checkIndentation, checkLCurly, checkRCurly, checkToplevelToken, childrenMayNest, getCheckedChildren, getChildrenExpectedLevel, getLCurly, getListChild, getLParen, getNonlistChild, getRCurly, getRParen, getToplevelAST, hasCurlys, rcurlyMustStart, suggestedChildLevel |
Methods inherited from class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler |
---|
checkChildren, checkExpressionSubtree, checkLinesIndent, checkLParen, checkModifiers, checkRParen, expandedTabsColumnNo, findSubtreeLines, getBasicOffset, getBraceAdjustement, getFirstLine, getIndentCheck, getLevel, getLevelImpl, getLineStart, getLineStart, getMainAst, getParent, logError, logError, shouldIncreaseIndent, startsLine |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StaticInitHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
aIndentCheck
- the indentation checkaAst
- the abstract syntax treeaParent
- the parent handlerMethod Detail |
---|
protected boolean toplevelMustStartLine()
BlockParentHandler
toplevelMustStartLine
in class BlockParentHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |