Interface MethodInjectionPoint<B,T>

Type Parameters:
B - The bean type
T - The injectable type
All Superinterfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider, io.micronaut.core.annotation.AnnotationSource, CallableInjectionPoint<B>, InjectionPoint<B>

public interface MethodInjectionPoint<B,T> extends CallableInjectionPoint<B>, io.micronaut.core.annotation.AnnotationMetadataProvider
Defines an injection point for a method.
Since:
1.0
  • Field Summary

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

    EMPTY
  • Method Summary

    Modifier and Type
    Method
    Description
    default Class<B>
     
     
    boolean
     
    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

    Methods inherited from interface io.micronaut.inject.CallableInjectionPoint

    getArguments

    Methods inherited from interface io.micronaut.inject.InjectionPoint

    getDeclaringBean
  • Method Details

    • getName

      String getName()
      Returns:
      The method name
    • isPreDestroyMethod

      boolean isPreDestroyMethod()
      Returns:
      Is this method a pre-destroy method
    • isPostConstructMethod

      boolean isPostConstructMethod()
      Returns:
      Is this method a post construct method
    • getDeclaringType

      default Class<B> getDeclaringType()