Interface HasAnnotations

    • Method Detail

      • add

        void add​(Annotation annotation)
        Adds the annoation.
      • addAnnotations

        boolean addAnnotations​(java.util.Map<java.lang.String,​Annotation> source,
                               boolean clearSource)
        Adds all the annotations to this container. If clearSource is true, the source arg is cleared.
      • getAnnotationMap

        java.util.Map<java.lang.String,​Annotation> getAnnotationMap()
        Gets the annotation map.
      • getAnnotations

        java.util.Collection<Annotation> getAnnotations()
        Gets the annotations.
      • getAnnotation

        Annotation getAnnotation​(java.lang.String name)
        Gets the annotation by key/name.