Interface ITypeOverrideHandler<O>

All Known Implementing Classes:
TypeTokenFactory.TypeTokenSubTypeOverrideHandler

public interface ITypeOverrideHandler<O>
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.common.reflect.TypeToken<O>
    Method used to get the EXACT type result.
    boolean
    matches(com.google.common.reflect.TypeToken<?> inputType)
    Method used if this typeoverride handler is used to override a given type.
  • 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 ITypeOverrideHandler converts to.