Class ParameterizedClass
java.lang.Object
net.covers1624.coffeegrinder.type.AType
net.covers1624.coffeegrinder.type.ReferenceType
net.covers1624.coffeegrinder.type.ClassType
net.covers1624.coffeegrinder.type.ParameterizedClass
- All Implemented Interfaces:
ITypeParameterizedMember,TypeSubstitutions.TypeMapper,TypeSubstitutions.TypeParamMapper
public final class ParameterizedClass
extends ClassType
implements TypeSubstitutions.TypeParamMapper
Created by covers1624 on 22/12/21.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.covers1624.coffeegrinder.type.ClassType
ClassType.DeclType -
Field Summary
Fields inherited from class net.covers1624.coffeegrinder.type.ClassType
fieldsLookup, methodsLookup -
Constructor Summary
ConstructorsConstructorDescriptionParameterizedClass(@Nullable ParameterizedClass outer, ClassType unboundClass, List<ReferenceType> arguments) -
Method Summary
Modifier and TypeMethodDescriptionasRaw()capture()booleanorg.objectweb.asm.TypegetName()@Nullable ParameterizedClassgetOuter()inthashCode()booleanmapParam(TypeParameter param) Map the givenTypeParameterto aReferenceType.booleanmentions(ReferenceType type) Methods inherited from class net.covers1624.coffeegrinder.type.ClassType
findConstant, getAnnotationSupplier, getAnnotationTargets, getClassVersion, getDirectSuperTypes, getFunctionalInterfaceMethod, getPermittedSubclasses, getSuperType, getTypeResolver, isEnum, isFinal, isInterface, isStatic, isSynthetic, resolveField, resolveMethod, resolveTypeParameter, toStringMethods inherited from class net.covers1624.coffeegrinder.type.ReferenceType
getAllMethods, getLowerBound, getUpperBoundMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.covers1624.coffeegrinder.type.ITypeParameterizedMember
hasTypeParametersMethods inherited from interface net.covers1624.coffeegrinder.type.TypeSubstitutions.TypeMapper
substFuncMethods inherited from interface net.covers1624.coffeegrinder.type.TypeSubstitutions.TypeParamMapper
mapType
-
Constructor Details
-
ParameterizedClass
public ParameterizedClass(@Nullable @Nullable ParameterizedClass outer, ClassType unboundClass, List<ReferenceType> arguments)
-
-
Method Details
-
mapParam
Description copied from interface:TypeSubstitutions.TypeParamMapper- Specified by:
mapParamin interfaceTypeSubstitutions.TypeParamMapper- Parameters:
param- The parameter to map.- Returns:
- The result.
-
capture
-
getTypeArguments
-
getSuperClass
- Specified by:
getSuperClassin classClassType
-
getInterfaces
- Specified by:
getInterfacesin classClassType
-
getNestedClasses
- Specified by:
getNestedClassesin classClassType
-
getFields
-
getMethods
- Specified by:
getMethodsin classClassType
-
getDeclType
- Specified by:
getDeclTypein classClassType
-
getPackage
- Specified by:
getPackagein classClassType
-
getAccessFlags
- Specified by:
getAccessFlagsin classClassType
-
getEnclosingClass
- Specified by:
getEnclosingClassin classClassType
-
getEnclosingMethod
- Specified by:
getEnclosingMethodin classClassType
-
getDescriptor
public org.objectweb.asm.Type getDescriptor()- Specified by:
getDescriptorin classClassType
-
getName
-
asRaw
-
getDeclaration
- Specified by:
getDeclarationin classClassType
-
getOuter
-
getTypeParameters
- Specified by:
getTypeParametersin interfaceITypeParameterizedMember
-
isFullyParameterized
public boolean isFullyParameterized() -
mentions
-
equals
-
hashCode
public int hashCode() -
getFullName
- Overrides:
getFullNamein classAType
-