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

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
  • Field Summary

    Fields inherited from interface io.micronaut.core.annotation.AnnotationSource

    EMPTY
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull BeanDefinition<T>
     

    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

    • getDeclaringBean

      @NonNull @NonNull BeanDefinition<T> getDeclaringBean()
      Returns:
      The bean that declares this injection point