Class MicronautMergedAnnotations
- java.lang.Object
-
- io.micronaut.spring.core.annotation.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.MergedAnnotationsImplements theMergedAnnotationsinterface.- Since:
- 4.3.0
-
-
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>
booleanisDirectlyPresent(java.lang.Class<A> annotationType)booleanisDirectlyPresent(java.lang.String annotationType)<A extends java.lang.annotation.Annotation>
booleanisPresent(java.lang.Class<A> annotationType)booleanisPresent(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)
-
-
-
Method Detail
-
isPresent
public <A extends java.lang.annotation.Annotation> boolean isPresent(java.lang.Class<A> annotationType)
- Specified by:
isPresentin interfaceorg.springframework.core.annotation.MergedAnnotations
-
isPresent
public boolean isPresent(java.lang.String annotationType)
- Specified by:
isPresentin interfaceorg.springframework.core.annotation.MergedAnnotations
-
isDirectlyPresent
public <A extends java.lang.annotation.Annotation> boolean isDirectlyPresent(java.lang.Class<A> annotationType)
- Specified by:
isDirectlyPresentin interfaceorg.springframework.core.annotation.MergedAnnotations
-
isDirectlyPresent
public boolean isDirectlyPresent(java.lang.String annotationType)
- Specified by:
isDirectlyPresentin interfaceorg.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:
getin interfaceorg.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:
getin interfaceorg.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:
getin interfaceorg.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:
getin interfaceorg.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:
getin interfaceorg.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:
getin interfaceorg.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:
streamin interfaceorg.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:
streamin interfaceorg.springframework.core.annotation.MergedAnnotations
-
stream
public java.util.stream.Stream<org.springframework.core.annotation.MergedAnnotation<java.lang.annotation.Annotation>> stream()
- Specified by:
streamin interfaceorg.springframework.core.annotation.MergedAnnotations
-
iterator
public java.util.Iterator<org.springframework.core.annotation.MergedAnnotation<java.lang.annotation.Annotation>> iterator()
- Specified by:
iteratorin interfacejava.lang.Iterable<org.springframework.core.annotation.MergedAnnotation<java.lang.annotation.Annotation>>
-
-