Package nonapi.io.github.classgraph.json
Class TypeResolutions
java.lang.Object
nonapi.io.github.classgraph.json.TypeResolutions
A mapping from
TypeVariable
to resolved Type
.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Type[]
The resolved type arguments.private final TypeVariable<?>[]
The type variables. -
Constructor Summary
ConstructorsConstructorDescriptionTypeResolutions
(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
Modifier and TypeMethodDescription(package private) Type
resolveTypeVariables
(Type type) Resolve the type variables in a type using a type variable resolution list, producing a resolved type.toString()
-
Field Details
-
typeVariables
The type variables. -
resolvedTypeArguments
Type[] resolvedTypeArgumentsThe 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