Class JavassistTypeParameter

java.lang.Object
com.github.javaparser.symbolsolver.javassistmodel.JavassistTypeParameter
All Implemented Interfaces:
com.github.javaparser.resolution.declarations.AssociableToAST, 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.resolution.TypeSolver typeSolver)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration>
     
    boolean
     
    List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration.Bound>
     
    com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable
     
     
     
     
    int
     
    com.github.javaparser.resolution.types.ResolvedReferenceType
     
     

    Methods inherited from class 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, isArrayLength, 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 Details

    • JavassistTypeParameter

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

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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
    • object

      public com.github.javaparser.resolution.types.ResolvedReferenceType object()
      Specified by:
      object in interface com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration