com.puppycrawl.tools.checkstyle.checks.indentation
public class SwitchHandler extends BlockParentHandler
Constructor Summary | |
---|---|
SwitchHandler(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 | |
---|---|
void | checkIndentation()
Check the indentation of the expression we are handling. |
protected DetailAST | getLCurly()
Get the left curly brace portion of the expression we are handling.
|
protected DetailAST | getListChild()
There is no list of statements child for this handler.
|
protected DetailAST | getNonlistChild()
There is no child element that is not a list of statements.
|
protected DetailAST | getRCurly()
Get the right curly brace portion of the expression we are handling.
|
Parameters: aIndentCheck the indentation check aAst the abstract syntax tree aParent the parent handler
Returns: the left curly brace expression
Returns: null
Returns: null
Returns: the right curly brace expression