public interface AnnotationEncodedValue extends EncodedValue, BasicAnnotation
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(EncodedValue o)
Compare this AnnotationEncodedValue to another EncodedValue.
|
boolean |
equals(java.lang.Object o)
Compares this AnnotationEncodedValue to another AnnotationEncodedValue for equality.
|
java.util.Set<? extends AnnotationElement> |
getElements()
Gets a set of the name/value elements associated with this annotation.
|
java.lang.String |
getType()
Gets the type of this annotation.
|
int |
hashCode()
Returns a hashcode for this AnnotationEncodedValue.
|
getValueType@Nonnull java.lang.String getType()
getType in interface BasicAnnotation@Nonnull java.util.Set<? extends AnnotationElement> getElements()
getElements in interface BasicAnnotationint hashCode()
int hashCode = getType().hashCode();
hashCode = hashCode*31 + getElements().hashCode();
hashCode in class java.lang.Objectboolean equals(@Nullable
java.lang.Object o)
equals in class java.lang.Objecto - The object to be compared for equality with this AnnotationEncodedValueint compareTo(@Nonnull
EncodedValue o)
compareTo in interface java.lang.Comparable<EncodedValue>o - The EncodedValue to compare with this AnnotationEncodedValue