|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IndexRepository | |
---|---|
ataspectj.instrumentation |
Uses of IndexRepository in ataspectj.instrumentation |
---|
Fields in ataspectj.instrumentation declared as IndexRepository | |
---|---|
protected IndexRepository[] |
InstrumentationRepository._irAnnotated
The index repository array to trace all the variables envolved. |
Methods in ataspectj.instrumentation that return IndexRepository | |
---|---|
IndexRepository[] |
InstrumentationRepository.getIndexUsedIntoAnnotation()
The getter method for index repository array. |
protected IndexRepository[] |
InstrumentationRepository.getUsedIndex(int pc,
org.apache.bcel.generic.Instruction[] il,
org.apache.bcel.classfile.LocalVariableTable lvt)
It checks the instruction list to retrieve the information about the local variables involved. |
static IndexRepository |
InstructionInstrumentationFactory.searchIndexRepository(int oldIndex,
IndexRepository[] allRep)
It searchs the IndexRepository that store the information for the given index. |
Methods in ataspectj.instrumentation with parameters of type IndexRepository | |
---|---|
int |
IndexRepository.compareTo(IndexRepository o)
Compare two IndexRepository |
static org.apache.bcel.generic.MethodGen |
InstrumentationFactory.createMethodGen(int flags,
java.lang.String methodName,
java.lang.String className,
IndexRepository[] params,
org.apache.bcel.generic.InstructionList il,
org.apache.bcel.generic.ConstantPoolGen cg)
It creates the MethodGen for the new extracted Method. |
static org.apache.bcel.generic.InstructionList |
PrimitiveTypesFactory.makePrimitiveToWrapperPrimitive(org.apache.bcel.generic.ConstantPoolGen cg,
IndexRepository indexRep)
It creates the instrcution list to store the value of the primitive variable into the wrapper obejct. |
static IndexRepository |
InstructionInstrumentationFactory.searchIndexRepository(int oldIndex,
IndexRepository[] allRep)
It searchs the IndexRepository that store the information for the given index. |
protected void |
InstrumentationRepository.setIndexWrapperIntoNewMethod(IndexRepository[] irs,
int lastIndexUsed)
It sets the index for the new wrapper object in the new method instruction list. |
protected void |
InstrumentationRepository.setNewIndexs(IndexRepository[] irs)
It updates the local variables index for the new non-static method. |
protected void |
InstrumentationRepository.setNewIndexsForStatic(IndexRepository[] irs)
It updates the local variables index for the new static method. |
static void |
InstructionInstrumentationFactory.updateIINCInstruction(org.apache.bcel.generic.InstructionHandle ih,
org.apache.bcel.generic.InstructionList oldIl,
IndexRepository indexRep,
org.apache.bcel.generic.InstructionFactory ifact,
int freeIndex,
int increment)
It updates the IINC insruction, it replaces the IINC with a Load, and IADD |
static org.apache.bcel.generic.InstructionList |
InstructionInstrumentationFactory.updateInstructionList(InstrumentationRepository irep,
IndexRepository[] allIndexRep,
org.apache.bcel.generic.ConstantPoolGen cg,
boolean isStatic)
It updates the index of local variables instruction of the InstructionList contained into the InstrumentationRepository, to do that use the the indexes stored into the IndexRepositories. |
static void |
InstructionInstrumentationFactory.updatePrimTypeLoadInstruction(org.apache.bcel.generic.InstructionHandle ih,
org.apache.bcel.generic.InstructionList oldIl,
IndexRepository indexRep,
org.apache.bcel.generic.InstructionFactory ifact)
It updates a primitive types LOAD instrcution, it replaces the LOAD with a Load, and GETFIELD |
static void |
InstructionInstrumentationFactory.updatePrimTypeStoreInstruction(org.apache.bcel.generic.InstructionHandle ih,
org.apache.bcel.generic.InstructionList oldIl,
IndexRepository indexRep,
org.apache.bcel.generic.InstructionFactory ifact)
It updates a primitive types store instrcution, it replaces the STORE with a Load, and PUTFIELD |
static void |
InstructionInstrumentationFactory.updatePrimTypeStoreInstructionWrapCall(org.apache.bcel.generic.InstructionHandle ih,
org.apache.bcel.generic.InstructionList oldIl,
IndexRepository indexRep,
org.apache.bcel.generic.InstructionFactory ifact,
org.apache.bcel.generic.ConstantPoolGen cg)
It updates a primitive types store instrcution, it replaces the STORE with a Load, and PUTFIELD, in case there is wrapperExpressionCall |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |