Class TypeParameter.OfType

java.lang.Object
io.quarkus.gizmo2.TypeParameter
io.quarkus.gizmo2.TypeParameter.OfType
All Implemented Interfaces:
GenericTyped, SimpleTyped, Typed
Enclosing class:
TypeParameter

public static final class TypeParameter.OfType extends TypeParameter
A type parameter on a class or interface.
  • Method Details

    • owner

      public ClassDesc owner()
      Returns the owner of the type variable.
      Returns:
      the owner of the type variable
    • visibleIn

      public boolean visibleIn(ClassDesc desc)
      Description copied from class: TypeParameter
      Returns true if this type variable is visible throughout the given class, or false if it is not.
      Specified by:
      visibleIn in class TypeParameter
      Returns:
      true if this type variable is visible throughout the given class, or false if it is not
    • visibleIn

      public boolean visibleIn(MethodDesc desc)
      Description copied from class: TypeParameter
      Returns true if this type variable is visible throughout the given method, or false if it is not.
      Specified by:
      visibleIn in class TypeParameter
      Returns:
      true if this type variable is visible throughout the given method, or false if it is not
    • visibleIn

      public boolean visibleIn(ConstructorDesc desc)
      Description copied from class: TypeParameter
      Returns true if this type variable is visible throughout the given constructor, or false if it is not.
      Specified by:
      visibleIn in class TypeParameter
      Returns:
      true if this type variable is visible throughout the given constructor, or false if it is not
    • equals

      public boolean equals(TypeParameter other)
      Description copied from class: TypeParameter
      Returns true if this object is equal to the given object, or false if it is not.
      Overrides:
      equals in class TypeParameter
      Returns:
      true if this object is equal to the given object, or false if it is not
    • equals

      public boolean equals(TypeParameter.OfType other)
      Returns true if this object is equal to the given object, or false if it is not.
      Returns:
      true if this object is equal to the given object, or false if it is not
    • hashCode

      public int hashCode()
      Description copied from class: TypeParameter
      Returns the hash code for this type variable.
      Overrides:
      hashCode in class TypeParameter
      Returns:
      the hash code for this type variable