net.sourceforge.retroweaver.runtime.java.lang.annotation
Interface Annotation

All Known Implementing Classes:
AnnotationImpl

public interface Annotation

A mirror of java.lang.Annotation.

Author:
Toby Reyelts

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

Method Detail

annotationType

java.lang.Class<? extends Annotation> annotationType()
Returns the annotation type of this annotation.


equals

boolean equals(java.lang.Object obj)
Returns true if the specified object represents an annotation that is logically equivalent to this one.

Overrides:
equals in class java.lang.Object

hashCode

int hashCode()
Returns the hash code of this annotation, as defined below:

Overrides:
hashCode in class java.lang.Object

toString

java.lang.String toString()
Returns a string representation of this annotation.

Overrides:
toString in class java.lang.Object