public class RedirectionSource extends Object implements InjectionSource
| Constructor and Description |
|---|
RedirectionSource() |
| Modifier and Type | Method and Description |
|---|---|
InjectionPoint |
getInjectableParameters(org.apache.bcel.generic.InvokeInstruction ins,
org.apache.bcel.generic.ConstantPoolGen cpg,
org.apache.bcel.generic.InstructionHandle insHandle)
The implementation should identify method that are susceptible to injection and return
parameters index that can injected.
|
public InjectionPoint getInjectableParameters(org.apache.bcel.generic.InvokeInstruction ins, org.apache.bcel.generic.ConstantPoolGen cpg, org.apache.bcel.generic.InstructionHandle insHandle)
InjectionSourcegetInjectableParameters in interface InjectionSourceins - Instruction visitcpg - ConstantPool (needed to find the class name and method name associate to instruction)insHandle - instruction handle (needed to look at the instruction around the current instruction)Copyright © 2017. All rights reserved.