com.puppycrawl.tools.checkstyle.checks.indentation

Class NewHandler

public class NewHandler extends ExpressionHandler

Handler for operator new.

Author: o_sukhodolsky

Constructor Summary
NewHandler(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
voidcheckIndentation()
{@inheritDoc}
protected IndentLevelgetLevelImpl()
{@inheritDoc}
protected booleanshouldIncreaseIndent()
{@inheritDoc}

Constructor Detail

NewHandler

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 check aAST the abstract syntax tree aParent the parent handler

Method Detail

checkIndentation

public void checkIndentation()
{@inheritDoc}

getLevelImpl

protected IndentLevel getLevelImpl()
{@inheritDoc}

shouldIncreaseIndent

protected boolean shouldIncreaseIndent()
{@inheritDoc}