--- old/src/java.compiler/share/classes/javax/lang/model/element/AnnotationValue.java 2019-06-05 17:17:42.021033273 -0700 +++ new/src/java.compiler/share/classes/javax/lang/model/element/AnnotationValue.java 2019-06-05 17:17:41.665033273 -0700 @@ -61,6 +61,25 @@ String toString(); /** + * Returns {@code true} if the other object is also an {@code + * AnnotationValue} and its {@linkplain getValue + * value} is equal to this {@code AnnotationValue}'s value. + * + * @return {@code true} if the argument is an equal {@code + * AnnotationValue}; {@code false} otherwise. + */ + @Override + boolean equals(Object o); + + /** + * Returns the hash code of this {@code + * AnnotationValues}'s {@linkplain getValue value}. + * @reurn the hashCode of the {@code AnnotationValues}'s value + */ + @Override + int hashCode(); + + /** * Applies a visitor to this value. * * @param the return type of the visitor's methods