Class TypeResolver.TypeTable

  • Enclosing class:
    TypeResolver

    private static class TypeResolver.TypeTable
    extends java.lang.Object
    A TypeTable maintains mapping from TypeVariable to types.
    • Method Detail

      • resolve

        final java.lang.reflect.Type resolve​(java.lang.reflect.TypeVariable<?> var)
      • resolveInternal

        java.lang.reflect.Type resolveInternal​(java.lang.reflect.TypeVariable<?> var,
                                               TypeResolver.TypeTable forDependants)
        Resolves var using the encapsulated type mapping. If it maps to yet another non-reified type or has bounds, forDependants is used to do further resolution, which doesn't try to resolve any type variable on generic declarations that are already being resolved.

        Should only be called and overridden by resolve(TypeVariable).