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.MergedAnnotations
Implements theMergedAnnotations
interface.- 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)
boolean
isDirectlyPresent(java.lang.String annotationType)
<A extends java.lang.annotation.Annotation>
booleanisPresent(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)
-
-
-
Method Detail
-
isPresent
public <A extends java.lang.annotation.Annotation> boolean isPresent(java.lang.Class<A> annotationType)
- Specified by:
isPresent
in interfaceorg.springframework.core.annotation.MergedAnnotations
-
isPresent
public boolean isPresent(java.lang.String annotationType)
- Specified by:
isPresent
in interfaceorg.springframework.core.annotation.MergedAnnotations
-
isDirectlyPresent
public <A extends java.lang.annotation.Annotation> boolean isDirectlyPresent(java.lang.Class<A> annotationType)
- Specified by:
isDirectlyPresent
in interfaceorg.springframework.core.annotation.MergedAnnotations
-
isDirectlyPresent
public boolean isDirectlyPresent(java.lang.String annotationType)
- Specified by:
isDirectlyPresent
in 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:
get
in 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:
get
in 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:
get
in 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:
get
in 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:
get
in 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:
get
in 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:
stream
in 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:
stream
in interfaceorg.springframework.core.annotation.MergedAnnotations
-
stream
public java.util.stream.Stream<org.springframework.core.annotation.MergedAnnotation<java.lang.annotation.Annotation>> stream()
- Specified by:
stream
in interfaceorg.springframework.core.annotation.MergedAnnotations
-
iterator
public java.util.Iterator<org.springframework.core.annotation.MergedAnnotation<java.lang.annotation.Annotation>> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<org.springframework.core.annotation.MergedAnnotation<java.lang.annotation.Annotation>>
-
-