Package nonapi.io.github.classgraph.json
Class TypeResolutions
- java.lang.Object
-
- nonapi.io.github.classgraph.json.TypeResolutions
-
class TypeResolutions extends java.lang.ObjectA mapping fromTypeVariableto resolvedType.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.reflect.Type[]resolvedTypeArgumentsThe resolved type arguments.private java.lang.reflect.TypeVariable<?>[]typeVariablesThe type variables.
-
Constructor Summary
Constructors Constructor Description TypeResolutions(java.lang.reflect.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.reflect.TyperesolveTypeVariables(java.lang.reflect.Type type)Resolve the type variables in a type using a type variable resolution list, producing a resolved type.java.lang.StringtoString()
-
-
-
Constructor Detail
-
TypeResolutions
TypeResolutions(java.lang.reflect.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 Detail
-
resolveTypeVariables
java.lang.reflect.Type resolveTypeVariables(java.lang.reflect.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 java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-