public interface Annotation
A mirror of java.lang.Annotation.
Methods
public abstract Class<? extends Annotation> annotationType() | Returns the annotation type of this annotation. |
public abstract boolean equals(Object obj) | Returns true if the specified object represents an annotation that is logically equivalent to this one. |
public abstract int hashCode() | Returns the hash code of this annotation, as defined below: |
public abstract String toString() | Returns a string representation of this annotation. |
Method details
annotationType
public abstract Class<? extends Annotation> annotationType()Returns the annotation type of this annotation.
equals
public abstract boolean equals(Object obj)Returns true if the specified object represents an annotation that is
logically equivalent to this one.
hashCode
public abstract int hashCode()Returns the hash code of this annotation, as defined below:
toString
public abstract String toString()Returns a string representation of this annotation.