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 com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration
ResolvedTypeParameterDeclaration.Bound
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ResolvedTypeParametrizable
private TypeSolver
private 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.boolean
The 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.int
hashCode()
object()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.github.javaparser.resolution.declarations.AssociableToAST
toAst, toAst
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, asTypePattern, hasName, isEnumConstant, isField, isMethod, isParameter, isTypePattern, isVariable
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration
asAnnotation, asClass, asEnum, asInterface, asRecord, asReferenceType, asType, getId, getInternalType, hasInternalType, internalTypes, isAnnotation, isAnonymousClass, isClass, isEnum, isInterface, isRecord, isReferenceType, isType
Methods inherited from interface com.github.javaparser.resolution.declarations.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
public int hashCode() -
toString
-
getName
Description copied from interface:ResolvedTypeParameterDeclaration
Name of the type parameter.- Specified by:
getName
in interfaceResolvedDeclaration
- Specified by:
getName
in interfaceResolvedTypeParameterDeclaration
-
getContainerQualifiedName
Description copied from interface:ResolvedTypeParameterDeclaration
The qualified name of the container.- Specified by:
getContainerQualifiedName
in interfaceResolvedTypeParameterDeclaration
-
getContainerId
Description copied from interface:ResolvedTypeParameterDeclaration
The ID of the container. See TypeContainer.getId- Specified by:
getContainerId
in interfaceResolvedTypeParameterDeclaration
-
getContainer
Description copied from interface:ResolvedTypeParameterDeclaration
The TypeParametrizable of the container. Can be either a ReferenceTypeDeclaration or a MethodLikeDeclaration- Specified by:
getContainer
in interfaceResolvedTypeParameterDeclaration
-
getBounds
Description copied from interface:ResolvedTypeParameterDeclaration
The bounds specified for the type parameter. For example: "extends A" or "super B"- Specified by:
getBounds
in interfaceResolvedTypeParameterDeclaration
-
containerType
Description copied from interface:ResolvedTypeDeclaration
Get the ReferenceTypeDeclaration enclosing this declaration.- Specified by:
containerType
in interfaceResolvedTypeDeclaration
-
object
- Specified by:
object
in interfaceResolvedTypeParameterDeclaration
-