Interface ITypeOverrideHandler<O>
- All Known Implementing Classes:
TypeTokenFactory.TypeTokenSubTypeOverrideHandler
public interface ITypeOverrideHandler<O>
-
Method Details
-
matches
boolean matches(com.google.common.reflect.TypeToken<?> inputType) Method used if this typeoverride handler is used to override a given type.- Parameters:
inputType- The type to check- Returns:
- true when this handler overrides the given type, false when not.
-
getOutputType
com.google.common.reflect.TypeToken<O> getOutputType()Method used to get the EXACT type result.- Returns:
- The exact type that this
ITypeOverrideHandlerconverts to.
-