| java.lang.annotation.Annotation |
Known Indirect Subclasses
|
A mirror of java.lang.Annotation.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract Class<? extends Annotation> |
annotationType()
Returns the annotation type of this annotation.
| ||||||||||
| abstract boolean |
equals(Object obj)
Returns true if the specified object represents an annotation that is
logically equivalent to this one.
| ||||||||||
| abstract int |
hashCode()
Returns the hash code of this annotation, as defined below:
| ||||||||||
| abstract String |
toString()
Returns a string representation of this annotation.
| ||||||||||
Returns the annotation type of this annotation.
Returns true if the specified object represents an annotation that is logically equivalent to this one.
| obj | the reference object with which to compare. |
|---|
true if this object is the same as the obj argument;
false otherwise.Returns the hash code of this annotation, as defined below:
Returns a string representation of this annotation.