Interface Annotations

All Known Implementing Classes:
AnnotationMap

public interface Annotations
Interface that defines interface for collection of annotations.

Standard mutable implementation is AnnotationMap

Since:
1.7
  • Method Summary

    Modifier and Type
    Method
    Description
    <A extends Annotation>
    A
    get(Class<A> cls)
    Main access method used to find value for given annotation.
    int
    Returns number of annotation entries in this collection.
  • Method Details

    • get

      <A extends Annotation> A get(Class<A> cls)
      Main access method used to find value for given annotation.
    • size

      int size()
      Returns number of annotation entries in this collection.