Class MicronautMergedAnnotations
java.lang.Object
io.micronaut.spring.core.annotation.MicronautMergedAnnotations
- All Implemented Interfaces:
Iterable<org.springframework.core.annotation.MergedAnnotation<Annotation>>
,org.springframework.core.annotation.MergedAnnotations
@Internal
public class MicronautMergedAnnotations
extends Object
implements org.springframework.core.annotation.MergedAnnotations
Implements the
MergedAnnotations
interface.- Since:
- 4.3.0
- Author:
- graemerocher
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.core.annotation.MergedAnnotations
org.springframework.core.annotation.MergedAnnotations.Search, org.springframework.core.annotation.MergedAnnotations.SearchStrategy
-
Constructor Summary
ConstructorDescriptionMicronautMergedAnnotations
(io.micronaut.core.annotation.AnnotationMetadata annotationMetadata) -
Method Summary
Modifier and TypeMethodDescription<A extends Annotation>
org.springframework.core.annotation.MergedAnnotation<A><A extends Annotation>
org.springframework.core.annotation.MergedAnnotation<A>get
(Class<A> annotationType, Predicate<? super org.springframework.core.annotation.MergedAnnotation<A>> predicate) <A extends Annotation>
org.springframework.core.annotation.MergedAnnotation<A>get
(Class<A> annotationType, Predicate<? super org.springframework.core.annotation.MergedAnnotation<A>> predicate, org.springframework.core.annotation.MergedAnnotationSelector<A> selector) <A extends Annotation>
org.springframework.core.annotation.MergedAnnotation<A><A extends Annotation>
org.springframework.core.annotation.MergedAnnotation<A>get
(String annotationType, Predicate<? super org.springframework.core.annotation.MergedAnnotation<A>> predicate) <A extends Annotation>
org.springframework.core.annotation.MergedAnnotation<A>get
(String annotationType, Predicate<? super org.springframework.core.annotation.MergedAnnotation<A>> predicate, org.springframework.core.annotation.MergedAnnotationSelector<A> selector) <A extends Annotation>
booleanisDirectlyPresent
(Class<A> annotationType) boolean
isDirectlyPresent
(String annotationType) <A extends Annotation>
booleanboolean
Iterator<org.springframework.core.annotation.MergedAnnotation<Annotation>>
iterator()
Stream<org.springframework.core.annotation.MergedAnnotation<Annotation>>
stream()
<A extends Annotation>
Stream<org.springframework.core.annotation.MergedAnnotation<A>><A extends Annotation>
Stream<org.springframework.core.annotation.MergedAnnotation<A>>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 Details
-
MicronautMergedAnnotations
public MicronautMergedAnnotations(io.micronaut.core.annotation.AnnotationMetadata annotationMetadata)
-
-
Method Details
-
isPresent
- Specified by:
isPresent
in interfaceorg.springframework.core.annotation.MergedAnnotations
-
isPresent
- Specified by:
isPresent
in interfaceorg.springframework.core.annotation.MergedAnnotations
-
isDirectlyPresent
- Specified by:
isDirectlyPresent
in interfaceorg.springframework.core.annotation.MergedAnnotations
-
isDirectlyPresent
- Specified by:
isDirectlyPresent
in interfaceorg.springframework.core.annotation.MergedAnnotations
-
get
public <A extends Annotation> org.springframework.core.annotation.MergedAnnotation<A> get(Class<A> annotationType) - Specified by:
get
in interfaceorg.springframework.core.annotation.MergedAnnotations
-
get
public <A extends Annotation> org.springframework.core.annotation.MergedAnnotation<A> get(Class<A> annotationType, Predicate<? super org.springframework.core.annotation.MergedAnnotation<A>> predicate) - Specified by:
get
in interfaceorg.springframework.core.annotation.MergedAnnotations
-
get
public <A extends Annotation> org.springframework.core.annotation.MergedAnnotation<A> get(Class<A> annotationType, 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 Annotation> org.springframework.core.annotation.MergedAnnotation<A> get(String annotationType) - Specified by:
get
in interfaceorg.springframework.core.annotation.MergedAnnotations
-
get
public <A extends Annotation> org.springframework.core.annotation.MergedAnnotation<A> get(String annotationType, Predicate<? super org.springframework.core.annotation.MergedAnnotation<A>> predicate) - Specified by:
get
in interfaceorg.springframework.core.annotation.MergedAnnotations
-
get
public <A extends Annotation> org.springframework.core.annotation.MergedAnnotation<A> get(String annotationType, 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 Annotation> Stream<org.springframework.core.annotation.MergedAnnotation<A>> stream(Class<A> annotationType) - Specified by:
stream
in interfaceorg.springframework.core.annotation.MergedAnnotations
-
stream
public <A extends Annotation> Stream<org.springframework.core.annotation.MergedAnnotation<A>> stream(String annotationType) - Specified by:
stream
in interfaceorg.springframework.core.annotation.MergedAnnotations
-
stream
- Specified by:
stream
in interfaceorg.springframework.core.annotation.MergedAnnotations
-
iterator
- Specified by:
iterator
in interfaceIterable<org.springframework.core.annotation.MergedAnnotation<Annotation>>
-