com.puppycrawl.tools.checkstyle.checks.indentation
Class HandlerFactory
java.lang.Object
com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory
public class HandlerFactory
extends java.lang.Object
Factory for handlers. Looks up constructor via reflection.
- jrichard
HandlerFactory
public HandlerFactory()
Creates a HandlerFactory.
getHandledTypes
public int[] getHandledTypes()
Gets list of registered handler types.
- int[] of TokenType types
isHandledType
public boolean isHandledType(int aType)
Returns true if this type (form TokenTypes) is handled.
aType
- type from TokenTypes
- true if handler is registered, false otherwise