Package io.micronaut.inject
Interface InjectionPoint<T>
-
- Type Parameters:
T
- the bean type
- All Superinterfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider
,io.micronaut.core.annotation.AnnotationSource
- All Known Subinterfaces:
ArgumentInjectionPoint<B,T>
,CallableInjectionPoint<T>
,ConstructorInjectionPoint<T>
,FieldInjectionPoint<B,T>
,MethodInjectionPoint<B,T>
- All Known Implementing Classes:
AbstractBeanResolutionContext.AnnotationSegment
,AbstractBeanResolutionContext.ConstructorArgumentSegment
,AbstractBeanResolutionContext.FieldSegment
,AbstractBeanResolutionContext.MethodArgumentSegment
,AbstractBeanResolutionContext.MethodSegment
,AbstractConstructorInjectionPoint
public interface InjectionPoint<T> extends io.micronaut.core.annotation.AnnotationMetadataProvider
An injection point as a point in a class definition where dependency injection is required.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BeanDefinition<T>
getDeclaringBean()
boolean
requiresReflection()
-
Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
-
-
-
-
Method Detail
-
getDeclaringBean
@NonNull BeanDefinition<T> getDeclaringBean()
- Returns:
- The bean that declares this injection point
-
requiresReflection
boolean requiresReflection()
- Returns:
- Whether reflection is required to satisfy the injection point
-
-