Class MicronautMergedAnnotations

  • All Implemented Interfaces:
    java.lang.Iterable<org.springframework.core.annotation.MergedAnnotation<java.lang.annotation.Annotation>>, org.springframework.core.annotation.MergedAnnotations

    @Internal
    public class MicronautMergedAnnotations
    extends java.lang.Object
    implements org.springframework.core.annotation.MergedAnnotations
    Implements the MergedAnnotations interface.
    Since:
    4.3.0
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.springframework.core.annotation.MergedAnnotations

        org.springframework.core.annotation.MergedAnnotations.SearchStrategy
    • Constructor Summary

      Constructors 
      Constructor Description
      MicronautMergedAnnotations​(io.micronaut.core.annotation.AnnotationMetadata annotationMetadata)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <A extends java.lang.annotation.Annotation>
      org.springframework.core.annotation.MergedAnnotation<A>
      get​(java.lang.Class<A> annotationType)  
      <A extends java.lang.annotation.Annotation>
      org.springframework.core.annotation.MergedAnnotation<A>
      get​(java.lang.Class<A> annotationType, java.util.function.Predicate<? super org.springframework.core.annotation.MergedAnnotation<A>> predicate)  
      <A extends java.lang.annotation.Annotation>
      org.springframework.core.annotation.MergedAnnotation<A>
      get​(java.lang.Class<A> annotationType, java.util.function.Predicate<? super org.springframework.core.annotation.MergedAnnotation<A>> predicate, org.springframework.core.annotation.MergedAnnotationSelector<A> selector)  
      <A extends java.lang.annotation.Annotation>
      org.springframework.core.annotation.MergedAnnotation<A>
      get​(java.lang.String annotationType)  
      <A extends java.lang.annotation.Annotation>
      org.springframework.core.annotation.MergedAnnotation<A>
      get​(java.lang.String annotationType, java.util.function.Predicate<? super org.springframework.core.annotation.MergedAnnotation<A>> predicate)  
      <A extends java.lang.annotation.Annotation>
      org.springframework.core.annotation.MergedAnnotation<A>
      get​(java.lang.String annotationType, java.util.function.Predicate<? super org.springframework.core.annotation.MergedAnnotation<A>> predicate, org.springframework.core.annotation.MergedAnnotationSelector<A> selector)  
      <A extends java.lang.annotation.Annotation>
      boolean
      isDirectlyPresent​(java.lang.Class<A> annotationType)  
      boolean isDirectlyPresent​(java.lang.String annotationType)  
      <A extends java.lang.annotation.Annotation>
      boolean
      isPresent​(java.lang.Class<A> annotationType)  
      boolean isPresent​(java.lang.String annotationType)  
      java.util.Iterator<org.springframework.core.annotation.MergedAnnotation<java.lang.annotation.Annotation>> iterator()  
      java.util.stream.Stream<org.springframework.core.annotation.MergedAnnotation<java.lang.annotation.Annotation>> stream()  
      <A extends java.lang.annotation.Annotation>
      java.util.stream.Stream<org.springframework.core.annotation.MergedAnnotation<A>>
      stream​(java.lang.Class<A> annotationType)  
      <A extends java.lang.annotation.Annotation>
      java.util.stream.Stream<org.springframework.core.annotation.MergedAnnotation<A>>
      stream​(java.lang.String annotationType)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • MicronautMergedAnnotations

        public MicronautMergedAnnotations​(io.micronaut.core.annotation.AnnotationMetadata annotationMetadata)
    • Method Detail

      • isPresent

        public <A extends java.lang.annotation.Annotation> boolean isPresent​(java.lang.Class<A> annotationType)
        Specified by:
        isPresent in interface org.springframework.core.annotation.MergedAnnotations
      • isPresent

        public boolean isPresent​(java.lang.String annotationType)
        Specified by:
        isPresent in interface org.springframework.core.annotation.MergedAnnotations
      • isDirectlyPresent

        public <A extends java.lang.annotation.Annotation> boolean isDirectlyPresent​(java.lang.Class<A> annotationType)
        Specified by:
        isDirectlyPresent in interface org.springframework.core.annotation.MergedAnnotations
      • isDirectlyPresent

        public boolean isDirectlyPresent​(java.lang.String annotationType)
        Specified by:
        isDirectlyPresent in interface org.springframework.core.annotation.MergedAnnotations
      • get

        public <A extends java.lang.annotation.Annotation> org.springframework.core.annotation.MergedAnnotation<A> get​(java.lang.Class<A> annotationType)
        Specified by:
        get in interface org.springframework.core.annotation.MergedAnnotations
      • get

        public <A extends java.lang.annotation.Annotation> org.springframework.core.annotation.MergedAnnotation<A> get​(java.lang.Class<A> annotationType,
                                                                                                                       java.util.function.Predicate<? super org.springframework.core.annotation.MergedAnnotation<A>> predicate)
        Specified by:
        get in interface org.springframework.core.annotation.MergedAnnotations
      • get

        public <A extends java.lang.annotation.Annotation> org.springframework.core.annotation.MergedAnnotation<A> get​(java.lang.Class<A> annotationType,
                                                                                                                       java.util.function.Predicate<? super org.springframework.core.annotation.MergedAnnotation<A>> predicate,
                                                                                                                       org.springframework.core.annotation.MergedAnnotationSelector<A> selector)
        Specified by:
        get in interface org.springframework.core.annotation.MergedAnnotations
      • get

        public <A extends java.lang.annotation.Annotation> org.springframework.core.annotation.MergedAnnotation<A> get​(java.lang.String annotationType)
        Specified by:
        get in interface org.springframework.core.annotation.MergedAnnotations
      • get

        public <A extends java.lang.annotation.Annotation> org.springframework.core.annotation.MergedAnnotation<A> get​(java.lang.String annotationType,
                                                                                                                       java.util.function.Predicate<? super org.springframework.core.annotation.MergedAnnotation<A>> predicate)
        Specified by:
        get in interface org.springframework.core.annotation.MergedAnnotations
      • get

        public <A extends java.lang.annotation.Annotation> org.springframework.core.annotation.MergedAnnotation<A> get​(java.lang.String annotationType,
                                                                                                                       java.util.function.Predicate<? super org.springframework.core.annotation.MergedAnnotation<A>> predicate,
                                                                                                                       org.springframework.core.annotation.MergedAnnotationSelector<A> selector)
        Specified by:
        get in interface org.springframework.core.annotation.MergedAnnotations
      • stream

        public <A extends java.lang.annotation.Annotation> java.util.stream.Stream<org.springframework.core.annotation.MergedAnnotation<A>> stream​(java.lang.Class<A> annotationType)
        Specified by:
        stream in interface org.springframework.core.annotation.MergedAnnotations
      • stream

        public <A extends java.lang.annotation.Annotation> java.util.stream.Stream<org.springframework.core.annotation.MergedAnnotation<A>> stream​(java.lang.String annotationType)
        Specified by:
        stream in interface org.springframework.core.annotation.MergedAnnotations
      • stream

        public java.util.stream.Stream<org.springframework.core.annotation.MergedAnnotation<java.lang.annotation.Annotation>> stream()
        Specified by:
        stream in interface org.springframework.core.annotation.MergedAnnotations
      • iterator

        public java.util.Iterator<org.springframework.core.annotation.MergedAnnotation<java.lang.annotation.Annotation>> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<org.springframework.core.annotation.MergedAnnotation<java.lang.annotation.Annotation>>