public abstract class InvokeInjector extends Injector
Injector.InjectorData, Injector.TargetNodeannotationType, classNode, info, isStatic, logger, methodArgs, methodNode, returnType| Constructor and Description |
|---|
InvokeInjector(InjectionInfo info,
java.lang.String annotationType) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkTarget(Target target)
Sanity checks on target
|
protected void |
inject(Target target,
InjectionNodes.InjectionNode node) |
protected abstract void |
injectAtInvoke(Target target,
InjectionNodes.InjectionNode node)
Perform a single injection
|
protected void |
sanityCheck(Target target,
java.util.List<InjectionPoint> injectionPoints) |
addTargetNode, canCoerce, canCoerce, canCoerce, checkCoerce, checkTargetForNode, checkTargetModifiers, find, findTargetNodes, inject, invokeHandler, invokeHandler, invokeHandlerWithArgs, invokeHandlerWithArgs, postInject, pushArgs, pushArgs, storeArgs, storeArgs, throwException, toString, validateParamspublic InvokeInjector(InjectionInfo info, java.lang.String annotationType)
info - Information about this injectionannotationType - Annotation type, used for error messagesprotected void sanityCheck(Target target, java.util.List<InjectionPoint> injectionPoints)
sanityCheck in class Injectorprotected void checkTarget(Target target)
target - targetprotected void inject(Target target, InjectionNodes.InjectionNode node)
protected abstract void injectAtInvoke(Target target, InjectionNodes.InjectionNode node)
target - Target to inject intonode - Discovered instruction node