Interface Annotations

    • 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.
      boolean has​(java.lang.Class<?> cls)  
      boolean hasOneOf​(java.lang.Class<? extends java.lang.annotation.Annotation>[] annoClasses)  
      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.
      • has

        boolean has​(java.lang.Class<?> cls)
        Since:
        2.9
      • hasOneOf

        boolean hasOneOf​(java.lang.Class<? extends java.lang.annotation.Annotation>[] annoClasses)
        Since:
        2.9
      • size

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