Class TypeResolver

java.lang.Object
org.jboss.weld.util.reflection.TypeResolver

public class TypeResolver extends Object
  • Constructor Details

  • Method Details

    • resolveType

      public Type resolveType(TypeVariable<?> variable)
      Resolves a given type variable. This is achieved by a lookup in the resolvedTypeVariables map.
    • resolveType

      public Type resolveType(ParameterizedType type)
      Resolves a given parameterized type. If the parameterized type contains no type variables it is returned untouched. Otherwise, a new ParameterizedType instance is returned in which each type variable is resolved using resolveType(TypeVariable).
    • resolveType

      public Type resolveType(GenericArrayType type)
    • resolveType

      public Type resolveType(Type type)
    • getResolvedTypeVariables

      public Map<TypeVariable<?>,Type> getResolvedTypeVariables()