Package io.micronaut.core.annotation
Interface AnnotatedElement
- All Superinterfaces:
AnnotationMetadataProvider
,AnnotationSource
,Named
- All Known Subinterfaces:
AnnotationElement
,Argument<T>
,ArgumentValue<V>
,ArrayableClassElement
,BeanConstructorElement
,BeanDefinitionMethodReference<T,
,R> BeanElement
,BeanElementBuilder
,BeanFieldElement
,BeanMethodElement
,BeanParameterElement
,BeanProperty<B,
,T> ClassElement
,ConfigurableElement
,ConstructorElement
,DelegatingExecutableMethod<T,
,R> Element
,EnumConstantElement
,EnumElement
,ExecutableMethod<T,
,R> FieldElement
,FieldInjectionPoint<B,
,T> GenericElement
,GenericPlaceholder<T>
,GenericPlaceholderElement
,InjectableElement
,MemberElement
,MethodBasedRouteMatch<T,
,R> MethodElement
,MethodExecutionHandle<T,
,R> MethodInvocationContext<T,
,R> MethodReference<T,
,R> MutableArgumentValue<V>
,PackageElement
,ParameterElement
,PropertyElement
,TypedElement
,UnsafeBeanProperty<B,
,T> UriRouteMatch<T,
,R> WildcardElement
- All Known Implementing Classes:
AbstractAnnotationElement
,AbstractBeanDefinitionBuilder
,AbstractBeanProperty
,AbstractExecutableBeanMethod
,AbstractExecutableMethod
,AbstractGroovyElement
,AbstractJavaElement
,ArgumentBeanType
,BeanDefinitionWriter
,DefaultArgument
,GenericArgument
,GroovyClassElement
,GroovyConstructorElement
,GroovyEnumConstantElement
,GroovyFieldElement
,GroovyMethodElement
,GroovyPackageElement
,GroovyParameterElement
,JavaClassElement
,JavaMethodElement
,JavaPackageElement
,MethodInterceptorChain
,PrimitiveElement
An annotated element is some point in the code, whether it be a constructor, field,
method etc. which provides annotation metadata.
- Since:
- 1.2
- Author:
- graemerocher
-
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
default boolean
default boolean
default boolean
Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
Methods inherited from interface io.micronaut.core.annotation.AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
-
Method Details
-
isDeclaredNullable
default boolean isDeclaredNullable()- Returns:
- Whether the element is nullable.
-
isNullable
default boolean isNullable()- Returns:
- Whether the element is nullable.
-
isNonNull
default boolean isNonNull()- Returns:
- Whether the element is declared as not being null
-
isDeclaredNonNull
default boolean isDeclaredNonNull()- Returns:
- Whether the element is declared as not being null
-