Class JavassistTypeParameter
java.lang.Object
com.github.javaparser.symbolsolver.javassistmodel.JavassistTypeParameter
- All Implemented Interfaces:
AssociableToAST, ResolvedDeclaration, ResolvedTypeDeclaration, ResolvedTypeParameterDeclaration
-
Nested Class Summary
Nested classes/interfaces inherited from interface ResolvedTypeParameterDeclaration
ResolvedTypeParameterDeclaration.Bound -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ResolvedTypeParametrizableprivate TypeSolverprivate javassist.bytecode.SignatureAttribute.TypeParameter -
Constructor Summary
ConstructorsConstructorDescriptionJavassistTypeParameter(javassist.bytecode.SignatureAttribute.TypeParameter wrapped, ResolvedTypeParametrizable container, TypeSolver typeSolver) -
Method Summary
Modifier and TypeMethodDescriptionGet the ReferenceTypeDeclaration enclosing this declaration.booleanThe bounds specified for the type parameter.The TypeParametrizable of the container.The ID of the container.The qualified name of the container.getName()Name of the type parameter.inthashCode()object()toString()Methods inherited from interface AssociableToAST
toAst, toAstMethods inherited from interface ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, asTypePattern, hasName, isEnumConstant, isField, isMethod, isParameter, isTypePattern, isVariableMethods inherited from interface ResolvedTypeDeclaration
asAnnotation, asClass, asEnum, asInterface, asRecord, asReferenceType, asType, getId, getInternalType, hasInternalType, internalTypes, isAnnotation, isAnonymousClass, isClass, isEnum, isInterface, isRecord, isReferenceType, isTypeMethods inherited from interface ResolvedTypeParameterDeclaration
asTypeParameter, declaredOnConstructor, declaredOnMethod, declaredOnType, getClassName, getLowerBound, getPackageName, getQualifiedName, getUpperBound, hasBound, hasLowerBound, hasUpperBound, isBounded, isTypeParameter, isUnbounded
-
Field Details
-
wrapped
private javassist.bytecode.SignatureAttribute.TypeParameter wrapped -
typeSolver
-
container
-
-
Constructor Details
-
JavassistTypeParameter
public JavassistTypeParameter(javassist.bytecode.SignatureAttribute.TypeParameter wrapped, ResolvedTypeParametrizable container, TypeSolver typeSolver)
-
-
Method Details
-
equals
-
hashCode
-
toString
-
getName
Description copied from interface:ResolvedTypeParameterDeclarationName of the type parameter.- Specified by:
getNamein interfaceResolvedDeclaration- Specified by:
getNamein interfaceResolvedTypeParameterDeclaration
-
getContainerQualifiedName
Description copied from interface:ResolvedTypeParameterDeclarationThe qualified name of the container.- Specified by:
getContainerQualifiedNamein interfaceResolvedTypeParameterDeclaration
-
getContainerId
Description copied from interface:ResolvedTypeParameterDeclarationThe ID of the container. See TypeContainer.getId- Specified by:
getContainerIdin interfaceResolvedTypeParameterDeclaration
-
getContainer
Description copied from interface:ResolvedTypeParameterDeclarationThe TypeParametrizable of the container. Can be either a ReferenceTypeDeclaration or a MethodLikeDeclaration- Specified by:
getContainerin interfaceResolvedTypeParameterDeclaration
-
getBounds
Description copied from interface:ResolvedTypeParameterDeclarationThe bounds specified for the type parameter. For example: "extends A" or "super B"- Specified by:
getBoundsin interfaceResolvedTypeParameterDeclaration
-
containerType
Description copied from interface:ResolvedTypeDeclarationGet the ReferenceTypeDeclaration enclosing this declaration.- Specified by:
containerTypein interfaceResolvedTypeDeclaration
-
object
- Specified by:
objectin interfaceResolvedTypeParameterDeclaration
-