@BeanIgnore public final class ClassInfo extends Object
Provides various convenience methods for introspecting fields/methods/annotations that aren't provided by the standard Java reflection APIs.
Objects are designed to be lightweight to create and threadsafe.
Modifier | Constructor and Description |
---|---|
protected |
ClassInfo(Class<?> c,
Type t,
Class<?> proxyFor)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
appendAnnotationInfos(List<AnnotationInfo<T>> l,
Class<T> a)
Finds and appends the specified annotation on the specified class and superclasses/interfaces to the specified
list.
|
<T extends Annotation> |
appendAnnotationInfosParentFirst(List<AnnotationInfo<T>> l,
Class<T> a)
Finds and appends the specified annotation on the specified class and superclasses/interfaces to the specified
list.
|
<T extends Annotation> |
appendAnnotations(List<T> l,
Class<T> a)
Finds and appends the specified annotation on the specified class and superclasses/interfaces to the specified
list.
|
<T extends Annotation> |
appendAnnotations(List<T> l,
Class<T> a,
MetaProvider mp)
Finds and appends the specified annotation on the specified class and superclasses/interfaces to the specified
list.
|
<T extends Annotation> |
appendAnnotationsParentFirst(List<T> l,
Class<T> a)
Finds and appends the specified annotation on the specified class and superclasses/interfaces to the specified
list.
|
<T extends Annotation> |
appendAnnotationsParentFirst(List<T> l,
Class<T> a,
MetaProvider mp)
Finds and appends the specified annotation on the specified class and superclasses/interfaces to the specified
list.
|
StringBuilder |
appendFullName(StringBuilder sb)
Same as
getFullName() but appends to an existing string builder. |
StringBuilder |
appendShortName(StringBuilder sb)
Same as
getShortName() but appends to an existing string builder. |
boolean |
equals(Object o) |
List<FieldInfo> |
getAllFields()
Returns all declared fields on this class and all parent classes.
|
List<FieldInfo> |
getAllFieldsParentFirst()
Returns all declared fields on this class and all parent classes.
|
List<MethodInfo> |
getAllMethods()
Returns all declared methods on this class and all parent classes.
|
List<MethodInfo> |
getAllMethodsParentFirst()
Returns all declared methods on this class and all parent classes.
|
List<ClassInfo> |
getAllParents()
Returns a list including this class and all parent classes and interfaces.
|
Iterable<ClassInfo> |
getAllParentsParentFirst()
Returns a list including this class and all parent classes and interfaces.
|
<T extends Annotation> |
getAnnotation(Class<T> a)
Finds the annotation of the specified type defined on this class or parent class/interface.
|
<T extends Annotation> |
getAnnotation(Class<T> a,
MetaProvider mp)
Finds the annotation of the specified type defined on this class or parent class/interface.
|
<T extends Annotation> |
getAnnotationInfos(Class<T> a)
Same as getAnnotations(Class) except returns the annotations with the accompanying class.
|
<T extends Annotation> |
getAnnotationInfosParentFirst(Class<T> a)
Same as getAnnotations(Class) except returns the annotations with the accompanying class.
|
AnnotationList |
getAnnotationList(Predicate<AnnotationInfo<?>> filter)
Constructs an
AnnotationList of all annotations found on this class. |
AnnotationList |
getAnnotationListParentFirst(Predicate<AnnotationInfo<?>> filter)
Constructs an
AnnotationList of all annotations found on this class. |
<T extends Annotation> |
getAnnotations(Class<T> a)
Returns all annotations of the specified type defined on the specified class or parent classes/interfaces.
|
<T extends Annotation> |
getAnnotations(Class<T> a,
MetaProvider mp)
Returns all annotations of the specified type defined on the specified class or parent classes/interfaces.
|
<T extends Annotation> |
getAnnotationsParentFirst(Class<T> a)
Identical to
getAnnotations(Class) but optionally returns the list in reverse (parent-to-child) order. |
<T extends Annotation> |
getAnnotationsParentFirst(Class<T> a,
MetaProvider mp)
Identical to
getAnnotations(Class,MetaProvider) but optionally returns the list in reverse (parent-to-child) order. |
ConstructorInfo |
getAvailablePublicConstructor(Class<?>... args)
Same as
getPublicConstructor(Class...) but allows for inexact arg type matching. |
MethodInfo |
getBuilderBuildMethod()
Returns the
|
MethodInfo |
getBuilderCreateMethod()
Returns the
|
ClassInfo |
getComponentType()
Returns the base component type of this class if it's an array.
|
ConstructorInfo |
getConstructor(Visibility vis,
Class<?>... argTypes)
Finds a constructor with the specified parameters without throwing an exception.
|
<T extends Annotation> |
getDeclaredAnnotation(Class<T> a)
Returns the specified annotation only if it's been declared on this class.
|
<T extends Annotation> |
getDeclaredAnnotation(Class<T> a,
MetaProvider mp)
Returns the specified annotation only if it's been declared on this class.
|
<T extends Annotation> |
getDeclaredAnnotationInfo(Class<T> a)
Same as
getDeclaredAnnotation(Class) but returns the annotation wrapped in a AnnotationInfo . |
ConstructorInfo |
getDeclaredConstructor(Class<?>... args)
Returns the declared constructor with the specified argument types.
|
List<ConstructorInfo> |
getDeclaredConstructors()
Returns all the constructors defined on this class.
|
FieldInfo |
getDeclaredField(String name)
Returns the declared field with the specified name.
|
List<FieldInfo> |
getDeclaredFields()
Returns all declared fields on this class.
|
List<ClassInfo> |
getDeclaredInterfaces()
Returns a list of interfaces declared on this class.
|
List<MethodInfo> |
getDeclaredMethods()
Returns all methods declared on this class.
|
int |
getDimensions()
Returns the number of dimensions if this is an array type.
|
String |
getFullName()
Returns the full name of this class.
|
List<ClassInfo> |
getInterfaces()
Returns a list of interfaces defined on this class and superclasses.
|
Iterable<ClassInfo> |
getInterfacesParentFirst()
Returns a list of interfaces defined on this class and superclasses.
|
MethodInfo |
getMethod(String name,
Class<?>... args)
Returns the method with the specified method name and argument types.
|
String |
getName()
Returns the name of the underlying class.
|
String[] |
getNames()
Returns all possible names for this class.
|
ConstructorInfo |
getNoArgConstructor(Visibility v)
Locates the no-arg constructor for this class.
|
Package |
getPackage()
Returns the package of this class.
|
<T extends Annotation> |
getPackageAnnotation(Class<T> a)
Returns the specified annotation only if it's been declared on the package of this class.
|
<T extends Annotation> |
getPackageAnnotationInfo(Class<T> a)
Same as
getPackageAnnotation(Class) but returns the annotation wrapped in a AnnotationInfo . |
Class<?> |
getParameterType(int index,
Class<?> pt)
Finds the real parameter type of this class.
|
ClassInfo |
getParent()
Returns the parent class.
|
List<ClassInfo> |
getParents()
Returns a list including this class and all parent classes.
|
Iterable<ClassInfo> |
getParentsParentFirst()
Returns a list including this class and all parent classes.
|
Object |
getPrimitiveDefault()
Returns the default value for this primitive class.
|
Class<?> |
getPrimitiveForWrapper()
If this class is a primitive wrapper (e.g.
|
Class<?> |
getPrimitiveWrapper()
If this class is a primitive (e.g.
|
Class<?> |
getProxiedClass()
Returns the non-proxied inner class of a CGLIB proxy class.
|
ConstructorInfo |
getPublicConstructor(Class<?>... args)
Returns the public constructor with the specified argument types.
|
ConstructorInfo |
getPublicConstructor(Object... args)
Finds the public constructor that can take in the specified arguments.
|
ConstructorInfo |
getPublicConstructorFuzzy(Object... args)
Finds the public constructor that can take in the specified arguments using fuzzy-arg matching.
|
List<ConstructorInfo> |
getPublicConstructors()
Returns all the public constructors defined on this class.
|
FieldInfo |
getPublicField(String name)
Returns the public field with the specified name.
|
List<FieldInfo> |
getPublicFields()
Returns all public fields on this class.
|
MethodInfo |
getPublicMethod(String name,
Class<?>... args)
Returns the public method with the specified method name and argument types.
|
List<MethodInfo> |
getPublicMethods()
Returns all public methods on this class.
|
String |
getReadableName()
|
String |
getShortName()
Returns the short name of the underlying class.
|
String |
getSimpleName()
Returns the simple name of the underlying class.
|
MethodInfo |
getStaticCreateMethod(Class<?> ic,
String... additionalNames)
Find the public static creator method on this class.
|
FieldInfo |
getStaticPublicField(String name)
Returns the static public field with the specified name.
|
Field |
getStaticPublicFieldInner(String name)
Returns the static public field with the specified name.
|
MethodInfo |
getStaticPublicMethod(String name,
Class<?> rt,
Class<?>... args)
Find the public static method with the specified name and args.
|
Method |
getStaticPublicMethodInner(String name,
Class<?> rt,
Class<?>... args)
Find the public static method with the specified name and args.
|
Class<?> |
getWrapperIfPrimitive()
If this class is a primitive (e.g.
|
ClassInfo |
getWrapperInfoIfPrimitive()
Same as
getWrapperIfPrimitive() but wraps it in a ClassInfo . |
boolean |
hasAnnotation(Class<? extends Annotation> a)
Returns
|
int |
hashCode() |
boolean |
hasPackage()
Returns
|
boolean |
hasPrimitiveWrapper()
Returns
getPrimitiveWrapper() method returns a value. |
<T> Class<T> |
inner()
Returns the wrapped class as a
Class . |
Type |
innerType()
Returns the wrapped class as a
Type . |
boolean |
is(Class<?> c)
Checks for equality with the specified class.
|
boolean |
is(ClassInfo c)
Checks for equality with the specified class.
|
boolean |
isAbstract()
Returns
|
boolean |
isAll(ReflectFlags... flags)
Returns
|
boolean |
isAny(Class<?>... types)
Returns
|
boolean |
isAny(ReflectFlags... flags)
Returns
|
boolean |
isChildOf(Class<?> parent)
Returns
|
boolean |
isChildOf(ClassInfo parent)
Returns
|
boolean |
isChildOf(Type parent)
Returns
|
boolean |
isChildOfAny(Class<?>... parents)
Returns
|
boolean |
isClass()
Returns
|
boolean |
isDeprecated()
Returns
@Deprecated annotation on it. |
boolean |
isEnum()
Returns
|
boolean |
isInterface()
Returns
|
boolean |
isLocalClass()
Returns
|
boolean |
isMemberClass()
Returns
|
boolean |
isNonStaticMemberClass()
Returns
|
boolean |
isNotAbstract()
Returns
|
boolean |
isNotDeprecated()
Returns
@Deprecated annotation on it. |
boolean |
isNotLocalClass()
Returns
|
boolean |
isNotMemberClass()
Returns
|
boolean |
isNotNonStaticMemberClass()
Returns
|
boolean |
isNotPrimitive()
Returns
|
boolean |
isNotPublic()
Returns
|
boolean |
isNotStatic()
Returns
|
boolean |
isParentOf(Class<?> child)
Returns
|
boolean |
isParentOf(Type child)
Returns
|
boolean |
isPrimitive()
Returns
|
boolean |
isPublic()
Returns
|
boolean |
isRuntimeException()
Returns
RuntimeException . |
boolean |
isStatic()
Returns
|
boolean |
isStrictChildOf(Class<?> parent)
Returns
|
boolean |
isVisible(Visibility v)
Identifies if the specified visibility matches this constructor.
|
Object |
newInstance()
Shortcut for calling
Class.newInstance() on the underlying class. |
static ClassInfo |
of(Class<?> c)
Returns a class info wrapper around the specified class type.
|
static ClassInfo |
of(Class<?> c,
Type t)
Returns a class info wrapper around the specified class type.
|
static ClassInfo |
of(Object o)
Same as using the constructor, but operates on an object instance.
|
static ClassInfo |
of(Type t)
Returns a class info wrapper around the specified class type.
|
static ClassInfo |
ofc(Class<?> c)
Same as
of(Class) } but caches the result for faster future lookup. |
static ClassInfo |
ofc(Object o)
Same as
of(Object) } but caches the result for faster future lookup. |
ClassInfo |
proxyFor(Class<?> proxyFor)
Identifies the inner target class when this class info represents a CGLIB proxy class.
|
ClassInfo |
resolved()
If this class is a parameterized
Value type, returns the parameterized type. |
String |
toString() |
public static ClassInfo of(Type t)
t
- The class type.public static ClassInfo of(Class<?> c)
c
- The class type.public static ClassInfo ofc(Class<?> c)
of(Class)
} but caches the result for faster future lookup.c
- The class type.public static ClassInfo of(Class<?> c, Type t)
c
- The class type.t
- The generic type (if parameterized type).public static ClassInfo of(Object o)
o
- The class instance.public static ClassInfo ofc(Object o)
of(Object)
} but caches the result for faster future lookup.o
- The class instance.public Type innerType()
Type
.Type
.public <T> Class<T> inner()
Class
.Class
, or ParameterizedType
).public ClassInfo resolved()
Value
type, returns the parameterized type.Value
type.public ClassInfo proxyFor(Class<?> proxyFor)
proxyFor
- The inner non-proxied class.public Class<?> getProxiedClass()
public ClassInfo getParent()
public List<ClassInfo> getDeclaredInterfaces()
Does not include interfaces declared on parent classes.
Class.getInterfaces()
.public List<ClassInfo> getInterfaces()
public Iterable<ClassInfo> getInterfacesParentFirst()
public List<ClassInfo> getParents()
Does not include interfaces.
public Iterable<ClassInfo> getParentsParentFirst()
Does not include interfaces.
public List<ClassInfo> getAllParents()
public Iterable<ClassInfo> getAllParentsParentFirst()
public List<MethodInfo> getPublicMethods()
Methods defined on the Object
class are excluded from the results.
public MethodInfo getPublicMethod(String name, Class<?>... args)
name
- The method name (e.g. args
- The exact argument types.public MethodInfo getMethod(String name, Class<?>... args)
name
- The method name (e.g. args
- The exact argument types.public List<MethodInfo> getDeclaredMethods()
public List<MethodInfo> getAllMethods()
public List<MethodInfo> getAllMethodsParentFirst()
public MethodInfo getStaticCreateMethod(Class<?> ic, String... additionalNames)
Looks for the following method names:
ic
- The argument type.additionalNames
- Additional method names to check for.public MethodInfo getStaticPublicMethod(String name, Class<?> rt, Class<?>... args)
name
- The method name.rt
- The method return type.args
- The method argumentspublic Method getStaticPublicMethodInner(String name, Class<?> rt, Class<?>... args)
name
- The method name.rt
- The method return type.args
- The method argumentspublic MethodInfo getBuilderCreateMethod()
public MethodInfo getBuilderBuildMethod()
public List<ConstructorInfo> getPublicConstructors()
public ConstructorInfo getPublicConstructor(Class<?>... args)
args
- The exact argument types.public ConstructorInfo getDeclaredConstructor(Class<?>... args)
args
- The exact argument types.public ConstructorInfo getAvailablePublicConstructor(Class<?>... args)
getPublicConstructor(Class...)
but allows for inexact arg type matching.
For example, the method getAvailablePublicConstructor(String.
args
- The exact argument types.public List<ConstructorInfo> getDeclaredConstructors()
public ConstructorInfo getPublicConstructor(Object... args)
args
- The arguments we want to pass into the constructor.public ConstructorInfo getPublicConstructorFuzzy(Object... args)
args
- The arguments we want to pass into the constructor.public ConstructorInfo getConstructor(Visibility vis, Class<?>... argTypes)
vis
- The minimum visibility.argTypes
- The argument types in the constructor.
Can be subtypes of the actual constructor argument types.public ConstructorInfo getNoArgConstructor(Visibility v)
Constructor must match the visibility requirements specified by parameter 'v'.
If class is abstract, always returns
v
- The minimum visibility.public List<FieldInfo> getPublicFields()
Hidden fields are excluded from the results.
public List<FieldInfo> getDeclaredFields()
public List<FieldInfo> getAllFields()
public List<FieldInfo> getAllFieldsParentFirst()
public FieldInfo getPublicField(String name)
name
- The field name.public FieldInfo getDeclaredField(String name)
name
- The field name.public FieldInfo getStaticPublicField(String name)
name
- The field name.public Field getStaticPublicFieldInner(String name)
name
- The field name.public <T extends Annotation> T getAnnotation(Class<T> a)
If the annotation cannot be found on the immediate class, searches methods with the same
signature on the parent classes or interfaces.
The search is performed in child-to-parent order.
a
- The annotation to search for.public <T extends Annotation> T getAnnotation(Class<T> a, MetaProvider mp)
If the annotation cannot be found on the immediate class, searches methods with the same
signature on the parent classes or interfaces.
The search is performed in child-to-parent order.
a
- The annotation to search for.mp
- The meta provider for looking up annotations on reflection objects (classes, methods, fields, constructors).public boolean hasAnnotation(Class<? extends Annotation> a)
a
- The annotation to search for.public <T extends Annotation> T getDeclaredAnnotation(Class<T> a)
More efficient than calling Class.getAnnotation(Class)
since it doesn't recursively look for the class
up the parent chain.
T
- The annotation class type.a
- The annotation class.public <T extends Annotation> T getDeclaredAnnotation(Class<T> a, MetaProvider mp)
More efficient than calling Class.getAnnotation(Class)
since it doesn't recursively look for the class
up the parent chain.
T
- The annotation class type.a
- The annotation class.mp
- The meta provider for looking up annotations on reflection objects (classes, methods, fields, constructors).public <T extends Annotation> T getPackageAnnotation(Class<T> a)
T
- The annotation class type.a
- The annotation class.public <T extends Annotation> AnnotationInfo<T> getDeclaredAnnotationInfo(Class<T> a)
getDeclaredAnnotation(Class)
but returns the annotation wrapped in a AnnotationInfo
.a
- The annotation to search for.public <T extends Annotation> AnnotationInfo<T> getPackageAnnotationInfo(Class<T> a)
getPackageAnnotation(Class)
but returns the annotation wrapped in a AnnotationInfo
.a
- The annotation to search for.public <T extends Annotation> List<T> getAnnotations(Class<T> a)
a
- The annotation to search for.public <T extends Annotation> List<T> getAnnotations(Class<T> a, MetaProvider mp)
T
- The annotation to search for.a
- The annotation to search for.mp
- The meta provider for looking up annotations on reflection objects (classes, methods, fields, constructors).public <T extends Annotation> List<T> getAnnotationsParentFirst(Class<T> a)
getAnnotations(Class)
but optionally returns the list in reverse (parent-to-child) order.a
- The annotation to search for.public <T extends Annotation> List<T> getAnnotationsParentFirst(Class<T> a, MetaProvider mp)
getAnnotations(Class,MetaProvider)
but optionally returns the list in reverse (parent-to-child) order.a
- The annotation to search for.mp
- The meta provider for looking up annotations on reflection objects (classes, methods, fields, constructors).public <T extends Annotation> List<AnnotationInfo<T>> getAnnotationInfos(Class<T> a)
Results are ordered child-to-parent.
T
- The annotation class type.a
- The annotation class type.public <T extends Annotation> List<AnnotationInfo<T>> getAnnotationInfosParentFirst(Class<T> a)
Results are ordered parent-to-child.
T
- The annotation class type.a
- The annotation class type.public AnnotationList getAnnotationList(Predicate<AnnotationInfo<?>> filter)
AnnotationList
of all annotations found on this class.
Annotations are appended in the following orders:
filter
- Optional filter to apply to limit which annotations are added to the list.
AnnotationList
object on every call.public AnnotationList getAnnotationListParentFirst(Predicate<AnnotationInfo<?>> filter)
AnnotationList
of all annotations found on this class.
Annotations are appended in the following orders:
filter
- Optional filter to apply to limit which annotations are added to the list.
AnnotationList
object on every call.public <T extends Annotation> List<T> appendAnnotations(List<T> l, Class<T> a)
Annotations are appended in the following orders:
l
- The list of annotations.a
- The annotation to search for.public <T extends Annotation> List<T> appendAnnotations(List<T> l, Class<T> a, MetaProvider mp)
Annotations are appended in the following orders:
T
- The annotation to search for.l
- The list of annotations.a
- The annotation to search for.mp
- The meta provider for looking up annotations on reflection objects (classes, methods, fields, constructors).public <T extends Annotation> List<T> appendAnnotationsParentFirst(List<T> l, Class<T> a)
Annotations are appended in the following orders:
l
- The list of annotations.a
- The annotation to search for.public <T extends Annotation> List<T> appendAnnotationsParentFirst(List<T> l, Class<T> a, MetaProvider mp)
Annotations are appended in the following orders:
l
- The list of annotations.a
- The annotation to search for.mp
- The meta provider for looking up annotations on reflection objects (classes, methods, fields, constructors).public <T extends Annotation> List<AnnotationInfo<T>> appendAnnotationInfos(List<AnnotationInfo<T>> l, Class<T> a)
Annotations are appended in the following orders:
l
- The list of annotations.a
- The annotation to search for.public <T extends Annotation> List<AnnotationInfo<T>> appendAnnotationInfosParentFirst(List<AnnotationInfo<T>> l, Class<T> a)
Annotations are appended in the following orders:
l
- The list of annotations.a
- The annotation to search for.public boolean isAll(ReflectFlags... flags)
flags
- The flags to test for.public boolean isAny(ReflectFlags... flags)
flags
- The flags to test for.public boolean isDeprecated()
@Deprecated
annotation on it.@Deprecated
annotation on it.public boolean isNotDeprecated()
@Deprecated
annotation on it.@Deprecated
annotation on it.public boolean isPublic()
public boolean isNotPublic()
public boolean isStatic()
Note that interfaces are always reported as static, and the static keyword on a member interface is meaningless.
public boolean isNotStatic()
Note that interfaces are always reported as static, and the static keyword on a member interface is meaningless.
public boolean isAbstract()
Note that interfaces are always reported as abstract.
public boolean isNotAbstract()
Note that interfaces are always reported as abstract.
public boolean isMemberClass()
public boolean isNotMemberClass()
public boolean isNonStaticMemberClass()
public boolean isNotNonStaticMemberClass()
public boolean isLocalClass()
public boolean isNotLocalClass()
public boolean isVisible(Visibility v)
v
- The visibility to validate against.public boolean isPrimitive()
public boolean isNotPrimitive()
public boolean isInterface()
public boolean isClass()
public boolean isRuntimeException()
RuntimeException
.RuntimeException
.public boolean hasPrimitiveWrapper()
getPrimitiveWrapper()
method returns a value.getPrimitiveWrapper()
method returns a value.public Class<?> getPrimitiveWrapper()
int .class
) returns it's wrapper class
(e.g. Integer.class
).public Class<?> getPrimitiveForWrapper()
Integer .class
) returns it's
primitive class (e.g. int.class
).public Class<?> getWrapperIfPrimitive()
int .class
) returns it's wrapper class
(e.g. Integer.class
).public ClassInfo getWrapperInfoIfPrimitive()
getWrapperIfPrimitive()
but wraps it in a ClassInfo
.public Object getPrimitiveDefault()
public String getFullName()
public String[] getNames()
getFullName()
Class.getName()
- Note that this might be a dup.
getShortName()
getSimpleName()
public StringBuilder appendFullName(StringBuilder sb)
getFullName()
but appends to an existing string builder.sb
- The string builder to append to.public String getShortName()
Similar to getSimpleName()
but also renders local or member class name prefixes.
public StringBuilder appendShortName(StringBuilder sb)
getShortName()
but appends to an existing string builder.sb
- The string builder to append to.public String getSimpleName()
Returns either Class.getSimpleName()
or Type.getTypeName()
depending on whether
this is a class or type.
public String getName()
public String getReadableName()
public boolean isParentOf(Class<?> child)
child
- The child class.public boolean isParentOf(Type child)
child
- The child class.public boolean isStrictChildOf(Class<?> parent)
parent
- The parent class.public boolean isChildOf(Class<?> parent)
parent
- The parent class.public boolean isChildOfAny(Class<?>... parents)
parents
- The parents class.public boolean isChildOf(Type parent)
parent
- The parent class.public boolean isChildOf(ClassInfo parent)
parent
- The parent class.public boolean is(Class<?> c)
c
- The class to check equality with.public boolean is(ClassInfo c)
c
- The class to check equality with.public boolean isAny(Class<?>... types)
types
- The types to check against.public Package getPackage()
public boolean hasPackage()
public int getDimensions()
public ClassInfo getComponentType()
public boolean isEnum()
public Object newInstance() throws ExecutableException
Class.newInstance()
on the underlying class.ExecutableException
- Exception occurred on invoked constructor/method/field.public Class<?> getParameterType(int index, Class<?> pt)
index
- The zero-based index of the parameter to resolve.pt
- The parameterized type class containing the parameterized type to resolve (e.g. Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.