public class HandlerFactory extends Object
Constructor and Description |
---|
HandlerFactory()
Creates a HandlerFactory.
|
Modifier and Type | Method and Description |
---|---|
void |
clearCreatedHandlers()
Clears cache of created handlers.
|
int[] |
getHandledTypes()
Gets list of registered handler types.
|
AbstractExpressionHandler |
getHandler(IndentationCheck indentCheck,
DetailAST ast,
AbstractExpressionHandler parent)
Get the handler for an AST.
|
boolean |
isHandledType(int type)
Returns true if this type (form TokenTypes) is handled.
|
public HandlerFactory()
public boolean isHandledType(int type)
type
- type from TokenTypespublic int[] getHandledTypes()
public AbstractExpressionHandler getHandler(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent)
indentCheck
- the indentation checkast
- ast to handleparent
- the handler parent of this ASTpublic void clearCreatedHandlers()
Copyright © 2001–2018. All rights reserved.