|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory
public class HandlerFactory
Factory for handlers. Looks up constructor via reflection.
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HandlerFactory()
| Method Detail |
|---|
public boolean isHandledType(int aType)
aType - type from TokenTypes
public int[] getHandledTypes()
public ExpressionHandler getHandler(IndentationCheck aIndentCheck,
DetailAST aAst,
ExpressionHandler aParent)
aIndentCheck - the indentation checkaAst - ast to handleaParent - the handler parent of this AST
|
Back to the Checkstyle Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||