Interface Annotation

All Known Implementing Classes:
Async.Execute, Async.Schedule, Deprecated, Documented, Inherited, Override, Retention, SafeVarargs, SuppressWarnings, Target

public interface Annotation
A mirror of java.lang.Annotation.
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<? extends Annotation>
    Returns the annotation type of this annotation.
    boolean
    Returns true if the specified object represents an annotation that is logically equivalent to this one.
    int
    Returns the hash code of this annotation, as defined below:
    Returns a string representation of this annotation.
  • Method Details

    • annotationType

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

      boolean equals(Object obj)
      Returns true if the specified object represents an annotation that is logically equivalent to this one.
      Overrides:
      equals in class Object
    • hashCode

      int hashCode()
      Returns the hash code of this annotation, as defined below:
      Overrides:
      hashCode in class Object
    • toString

      String toString()
      Returns a string representation of this annotation.
      Overrides:
      toString in class Object