com.puppycrawl.tools.checkstyle.checks.indentation

Class MemberDefHandler

public class MemberDefHandler extends ExpressionHandler

Handler for member definitions.

Author: o_sukhodolsky

Constructor Summary
MemberDefHandler(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()
Check the indentation of the expression we are handling.
IndentLevelsuggestedChildLevel(ExpressionHandler aChild)
{@inheritDoc}

Constructor Detail

MemberDefHandler

public MemberDefHandler(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()
Check the indentation of the expression we are handling.

suggestedChildLevel

public IndentLevel suggestedChildLevel(ExpressionHandler aChild)
{@inheritDoc}