Class JavassistTypeParameter

  • All Implemented Interfaces:
    com.github.javaparser.resolution.declarations.ResolvedDeclaration, com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration, com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration

    public class JavassistTypeParameter
    extends Object
    implements com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration
    Author:
    Federico Tomassetti
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration

        com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration.Bound
    • Constructor Summary

      Constructors 
      Constructor Description
      JavassistTypeParameter​(javassist.bytecode.SignatureAttribute.TypeParameter wrapped, com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable container, com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Optional<com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration> containerType()  
      boolean equals​(Object o)  
      List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration.Bound> getBounds()  
      com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable getContainer()  
      String getContainerId()  
      String getContainerQualifiedName()  
      String getName()  
      String toString()  
      • Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration

        asEnumConstant, asField, asMethod, asParameter, hasName, isEnumConstant, isField, isMethod, isParameter, isVariable
      • Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration

        asClass, asEnum, asInterface, asReferenceType, asType, asTypeParameter, getId, getInternalType, hasInternalType, internalTypes, isAnonymousClass, isClass, isEnum, isInterface, isType, isTypeParameter
      • Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration

        declaredOnConstructor, declaredOnMethod, declaredOnType, getClassName, getLowerBound, getPackageName, getQualifiedName, getUpperBound, hasLowerBound, hasUpperBound
    • Constructor Detail

      • JavassistTypeParameter

        public JavassistTypeParameter​(javassist.bytecode.SignatureAttribute.TypeParameter wrapped,
                                      com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable container,
                                      com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
        Specified by:
        getName in interface com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration
      • getContainerQualifiedName

        public String getContainerQualifiedName()
        Specified by:
        getContainerQualifiedName in interface com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration
      • getContainerId

        public String getContainerId()
        Specified by:
        getContainerId in interface com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration
      • getContainer

        public com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable getContainer()
        Specified by:
        getContainer in interface com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration
      • getBounds

        public List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration.Bound> getBounds()
        Specified by:
        getBounds in interface com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration
      • containerType

        public Optional<com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration> containerType()
        Specified by:
        containerType in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration