com.puppycrawl.tools.checkstyle.checks.indentation
public class HandlerFactory extends Object
| Constructor Summary | |
|---|---|
| HandlerFactory() Creates a HandlerFactory. | |
| Method Summary | |
|---|---|
| int[] | getHandledTypes()
Gets list of registered handler types.
|
| ExpressionHandler | getHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
Get the handler for an AST.
|
| boolean | isHandledType(int aType)
Returns true if this type (form TokenTypes) is handled.
|
Returns: int[] of TokenType types
Parameters: aIndentCheck the indentation check aAst ast to handle aParent the handler parent of this AST
Returns: the ExpressionHandler for aAst
Parameters: aType type from TokenTypes
Returns: true if handler is registered, false otherwise