Package io.micronaut.inject
Interface FieldInjectionPoint<B,T>
- Type Parameters:
B
- The bean type that declares the injection pointT
- The field component type
- All Superinterfaces:
AnnotatedElement
,AnnotationMetadataProvider
,AnnotationSource
,ArgumentCoercible<T>
,InjectionPoint<B>
,Named
public interface FieldInjectionPoint<B,T>
extends InjectionPoint<B>, AnnotationMetadataProvider, AnnotatedElement, ArgumentCoercible<T>
Defines an injection point for a field.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY
-
Method Summary
Methods inherited from interface io.micronaut.core.annotation.AnnotatedElement
isDeclaredNonNull, isDeclaredNullable, isNonNull, isNullable
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
Methods inherited from interface io.micronaut.core.type.ArgumentCoercible
asArgument
Methods inherited from interface io.micronaut.inject.InjectionPoint
getDeclaringBean
-
Method Details
-
getName
String getName() -
getField
Deprecated, for removal: This API element is subject to removal in a future version.Resolves the underlying field. Note that this method will cause reflection metadata to be initialized and should be avoided.- Returns:
- The target field
-
getType
- Returns:
- The required component type
-