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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <A extends java.lang.annotation.Annotation>
      A
      get​(java.lang.Class<A> cls)
      Main access method used to find value for given annotation.
      int size()
      Returns number of annotation entries in this collection.
    • Method Detail

      • get

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

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