Class JavassistTypeParameter
- java.lang.Object
-
- com.github.javaparser.symbolsolver.javassistmodel.JavassistTypeParameter
-
- All Implemented Interfaces:
AssociableToAST,ResolvedDeclaration,ResolvedTypeDeclaration,ResolvedTypeParameterDeclaration
public class JavassistTypeParameter extends Object implements ResolvedTypeParameterDeclaration
- Author:
- Federico Tomassetti
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration
ResolvedTypeParameterDeclaration.Bound
-
-
Constructor Summary
Constructors Constructor Description JavassistTypeParameter(javassist.bytecode.SignatureAttribute.TypeParameter wrapped, ResolvedTypeParametrizable container, TypeSolver typeSolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<ResolvedReferenceTypeDeclaration>containerType()booleanequals(Object o)List<ResolvedTypeParameterDeclaration.Bound>getBounds()ResolvedTypeParametrizablegetContainer()StringgetContainerId()StringgetContainerQualifiedName()StringgetName()inthashCode()ResolvedReferenceTypeobject()StringtoString()-
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
-
-
-
-
Constructor Detail
-
JavassistTypeParameter
public JavassistTypeParameter(javassist.bytecode.SignatureAttribute.TypeParameter wrapped, ResolvedTypeParametrizable container, TypeSolver typeSolver)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceResolvedDeclaration- Specified by:
getNamein interfaceResolvedTypeParameterDeclaration
-
getContainerQualifiedName
public String getContainerQualifiedName()
- Specified by:
getContainerQualifiedNamein interfaceResolvedTypeParameterDeclaration
-
getContainerId
public String getContainerId()
- Specified by:
getContainerIdin interfaceResolvedTypeParameterDeclaration
-
getContainer
public ResolvedTypeParametrizable getContainer()
- Specified by:
getContainerin interfaceResolvedTypeParameterDeclaration
-
getBounds
public List<ResolvedTypeParameterDeclaration.Bound> getBounds()
- Specified by:
getBoundsin interfaceResolvedTypeParameterDeclaration
-
containerType
public Optional<ResolvedReferenceTypeDeclaration> containerType()
- Specified by:
containerTypein interfaceResolvedTypeDeclaration
-
object
public ResolvedReferenceType object()
- Specified by:
objectin interfaceResolvedTypeParameterDeclaration
-
-