B
- The bean typeT
- The injectable typepublic interface MethodInjectionPoint<B,T> extends CallableInjectionPoint<B>, io.micronaut.core.type.Executable<B,T>
Modifier and Type | Method and Description |
---|---|
default java.lang.Class<B> |
getDeclaringType() |
java.lang.reflect.Method |
getMethod()
Resolves the
Method instance. |
java.lang.String |
getName() |
T |
invoke(B instance,
java.lang.Object... args)
Invokes the method.
|
boolean |
isPostConstructMethod() |
boolean |
isPreDestroyMethod() |
getArguments
getDeclaringBean, requiresReflection
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
java.lang.reflect.Method getMethod()
Method
instance. Note that this method will cause reflection
metadata to be initialized and should be avoided.java.lang.String getName()
boolean isPreDestroyMethod()
boolean isPostConstructMethod()