Class TypeResolutions

java.lang.Object
nonapi.io.github.classgraph.json.TypeResolutions

class TypeResolutions extends Object
A mapping from TypeVariable to resolved Type.
  • Field Details

    • typeVariables

      private final TypeVariable<?>[] typeVariables
      The type variables.
    • resolvedTypeArguments

      Type[] resolvedTypeArguments
      The resolved type arguments.
  • Constructor Details

    • TypeResolutions

      TypeResolutions(ParameterizedType resolvedType)
      Produce a list of type variable resolutions from a resolved type, by comparing its actual type parameters with the generic (declared) parameters of its generic type.
      Parameters:
      resolvedType - the resolved type
  • Method Details

    • resolveTypeVariables

      Type resolveTypeVariables(Type type)
      Resolve the type variables in a type using a type variable resolution list, producing a resolved type.
      Parameters:
      type - the type
      Returns:
      the resolved type
    • toString

      public String toString()
      Overrides:
      toString in class Object