Interface JWildcardType

All Superinterfaces:
HasAnnotations, JClassType, JType

public interface JWildcardType extends JClassType
Represents a wildcard type argument to a parameterized type.
  • Method Details

    • getBaseType

      JClassType getBaseType()
    • getBoundType

      JWildcardType.BoundType getBoundType()
    • getFirstBound

      JClassType getFirstBound()
    • getLowerBounds

      JClassType[] getLowerBounds()
      Returns the lower bounds of this wildcard type. If no lower bounds were declared, an empty array is returned.
      Returns:
      the lower bounds of this wildcard type
    • getUpperBound

      JClassType getUpperBound()
    • getUpperBounds

      JClassType[] getUpperBounds()
      Returns the upper bounds of this wildcard type. If no upper bounds were declared, an array containing Object is returned.
      Returns:
      the upper bounds of this wildcard type