public final class ParameterizedClass extends ClassType implements TypeSubstitutions.TypeParamMapper
ClassType.DeclTypefieldsLookup, methodsLookup| Constructor and Description |
|---|
ParameterizedClass(@Nullable ParameterizedClass outer,
ClassType unboundClass,
java.util.List<ReferenceType> arguments) |
| Modifier and Type | Method and Description |
|---|---|
ClassType |
asRaw() |
ParameterizedClass |
capture() |
boolean |
equals(java.lang.Object obj) |
EnumBitSet<AccessFlag> |
getAccessFlags() |
ClassType |
getDeclaration() |
ClassType.DeclType |
getDeclType() |
org.objectweb.asm.Type |
getDescriptor() |
java.util.Optional<ClassType> |
getEnclosingClass() |
java.util.Optional<Method> |
getEnclosingMethod() |
java.util.List<Field> |
getFields() |
java.lang.String |
getFullName() |
java.util.List<ClassType> |
getInterfaces() |
java.util.List<Method> |
getMethods() |
java.lang.String |
getName() |
java.util.List<ClassType> |
getNestedClasses() |
@Nullable ParameterizedClass |
getOuter() |
java.lang.String |
getPackage() |
ClassType |
getSuperClass() |
java.util.List<ReferenceType> |
getTypeArguments() |
java.util.List<TypeParameter> |
getTypeParameters() |
int |
hashCode() |
boolean |
isFullyParameterized() |
ReferenceType |
mapParam(TypeParameter param)
Map the given
TypeParameter to a ReferenceType. |
boolean |
mentions(ReferenceType type) |
findConstant, getAnnotationSupplier, getAnnotationTargets, getClassVersion, getDirectSuperTypes, getFunctionalInterfaceMethod, getPermittedSubclasses, getSuperType, getTypeResolver, isEnum, isFinal, isInterface, isStatic, isSynthetic, resolveField, resolveMethod, resolveTypeParameter, toStringgetAllMethods, getLowerBound, getUpperBoundclone, finalize, getClass, notify, notifyAll, wait, wait, waitmapTypesubstFunchasTypeParameterspublic ParameterizedClass(@Nullable
@Nullable ParameterizedClass outer,
ClassType unboundClass,
java.util.List<ReferenceType> arguments)
public ReferenceType mapParam(TypeParameter param)
TypeSubstitutions.TypeParamMappermapParam in interface TypeSubstitutions.TypeParamMapperparam - The parameter to map.public ParameterizedClass capture()
public java.util.List<ReferenceType> getTypeArguments()
public ClassType getSuperClass()
getSuperClass in class ClassTypepublic java.util.List<ClassType> getInterfaces()
getInterfaces in class ClassTypepublic java.util.List<ClassType> getNestedClasses()
getNestedClasses in class ClassTypepublic java.util.List<Method> getMethods()
getMethods in class ClassTypepublic ClassType.DeclType getDeclType()
getDeclType in class ClassTypepublic java.lang.String getPackage()
getPackage in class ClassTypepublic EnumBitSet<AccessFlag> getAccessFlags()
getAccessFlags in class ClassTypepublic java.util.Optional<ClassType> getEnclosingClass()
getEnclosingClass in class ClassTypepublic java.util.Optional<Method> getEnclosingMethod()
getEnclosingMethod in class ClassTypepublic org.objectweb.asm.Type getDescriptor()
getDescriptor in class ClassTypepublic ClassType getDeclaration()
getDeclaration in class ClassType@Nullable public @Nullable ParameterizedClass getOuter()
public java.util.List<TypeParameter> getTypeParameters()
getTypeParameters in interface ITypeParameterizedMemberpublic boolean isFullyParameterized()
public boolean mentions(ReferenceType type)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getFullName()
getFullName in class AType