Class AnnotatedTypeParameterBounds

java.lang.Object
org.checkerframework.framework.type.AnnotatedTypeParameterBounds

public class AnnotatedTypeParameterBounds extends Object
Represents upper and lower bounds, each an AnnotatedTypeMirror.
  • Constructor Details

  • Method Details

    • getUpperBound

      public AnnotatedTypeMirror getUpperBound()
    • getLowerBound

      public AnnotatedTypeMirror getLowerBound()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toString

      public String toString(boolean verbose)
      Return a possibly-verbose string representation of this.
      Parameters:
      verbose - if true, returned representation is verbose
      Returns:
      a possibly-verbose string representation of this
    • hashCode

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

      public boolean equals(@Nullable Object obj)
      Overrides:
      equals in class Object