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
ConstructorsConstructorDescriptionMicronautMergedAnnotations(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) booleanisDirectlyPresent(String annotationType) <A extends Annotation>
booleanbooleanIterator<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, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
MicronautMergedAnnotations
public MicronautMergedAnnotations(io.micronaut.core.annotation.AnnotationMetadata annotationMetadata)
-
-
Method Details
-
isPresent
- Specified by:
isPresentin interfaceorg.springframework.core.annotation.MergedAnnotations
-
isPresent
- Specified by:
isPresentin interfaceorg.springframework.core.annotation.MergedAnnotations
-
isDirectlyPresent
- Specified by:
isDirectlyPresentin interfaceorg.springframework.core.annotation.MergedAnnotations
-
isDirectlyPresent
- Specified by:
isDirectlyPresentin interfaceorg.springframework.core.annotation.MergedAnnotations
-
get
public <A extends Annotation> org.springframework.core.annotation.MergedAnnotation<A> get(Class<A> annotationType) - Specified by:
getin 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:
getin 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:
getin interfaceorg.springframework.core.annotation.MergedAnnotations
-
get
public <A extends Annotation> org.springframework.core.annotation.MergedAnnotation<A> get(String annotationType) - Specified by:
getin 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:
getin 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:
getin interfaceorg.springframework.core.annotation.MergedAnnotations
-
stream
public <A extends Annotation> Stream<org.springframework.core.annotation.MergedAnnotation<A>> stream(Class<A> annotationType) - Specified by:
streamin interfaceorg.springframework.core.annotation.MergedAnnotations
-
stream
public <A extends Annotation> Stream<org.springframework.core.annotation.MergedAnnotation<A>> stream(String annotationType) - Specified by:
streamin interfaceorg.springframework.core.annotation.MergedAnnotations
-
stream
- Specified by:
streamin interfaceorg.springframework.core.annotation.MergedAnnotations
-
iterator
- Specified by:
iteratorin interfaceIterable<org.springframework.core.annotation.MergedAnnotation<Annotation>>
-