public interface InjectStrategy
| Modifier and Type | Interface and Description |
|---|---|
static class |
InjectStrategy.InjectLocation
A data structure indicating a suitable location for injecting a method invocation instruction.
|
| Modifier and Type | Method and Description |
|---|---|
InjectStrategy.InjectLocation[] |
getAllSuitableInjectionLocation(ProgramClass targetClass,
ProgramMethod targetMethod)
Determine all locations (i.e., offsets) suitable for injecting a method invocation.
|
InjectStrategy.InjectLocation |
getSingleInjectionLocation(ProgramClass targetClass,
ProgramMethod targetMethod)
Determine one location (i.e.
|
InjectStrategy.InjectLocation getSingleInjectionLocation(ProgramClass targetClass, ProgramMethod targetMethod)
targetClass - The class holding the method in which a method invocation will be injected.targetMethod - The target method to have a method invocation injected into.InjectStrategy.InjectLocation[] getAllSuitableInjectionLocation(ProgramClass targetClass, ProgramMethod targetMethod)
targetClass - The class holding the method in which a method invocation will be injected.targetMethod - The target method to have a method invocation injected into.