Lines Matching defs:annotation
18 package java.lang.annotation;
22 * itself is <i>not</i> an annotation, and neither is an interface that simply
23 * extends this one. Only the compiler is able to create proper annotation
31 * Returns the type of this annotation.
33 * @return A {@code Class} instance representing the annotation type.
38 * Determines whether or not this annotation is equivalent to the annotation
44 * they are members of the same annotation type and all the member
75 * @return {@code true} if {@code obj} is equal to this annotation,
81 * Returns the hash code of this annotation. The hash code is determined
86 * The hash code of an annotation is the sum of the hash codes of
87 * its annotation members.
90 * The hash code of an annotation member is calculated as {@code
116 * Returns a {@code String} representation of this annotation. It is not
118 * consists of the name of the annotation, preceded by a "@". If the
119 * annotation contains field members, their names and values are also
122 * @return the {@code String} that represents this annotation.