Package nonapi.io.github.classgraph.json
Class TypeResolutions
- java.lang.Object
-
- nonapi.io.github.classgraph.json.TypeResolutions
-
class TypeResolutions extends java.lang.Object
A mapping fromTypeVariable
to resolvedType
.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.reflect.Type[]
resolvedTypeArguments
The resolved type arguments.private java.lang.reflect.TypeVariable<?>[]
typeVariables
The 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.Type
resolveTypeVariables(java.lang.reflect.Type type)
Resolve the type variables in a type using a type variable resolution list, producing a resolved type.java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-