001 package net.sourceforge.retroweaver.runtime.java.lang.annotation; 002 003 /** 004 * A mirror of java.lang.Annotation. 005 * 006 * @author Toby Reyelts 007 */ 008 public interface Annotation { 009 010 /** 011 * Returns the annotation type of this annotation. 012 */ 013 Class<? extends Annotation> annotationType(); 014 015 /** 016 * Returns true if the specified object represents an annotation that is 017 * logically equivalent to this one. 018 */ 019 boolean equals(Object obj); 020 021 /** 022 * Returns the hash code of this annotation, as defined below: 023 */ 024 int hashCode(); 025 026 /** 027 * Returns a string representation of this annotation. 028 */ 029 String toString(); 030 031 }