A B C D E G I J K L M N P R S T U V W _

A

addCurrentJump(MethodGen, int, int, ConstantPoolGen) - Static method in class ataspectj.instrumentation.InstrumentationFactory
It adds a jump instruction before the startPC that target the endPC.
addNewInvokeInstructionList(MethodGen, int, InstructionList) - Static method in class ataspectj.instrumentation.InstrumentationFactory
It adds the invoke instructions after the endPc (the target of the added jump).
addNewInvokeInstructionList(MethodGen, int, InstructionList, ConstantPoolGen) - Method in class ataspectj.instrumentation.InstrumentationRepository
It adds the new invoke instruction list to the original method.
addNOPByte(byte[]) - Static method in class ataspectj.instrumentation.InstrumentationFactory
It adds a NOP byte at the end of the array.
ajc(String[]) - Static method in class ataspectj.AjcLauncher
Static method used to call the compiler ajc.
AjcLauncher - Class in ataspectj
Class used to call the ajc compiler of Aspectj
AjcLauncher(String[]) - Constructor for class ataspectj.AjcLauncher
Stanadard constructor of the class;
AnnotationViewer - Class in ataspectj.instrumentation
This class is used to retrieve all the Annotated Blocks contained into a Java Class.
AnnotationViewer() - Constructor for class ataspectj.instrumentation.AnnotationViewer
 
AspectUpdater - Class in ataspectj
Class used to translate the @expr e @block pointcut into AspectJ valid pointcut.
AspectUpdater(String[]) - Constructor for class ataspectj.AspectUpdater
The standard constructor of the class.
ataspectj - package ataspectj
 
ataspectj.instrumentation - package ataspectj.instrumentation
 
ataspectj.instrumentation.exception - package ataspectj.instrumentation.exception
 
ataspectj.instrumentation.wrapper - package ataspectj.instrumentation.wrapper
 
ataspectj.reflect - package ataspectj.reflect
 
AtAspectjComponent - Class in ataspectj
Parent class of all the class of the package.
AtAspectjComponent() - Constructor for class ataspectj.AtAspectjComponent
 
AtAspectjException - Exception in ataspectj.instrumentation.exception
 
AtAspectjException() - Constructor for exception ataspectj.instrumentation.exception.AtAspectjException
 
AtAspectjException(String) - Constructor for exception ataspectj.instrumentation.exception.AtAspectjException
 
AtAspectjException(String, Throwable) - Constructor for exception ataspectj.instrumentation.exception.AtAspectjException
 
AtAspectjException(Throwable) - Constructor for exception ataspectj.instrumentation.exception.AtAspectjException
 
AtAspectjMain - Class in ataspectj
 
AtAspectjMain() - Constructor for class ataspectj.AtAspectjMain
 
atjavac(String[]) - Static method in class ataspectj.AtJavacLauncher
Static method used to call the compiler atjavac.
AtJavacLauncher - Class in ataspectj
Class used to call the atjavac compiler of @Java
AtJavacLauncher(String[]) - Constructor for class ataspectj.AtJavacLauncher
Stanadard constructor of the class;

B

b - Variable in class ataspectj.instrumentation.wrapper.WrapperBoolean
It store a boolean value.
b - Variable in class ataspectj.instrumentation.wrapper.WrapperByte
It stores the byte value.
b - Variable in class ataspectj.instrumentation.wrapper.WrapperChar
 
b - Variable in class ataspectj.instrumentation.wrapper.WrapperDouble
 
b - Variable in class ataspectj.instrumentation.wrapper.WrapperFloat
 
b - Variable in class ataspectj.instrumentation.wrapper.WrapperInt
It store a int value.
b - Variable in class ataspectj.instrumentation.wrapper.WrapperLong
It stores a long value.
b - Variable in class ataspectj.instrumentation.wrapper.WrapperShort
It stores a short value.
backupAjs() - Method in class ataspectj.AspectUpdater
Method used to backup the original aj files.
barrier - Static variable in class ataspectj.AtAspectjComponent
The barrier for the threads
BlockAnnotationPointcut - Class in ataspectj
Class used to translate the @block pointcut into an AspectJ valid pointcut.
BlockAnnotationPointcut(String) - Constructor for class ataspectj.BlockAnnotationPointcut
The constructor of the class.
BlockJoinPoint - Class in ataspectj.reflect
Provide a reflective access to block join points.
BlockJoinPoint(JoinPoint) - Constructor for class ataspectj.reflect.BlockJoinPoint
The constructor of the class
BlockJoinPointStaticPart - Class in ataspectj.reflect
This helper object contains only the static information about a block join point.
BlockJoinPointStaticPart() - Constructor for class ataspectj.reflect.BlockJoinPointStaticPart
The Standard constructor of the class.
BlockJoinPointStaticPart(JoinPoint) - Constructor for class ataspectj.reflect.BlockJoinPointStaticPart
Constructor of the class, it retrieves the informations from the join point.
BLOCKPATTERN - Static variable in class ataspectj.AspectUpdater
The string patter of the pointcut @block.
BlockSignature - Class in ataspectj.reflect
Represents the signature at a join point.
BlockSignature(Signature, AnnotatedBlock) - Constructor for class ataspectj.reflect.BlockSignature
The Constructor of the class.
BlockSourceLocation - Class in ataspectj.reflect
For defining code, the block annotated and location in a source file.
BlockSourceLocation(int, String, int, Class) - Constructor for class ataspectj.reflect.BlockSourceLocation
The Constructor of the class.
BytecodeCleaner - Class in ataspectj.instrumentation
It's used to clean up methods of a Java Class from the useless Local Variable Table.
BytecodeCleaner() - Constructor for class ataspectj.instrumentation.BytecodeCleaner
 

C

checkAnnotation(String, String) - Static method in class ataspectj.AspectUpdater
Used to check if the wrapperExpressionAnnotation parameters contains the specified annotation name.
checkAnnotation(Object, String) - Static method in class ataspectj.AtAspectjMain
Metodo usato per controllare che una il metodo statico di una expr annotation prenda come perameto l'annotaione scritta
checkIfThereIsWrapperExpressionCall(Instruction, ConstantPoolGen) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
Checks if there is a call to a wrapper expression annotation method.
ClassInstrumenter - Class in ataspectj.instrumentation
Class used to instrument the bytecode.
ClassInstrumenter(String, String) - Constructor for class ataspectj.instrumentation.ClassInstrumenter
Constructor of the class
CODEPRINT - Static variable in class ataspectj.AtAspectjComponent
Codeprint flag according to the command line
CommandLineParser - Class in ataspectj
Class used to parse the command line parameters.
CommandLineParser() - Constructor for class ataspectj.CommandLineParser
 
compareAnnotatedBlock(AnnotatedBlock) - Method in class ataspectj.instrumentation.InstrumentationRepository
 
compareTo(IndexRepository) - Method in class ataspectj.instrumentation.IndexRepository
Compare two IndexRepository
compareTo(InstrumentationRepository) - Method in class ataspectj.instrumentation.InstrumentationRepository
Compares two InstrumentationRepository object.
ConstructorNotFoundException - Exception in ataspectj.instrumentation.exception
 
ConstructorNotFoundException() - Constructor for exception ataspectj.instrumentation.exception.ConstructorNotFoundException
 
ConstructorNotFoundException(String) - Constructor for exception ataspectj.instrumentation.exception.ConstructorNotFoundException
 
ConstructorNotFoundException(String, Throwable) - Constructor for exception ataspectj.instrumentation.exception.ConstructorNotFoundException
 
ConstructorNotFoundException(Throwable) - Constructor for exception ataspectj.instrumentation.exception.ConstructorNotFoundException
 
convertType(Class[]) - Static method in class ataspectj.instrumentation.RepositoryLoader
It Converts the array of java Classes into an array of bcel Types.
copy(File, File) - Method in class ataspectj.AspectUpdater
It copies the file src to the file dst
createALoadInstruction(int, Type, InstructionFactory) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
It cretes a ALOAD instruction
createAStoreInstruction(int, Type, InstructionFactory) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
It cretes a ASTORE instruction
createBackupFiles(String[]) - Static method in class ataspectj.instrumentation.SourceCodeBackuper
Backup the original sorce file, they are stored into files called: .ataspectjBak
createGetField(Type, String, InstructionFactory) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
TO DO CHECK Field name It create a get field instruction.
createMethodGen(int, String, String, IndexRepository[], InstructionList, ConstantPoolGen) - Static method in class ataspectj.instrumentation.InstrumentationFactory
It creates the MethodGen for the new extracted Method.
createPutField(Type, String, InstructionFactory) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
TO DO CHECK Field name It create a put field instruction.
createTypeValue(Type, InstructionFactory) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
It creates a typeValue method invocation instruction, where the type used is the appropriate one for the given primitive type
createValueOf(Type, InstructionFactory) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
It creates a valueOf method invocation instruction, where the type used is the appropriate one for the given primitive type

D

DEBUG - Static variable in class ataspectj.AtAspectjComponent
Debug flag according to the command line
deleteFiles(String[]) - Static method in class ataspectj.instrumentation.SourceCodeBackuper
It deletes the backup files.
doJob() - Method in class ataspectj.AspectUpdater
Method used to do the job.
done(String) - Method in class ataspectj.AtAspectjComponent
Method used to syncronize thread

E

explodeLongString() - Method in class ataspectj.reflect.BlockJoinPointStaticPart
Explodes the atjava random string
explodeLongString() - Method in class ataspectj.reflect.ExprJoinPointStaticPart
Explodes the atjava random string
ExpressionAnnotationPointcut - Class in ataspectj
Class used to translate the @expr pointcut into an AspectJ valid pointcut.
ExpressionAnnotationPointcut(String) - Constructor for class ataspectj.ExpressionAnnotationPointcut
The constructor of the class.
ExprJoinPoint - Class in ataspectj.reflect
Provide a reflective access to expr join points.
ExprJoinPoint(JoinPoint) - Constructor for class ataspectj.reflect.ExprJoinPoint
The constructor of the class
ExprJoinPointStaticPart - Class in ataspectj.reflect
This helper object contains only the static information about a expr join point.
ExprJoinPointStaticPart() - Constructor for class ataspectj.reflect.ExprJoinPointStaticPart
The Standard constructor of the class.
ExprJoinPointStaticPart(JoinPoint) - Constructor for class ataspectj.reflect.ExprJoinPointStaticPart
Constructor of the class, it retrieves the informations from the join point.
EXPRPATTERN - Static variable in class ataspectj.AspectUpdater
The string patter of the pointcut @expr.
ExprSignature - Class in ataspectj.reflect
Represents the signature at a join point.
ExprSignature(Signature, Class, String, String, AnnotatedExpression) - Constructor for class ataspectj.reflect.ExprSignature
The Constructor of the class.
ExprSourceLocation - Class in ataspectj.reflect
For defining code, the expression annotated and location in a source file.
ExprSourceLocation(int, String, int, Class) - Constructor for class ataspectj.reflect.ExprSourceLocation
The Constructor of the class.

G

getAccessibleObject() - Method in class ataspectj.instrumentation.InstrumentationRepository
The getter method for the AccessibleObject field
getAjcParameters(String[]) - Static method in class ataspectj.CommandLineParser
Static method used to select only the parameter used by ajc.
getAllAnnotatedBlock(Class, LinkedList<AnnotatedBlock>) - Static method in class ataspectj.instrumentation.AnnotationViewer
Gets all the Annotated Block of the given Class, the method search into Constructors and Methods.
getAllAnnotatedBlock(Method, LinkedList<AnnotatedBlock>) - Static method in class ataspectj.instrumentation.AnnotationViewer
Gets all the Annotated Block included into the given Method.
getAllAnnotatedBlock(Constructor, LinkedList<AnnotatedBlock>) - Static method in class ataspectj.instrumentation.AnnotationViewer
Gets all the Annotated Block included into the given Constructor.
getAllAnnotatedExpression(Class, LinkedList<AnnotatedExpression>) - Static method in class ataspectj.instrumentation.AnnotationViewer
Gets all the Annotated expressions of the given Class, the method search into Constructors and Methods.
getAllAnnotatedExpression(Method, LinkedList<AnnotatedExpression>) - Static method in class ataspectj.instrumentation.AnnotationViewer
Gets all the Annotated expressions included into the given Method.
getAllAnnotatedExpression(Constructor, LinkedList<AnnotatedExpression>) - Static method in class ataspectj.instrumentation.AnnotationViewer
Gets all the Annotated expressions included into the given Constructor.
getAllConstructorToInstrument(String) - Static method in class ataspectj.instrumentation.RepositoryLoader
It retuns all the java constructor that contain a block annotation.
getAllMethodToInstrument(String) - Static method in class ataspectj.instrumentation.RepositoryLoader
It retuns all the java methods that contain a block annotation.
getAnnotatedBlock(AnnotatedBlock, LinkedList<AnnotatedBlock>, LinkedList<AnnotatedBlock>) - Static method in class ataspectj.instrumentation.AnnotationViewer
Retrieve recursivelly all the internal Annotated Blocks.
getAnnotatedBlock() - Method in class ataspectj.instrumentation.InstrumentationRepository
The getter method for AnnotatedBlock object.
getAnnotatedBlock() - Method in class ataspectj.reflect.BlockJoinPointStaticPart
Retrieves the annotated block.
getAnnotatedBytecode() - Method in class ataspectj.instrumentation.InstrumentationRepository
The getter method for the annotated bytecode.
getAnnotatedExpression(AnnotatedExpression, LinkedList<AnnotatedExpression>, LinkedList<AnnotatedExpression>) - Static method in class ataspectj.instrumentation.AnnotationViewer
Retrieve recursivelly all the internal Annotated expressions.
getAnnotatedExpression() - Method in class ataspectj.reflect.ExprJoinPointStaticPart
Retrieves the annotated expression.
getAnnotatedInstructionList() - Method in class ataspectj.instrumentation.InstrumentationRepository
The getter method for the annoted instruction list object.
getAnnotationName(String) - Static method in class ataspectj.AspectUpdater
Retrieve from a @expr or @block pointcut the annotation name.
getAnnotationName() - Method in class ataspectj.reflect.BlockJoinPointStaticPart
Retrieves the annotation name from the atjava string.
getAnnotationName() - Method in class ataspectj.reflect.ExprJoinPointStaticPart
Retrieves the annotation name from the atjava string.
getArgs() - Method in class ataspectj.reflect.BlockJoinPoint
Retrieve the member value of the block annotation.
getArgs() - Method in class ataspectj.reflect.ExprJoinPoint
Retrieve the member value of the expression annotation.
getAtAspectjParameters(String[]) - Static method in class ataspectj.CommandLineParser
Static method used to select only the parameter used by atjavac.
getAtJavacParameters(String[]) - Static method in class ataspectj.CommandLineParser
Static method used to select only the parameter used by atjavac.
getBCELMethodFromConstructor(Method[], Constructor) - Static method in class ataspectj.instrumentation.RepositoryLoader
Search the specified java.lang.reflect.Contructor into the array of org.apache.bcel.classfile.Method pass as argument
getBCELMethodFromMethod(Method[], Method) - Static method in class ataspectj.instrumentation.RepositoryLoader
Search the specified java.lang.reflect.Method into the array of org.apache.bcel.classfile.Method pass as argument
getBlockToInstrumentFromMethod(Method) - Static method in class ataspectj.instrumentation.RepositoryLoader
It returns an array of InstrumentationRepository containing all the java block of the given Method to instrument.
getBlockToInstrumentFromMethod(Constructor) - Static method in class ataspectj.instrumentation.RepositoryLoader
It returns an array of InstrumentationRepository containing all the java block of the given Constructor to instrument.
getBytecode(byte[], int, int) - Method in class ataspectj.instrumentation.InstrumentationRepository
Retrieves a piece of bytecode.
getClassGen() - Method in class ataspectj.instrumentation.InstrumentationRepository
The getter method for ClassGen object.
getClassName(String) - Method in class ataspectj.AtAspectjMain
 
getClassName() - Method in class ataspectj.reflect.BlockJoinPointStaticPart
Retrieves the class name from the atjava string.
getClassName() - Method in class ataspectj.reflect.ExprJoinPointStaticPart
Retrieves the class name from the atjava string.
getClassToInstrument() - Method in class ataspectj.instrumentation.InstrumentationRepository
The getter method for Class object.
getColumn() - Method in class ataspectj.reflect.BlockSourceLocation
Returns the start column of the block.
getColumn() - Method in class ataspectj.reflect.ExprSourceLocation
Returns the start column of the expression.
getConstantPool() - Method in class ataspectj.instrumentation.InstrumentationRepository
The getter method for the constant pool object.
getConstantPoolGen() - Method in class ataspectj.instrumentation.InstrumentationRepository
The getter method for ConstantPoolGen object.
getConstructorAndMethodToInstrument(String) - Static method in class ataspectj.instrumentation.RepositoryLoader
It returns an array of InstrumentationRepository containing all the java block contained into the given Class to instrument.
getDeclaringType() - Method in class ataspectj.reflect.BlockSignature
Returns a java.lang.Class object representing the class of the annotation.
getDeclaringType() - Method in class ataspectj.reflect.ExprSignature
Returns a java.lang.Class object representing the class of the annotation.
getDeclaringTypeName() - Method in class ataspectj.reflect.BlockSignature
Returns a String representing the annotation.
getDeclaringTypeName() - Method in class ataspectj.reflect.ExprSignature
Returns a String representing the annotation.
getEndPc() - Method in class ataspectj.instrumentation.InstrumentationRepository
The getter method for the end pc of the annotated block
getFileName() - Method in class ataspectj.reflect.BlockSourceLocation
Returns the file name where the block is situated.
getFileName() - Method in class ataspectj.reflect.ExprSourceLocation
Returns the file name where the expression is situated.
getFreeIndex() - Method in class ataspectj.instrumentation.InstrumentationRepository
 
getIndexes(String) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
 
getIndexUsedIntoAnnotation() - Method in class ataspectj.instrumentation.InstrumentationRepository
The getter method for index repository array.
getInnerClasses(String) - Static method in class ataspectj.instrumentation.RepositoryLoader
Used to retrieve all the inner classes of a class.
getJavaClass() - Method in class ataspectj.instrumentation.InstrumentationRepository
The getter method for the JavaClass object.
getJoinPoint(JoinPoint) - Static method in class ataspectj.reflect.JoinPointFactory
It returns the appropiate reflective object.
getJoinPointStaticPart(JoinPoint) - Static method in class ataspectj.reflect.JoinPointFactory
It returns the appropiate reflective object for the static part.
getKind() - Method in class ataspectj.reflect.BlockJoinPoint
 
getKind() - Method in class ataspectj.reflect.BlockJoinPointStaticPart
Returns a String representing the kind of join point.
getKind() - Method in class ataspectj.reflect.ExprJoinPoint
 
getKind() - Method in class ataspectj.reflect.ExprJoinPointStaticPart
Returns a String representing the kind of join point.
getLine() - Method in class ataspectj.reflect.BlockSourceLocation
Returns the start line of the block.
getLine() - Method in class ataspectj.reflect.ExprSourceLocation
Returns the start line of the expression.
getLoadInstruction(InstructionFactory) - Method in class ataspectj.instrumentation.IndexRepository
It creates a load instruction for the variable.
getLocalVariableFirstFreeIndex() - Method in class ataspectj.instrumentation.InstrumentationRepository
It search the first local variable index free to be used.
getMethod() - Method in class ataspectj.instrumentation.InstrumentationRepository
The getter method for the bcel Method obejct.
getMethodGen() - Method in class ataspectj.instrumentation.InstrumentationRepository
The getter method for MethodGen object.
getMethodName() - Method in class ataspectj.instrumentation.InstrumentationRepository
The getter method for the method name
getModifiers() - Method in class ataspectj.reflect.BlockSignature
Returns the modifiers of the method where the annotated block is situated represented as an int.
getModifiers() - Method in class ataspectj.reflect.ExprSignature
Returns the modifiers of the wrapper method represented as an int.
getName() - Method in class ataspectj.reflect.BlockSignature
Returns annotation name.
getName() - Method in class ataspectj.reflect.ExprSignature
Returns annotation name.
getNewIndex() - Method in class ataspectj.instrumentation.IndexRepository
The getter methods for the field _newIndex.
getNewMethodInvokeInstructionList(ConstantPoolGen) - Method in class ataspectj.instrumentation.InstrumentationRepository
It Creates the new method invocation instruction list.
getNewMethodName() - Method in class ataspectj.instrumentation.InstrumentationRepository
The getter method for the new method name.
getObjectRefToPrimitiveInstructionList() - Method in class ataspectj.instrumentation.IndexRepository
The getter methods for the _objRefToPrimitive field.
getOldIndex() - Method in class ataspectj.instrumentation.IndexRepository
The getter methods for the field _oldIndex.
getOldMethodBytecode() - Method in class ataspectj.instrumentation.InstrumentationRepository
The getter method for the original bytecode of the method.
getPrimitiveToObjectRefInstructionList() - Method in class ataspectj.instrumentation.IndexRepository
The getter methods for the _pimitiveToObjRef field
getSignature() - Method in class ataspectj.reflect.BlockJoinPoint
 
getSignature() - Method in class ataspectj.reflect.BlockJoinPointStaticPart
Returns the signature at the join point.
getSignature() - Method in class ataspectj.reflect.ExprJoinPoint
 
getSignature() - Method in class ataspectj.reflect.ExprJoinPointStaticPart
Returns the signature at the join point.
getSourceLocation() - Method in class ataspectj.reflect.BlockJoinPoint
 
getSourceLocation() - Method in class ataspectj.reflect.BlockJoinPointStaticPart
Returns the source location corresponding to the annotated block.
getSourceLocation() - Method in class ataspectj.reflect.ExprJoinPoint
 
getSourceLocation() - Method in class ataspectj.reflect.ExprJoinPointStaticPart
Returns the source location corresponding to the annotated expression.
getStartColumn() - Method in class ataspectj.reflect.BlockJoinPointStaticPart
Retrieves the start source column from the atjava string.
getStartColumn() - Method in class ataspectj.reflect.ExprJoinPointStaticPart
Retrieves the start source column from the atjava string.
getStartLine() - Method in class ataspectj.reflect.BlockJoinPointStaticPart
Retrieves the start source line from the atjava string.
getStartLine() - Method in class ataspectj.reflect.ExprJoinPointStaticPart
Retrieves the start source line from the atjava string.
getStartPc() - Method in class ataspectj.instrumentation.InstrumentationRepository
The getter method for the start pc of the annotated block
getStaticPart() - Method in class ataspectj.reflect.BlockJoinPoint
Retrieves the static part of this block join point.
getStaticPart() - Method in class ataspectj.reflect.ExprJoinPoint
Retrieves the static part of this expr join point.
getTarget() - Method in class ataspectj.reflect.BlockJoinPoint
Retrieves the annotated block.
getTarget() - Method in class ataspectj.reflect.ExprJoinPoint
Retrieves the annotated expression.
getThis() - Method in class ataspectj.reflect.BlockJoinPoint
Retrieves the annotated block.
getThis() - Method in class ataspectj.reflect.ExprJoinPoint
Retrieves the annotated expression.
getType() - Method in class ataspectj.instrumentation.IndexRepository
The getter methods for the field _type.
getTypeFromPrimitive(Type) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
It returns the appropriate wrapper type for the given primitive type.
getTypeSignature() - Method in class ataspectj.instrumentation.IndexRepository
The getter methods for the field _typeSign.
getTypeSize() - Method in class ataspectj.instrumentation.IndexRepository
It gets the number of byte needed for the type.
getUsedIndex(int, Instruction[], LocalVariableTable) - Method in class ataspectj.instrumentation.InstrumentationRepository
It checks the instruction list to retrieve the information about the local variables involved.
getWithinType() - Method in class ataspectj.reflect.BlockSourceLocation
Returns the owner type of the block.
getWithinType() - Method in class ataspectj.reflect.ExprSourceLocation
Returns the owner type of the exprssion.
getWrapNew() - Method in class ataspectj.instrumentation.IndexRepository
The getter methods for the field _wrapNew.
getWrapperLoadInstruction(InstructionFactory) - Method in class ataspectj.instrumentation.IndexRepository
It creates a load instruction for wrapper object of the variable.
getWrapperObjectNewMethodIndex() - Method in class ataspectj.instrumentation.IndexRepository
The getter methods for the field _objNewMethodIndex.
getWrapType() - Method in class ataspectj.instrumentation.IndexRepository
Returns the wrapper type.

I

IndexRepository - Class in ataspectj.instrumentation
Class used to store information about the variables used into the annotated blocks.
IndexRepository(ConstantPoolGen, int, String, String) - Constructor for class ataspectj.instrumentation.IndexRepository
The constructor of the class.
InstructionInstrumentationFactory - Class in ataspectj.instrumentation
Used to modify the instruction list of the annotated blocks and to create the new istruction list for the new methods extracted.
InstructionInstrumentationFactory() - Constructor for class ataspectj.instrumentation.InstructionInstrumentationFactory
 
InstrumentationFactory - Class in ataspectj.instrumentation
 
InstrumentationFactory() - Constructor for class ataspectj.instrumentation.InstrumentationFactory
 
InstrumentationRepository - Class in ataspectj.instrumentation
It store the information relative to an annotated block to be extruded.
InstrumentationRepository() - Constructor for class ataspectj.instrumentation.InstrumentationRepository
The standard constructor of the class.
InstrumentationRepository(AccessibleObject, Class, JavaClass, Method, AnnotatedBlock) - Constructor for class ataspectj.instrumentation.InstrumentationRepository
The real constructor of the class.
isIINCInstruction(Instruction) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
It checks if the given instruction is a IINC instruction.
isLoadInstruction(Instruction) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
It checks if the given instruction is a load instruction.
isLocalVariableInstruction(Instruction) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
It checks if the given instruction is a local variable instruction.
isLocalVariableInstruction(Instruction) - Static method in class ataspectj.instrumentation.RepositoryLoader
It checks if the Instruction is a sub class of LocalVariableInstruction.
isPrimitive() - Method in class ataspectj.instrumentation.IndexRepository
It checks if the IndexRepository handles a primitive type local variable.
isStatic() - Method in class ataspectj.instrumentation.InstrumentationRepository
Check if the method is static.
isStoreInstruction(Instruction) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
It checks if the given instruction is a store instruction.
isTheSame(Method, Constructor) - Static method in class ataspectj.instrumentation.RepositoryLoader
It compares a java.lang.reflect.Constructor with a org.apache.bcel.classfile.Method, returns true if they are the same.
isTheSame(Method, Method) - Static method in class ataspectj.instrumentation.RepositoryLoader
It compares a java.lang.reflect.Method with a org.apache.bcel.classfile.Method, returns true if they are the same.

J

JoinPointFactory - Class in ataspectj.reflect
Factory to be used to access to the reflective enviroment.
JoinPointFactory() - Constructor for class ataspectj.reflect.JoinPointFactory
 

K

KIND - Variable in class ataspectj.reflect.BlockJoinPointStaticPart
The kind of the join point

L

launchAjc() - Method in class ataspectj.AjcLauncher
Method used to call ajc.
launchAtJavac() - Method in class ataspectj.AtJavacLauncher
Method used to call ajc.

M

main(String[]) - Static method in class ataspectj.AjcLauncher
Main used to test the class
main(String[]) - Static method in class ataspectj.AspectUpdater
Main used to test the class.
main(String[]) - Static method in class ataspectj.AtAspectjMain
 
main(String[]) - Static method in class ataspectj.AtJavacLauncher
Main used to test the class
makeInitInstructionListForWrapper(ConstantPoolGen, Type, int) - Static method in class ataspectj.instrumentation.PrimitiveTypesFactory
It cretates the instrucion list to create the new Wrapper Object of the primitive type local variable.
makeInitWrapper(Class, String, ConstantPoolGen, int) - Static method in class ataspectj.instrumentation.PrimitiveTypesFactory
It creates the instrcution list to create the specified wrapper object.
makeObjectRefToPrimitive(ConstantPoolGen, Type, int, int) - Static method in class ataspectj.instrumentation.PrimitiveTypesFactory
It cretates the instrucion list to create restore the value from the Wrapper Object to the primitive type local variable.
makePrimitiveToWrapperPrimitive(ConstantPoolGen, IndexRepository) - Static method in class ataspectj.instrumentation.PrimitiveTypesFactory
It creates the instrcution list to store the value of the primitive variable into the wrapper obejct.
makeWrapperBooleanToBoolean(ConstantPoolGen, int, int) - Static method in class ataspectj.instrumentation.PrimitiveTypesFactory
It creates the instrcution list to retrieve the value from a Wrapper Object to the boolean local variable
makeWrapperByteToByte(ConstantPoolGen, int, int) - Static method in class ataspectj.instrumentation.PrimitiveTypesFactory
It creates the instrcution list to retrieve the value from a Wrapper Object to the byte local variable
makeWrapperCharToChar(ConstantPoolGen, int, int) - Static method in class ataspectj.instrumentation.PrimitiveTypesFactory
It creates the instrcution list to retrieve the value from a Wrapper Object to the char local variable
makeWrapperDoubleToDouble(ConstantPoolGen, int, int) - Static method in class ataspectj.instrumentation.PrimitiveTypesFactory
It creates the instrcution list to retrieve the value from a Wrapper Object to the double local variable
makeWrapperFloatToFloat(ConstantPoolGen, int, int) - Static method in class ataspectj.instrumentation.PrimitiveTypesFactory
It creates the instrcution list to retrieve the value from a Wrapper Object to the float local variable
makeWrapperIntToInt(ConstantPoolGen, int, int) - Static method in class ataspectj.instrumentation.PrimitiveTypesFactory
It creates the instrcution list to retrieve the value from a Wrapper Object to the int local variable
makeWrapperLongToLong(ConstantPoolGen, int, int) - Static method in class ataspectj.instrumentation.PrimitiveTypesFactory
It creates the instrcution list to retrieve the value from a Wrapper Object to the long local variable
makeWrapperShortToShort(ConstantPoolGen, int, int) - Static method in class ataspectj.instrumentation.PrimitiveTypesFactory
It creates the instrcution list to retrieve the value from a Wrapper Object to the short local variable
METHOD_SUFFIX - Static variable in class ataspectj.instrumentation.InstrumentationRepository
The suffix of the new method to be created
MethodNotFoundException - Exception in ataspectj.instrumentation.exception
 
MethodNotFoundException() - Constructor for exception ataspectj.instrumentation.exception.MethodNotFoundException
 
MethodNotFoundException(String) - Constructor for exception ataspectj.instrumentation.exception.MethodNotFoundException
 
MethodNotFoundException(String, Throwable) - Constructor for exception ataspectj.instrumentation.exception.MethodNotFoundException
 
MethodNotFoundException(Throwable) - Constructor for exception ataspectj.instrumentation.exception.MethodNotFoundException
 

N

NOMODE - Static variable in class ataspectj.AspectUpdater
No mode selected

P

parseArgs(String[]) - Method in class ataspectj.AspectUpdater
Method used to parse the arguments
PrimitiveTypesFactory - Class in ataspectj.instrumentation
Used to create the instructions to wrap the primitive types into object, so we can pass them to the new method by reference and not by value
PrimitiveTypesFactory() - Constructor for class ataspectj.instrumentation.PrimitiveTypesFactory
 

R

removeLocalVariableTables(String) - Static method in class ataspectj.instrumentation.BytecodeCleaner
It's used to clean up from all the methods, that do not contain Annotated Block, the Local Variable Table.
RepositoryLoader - Class in ataspectj.instrumentation
Used to retrieve reflective object about classes.
RepositoryLoader() - Constructor for class ataspectj.instrumentation.RepositoryLoader
 
RESTORE - Static variable in class ataspectj.AspectUpdater
The command to exec.
restoreAJs() - Method in class ataspectj.AspectUpdater
Method used to restore the original .aj files.
RESTOREOPT - Static variable in class ataspectj.AspectUpdater
The -restore option used to restore the original aj source
restoreOriginalFiles(String[]) - Static method in class ataspectj.instrumentation.SourceCodeBackuper
Restore the backuped files into the originals.
run() - Method in class ataspectj.instrumentation.ClassInstrumenter
Standard method run to exec into a thread.

S

searchIndexRepository(int, IndexRepository[]) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
It searchs the IndexRepository that store the information for the given index.
selectValueMethodName(Type) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
It selects the appropriate method name for the type value.
setEnviroment(String[]) - Method in class ataspectj.AtAspectjMain
 
setIndexWrapperForNewMwthod(int) - Method in class ataspectj.instrumentation.IndexRepository
The setter method for the field _objNewMethodIndex
setIndexWrapperIntoNewMethod(IndexRepository[], int) - Method in class ataspectj.instrumentation.InstrumentationRepository
It sets the index for the new wrapper object in the new method instruction list.
setNewIndex(int) - Method in class ataspectj.instrumentation.IndexRepository
The getter methods for the field _newIndex.
setNewIndexs(IndexRepository[]) - Method in class ataspectj.instrumentation.InstrumentationRepository
It updates the local variables index for the new non-static method.
setNewIndexsForStatic(IndexRepository[]) - Method in class ataspectj.instrumentation.InstrumentationRepository
It updates the local variables index for the new static method.
setWrapperInstructionList(int) - Method in class ataspectj.instrumentation.IndexRepository
It creates the instruction list to wrapper the primitive type
SourceCodeBackuper - Class in ataspectj.instrumentation
Used to backup aj source code
SourceCodeBackuper() - Constructor for class ataspectj.instrumentation.SourceCodeBackuper
 
stampaInstructionHandles(InstructionList) - Static method in class ataspectj.instrumentation.InstrumentationFactory
It prints the InstrcionsHandles of the given instruction list.
stampaInstructions(byte[]) - Static method in class ataspectj.instrumentation.InstrumentationFactory
It prints the Instrcions of the given bytecode
start(String[]) - Static method in class ataspectj.AspectUpdater
It starts the job depending of the exec mode specified into args.
SUFFIX - Static variable in class ataspectj.instrumentation.SourceCodeBackuper
 

T

TOATASPECTJ - Static variable in class ataspectj.AspectUpdater
The command to exec.
TOATASPECTJOPT - Static variable in class ataspectj.AspectUpdater
The -ataspectj option used to translate the new poincut
toLongString() - Method in class ataspectj.reflect.BlockJoinPoint
 
toLongString() - Method in class ataspectj.reflect.BlockJoinPointStaticPart
Returns an extended string representation of the join point
toLongString() - Method in class ataspectj.reflect.BlockSignature
The long string of the annotation.
toLongString() - Method in class ataspectj.reflect.ExprJoinPoint
 
toLongString() - Method in class ataspectj.reflect.ExprJoinPointStaticPart
Returns an extended string representation of the join point
toLongString() - Method in class ataspectj.reflect.ExprSignature
The long string of the annotation.
toShortString() - Method in class ataspectj.reflect.BlockJoinPoint
 
toShortString() - Method in class ataspectj.reflect.BlockJoinPointStaticPart
Returns an extended string representation of the join point
toShortString() - Method in class ataspectj.reflect.BlockSignature
The annoation without the list of members.
toShortString() - Method in class ataspectj.reflect.ExprJoinPoint
 
toShortString() - Method in class ataspectj.reflect.ExprJoinPointStaticPart
Returns an extended string representation of the join point
toShortString() - Method in class ataspectj.reflect.ExprSignature
The annoation without the list of members.
toString() - Method in class ataspectj.instrumentation.IndexRepository
It returns a simple resume of the object.
toString() - Method in class ataspectj.reflect.BlockJoinPoint
 
toString() - Method in class ataspectj.reflect.BlockJoinPointStaticPart
Returns an extended string representation of the join point
toString() - Method in class ataspectj.reflect.BlockSignature
The long string of the annotation.
toString() - Method in class ataspectj.reflect.ExprJoinPoint
 
toString() - Method in class ataspectj.reflect.ExprJoinPointStaticPart
Returns an extended string representation of the join point
toString() - Method in class ataspectj.reflect.ExprSignature
The long string of the annotation.

U

update(Class, JavaClass, ClassGen, ConstantPoolGen, MethodGen) - Method in class ataspectj.instrumentation.InstrumentationRepository
It updates the pricipal field to propagate the changes.
updateAJs() - Method in class ataspectj.AspectUpdater
Method used to translate aj from @AspectJ to AspectJ
updateAnnotationBoundaries(Attribute[], int, int, int) - Static method in class ataspectj.instrumentation.InstrumentationFactory
It updates the boundaries (startPC and endPC) icrementing them by the offset.
updateBlockAnnotation(String) - Method in class ataspectj.AspectUpdater
It updates the @block pointcut.
updateExpressionAspect(String) - Method in class ataspectj.AspectUpdater
It updates the @expr pointcut.
updateIINCInstruction(InstructionHandle, InstructionList, IndexRepository, InstructionFactory, int, int) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
It updates the IINC insruction, it replaces the IINC with a Load, and IADD
updateInstructionList(InstrumentationRepository, IndexRepository[], ConstantPoolGen, boolean) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
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.
updatePrimTypeLoadInstruction(InstructionHandle, InstructionList, IndexRepository, InstructionFactory) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
It updates a primitive types LOAD instrcution, it replaces the LOAD with a Load, and GETFIELD
updatePrimTypeStoreInstruction(InstructionHandle, InstructionList, IndexRepository, InstructionFactory) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
It updates a primitive types store instrcution, it replaces the STORE with a Load, and PUTFIELD
updatePrimTypeStoreInstructionWrapCall(InstructionHandle, InstructionList, IndexRepository, InstructionFactory, ConstantPoolGen) - Static method in class ataspectj.instrumentation.InstructionInstrumentationFactory
It updates a primitive types store instrcution, it replaces the STORE with a Load, and PUTFIELD, in case there is wrapperExpressionCall

V

VERBOSE - Static variable in class ataspectj.AtAspectjComponent
Verbose flag according to the command line

W

Wrapper - Class in ataspectj.instrumentation.wrapper
 
Wrapper() - Constructor for class ataspectj.instrumentation.wrapper.Wrapper
 
WrapperBoolean - Class in ataspectj.instrumentation.wrapper
 
WrapperBoolean() - Constructor for class ataspectj.instrumentation.wrapper.WrapperBoolean
The Default Constructor.
WrapperBoolean(boolean) - Constructor for class ataspectj.instrumentation.wrapper.WrapperBoolean
The Constructor of the class.
WrapperBoolean(Boolean) - Constructor for class ataspectj.instrumentation.wrapper.WrapperBoolean
The Constructor of the class.
WrapperByte - Class in ataspectj.instrumentation.wrapper
 
WrapperByte() - Constructor for class ataspectj.instrumentation.wrapper.WrapperByte
The Default Constructor.
WrapperByte(byte) - Constructor for class ataspectj.instrumentation.wrapper.WrapperByte
The Constructor of the class.
WrapperByte(Byte) - Constructor for class ataspectj.instrumentation.wrapper.WrapperByte
The Constructor of the class.
WrapperChar - Class in ataspectj.instrumentation.wrapper
 
WrapperChar() - Constructor for class ataspectj.instrumentation.wrapper.WrapperChar
The Default Constructor.
WrapperChar(char) - Constructor for class ataspectj.instrumentation.wrapper.WrapperChar
The Constructor of the class.
WrapperChar(Character) - Constructor for class ataspectj.instrumentation.wrapper.WrapperChar
The Constructor of the class.
WrapperDouble - Class in ataspectj.instrumentation.wrapper
 
WrapperDouble() - Constructor for class ataspectj.instrumentation.wrapper.WrapperDouble
The Default Constructor.
WrapperDouble(double) - Constructor for class ataspectj.instrumentation.wrapper.WrapperDouble
The Constructor of the class.
WrapperDouble(Double) - Constructor for class ataspectj.instrumentation.wrapper.WrapperDouble
The Constructor of the class.
WrapperFloat - Class in ataspectj.instrumentation.wrapper
 
WrapperFloat() - Constructor for class ataspectj.instrumentation.wrapper.WrapperFloat
The Default Constructor.
WrapperFloat(float) - Constructor for class ataspectj.instrumentation.wrapper.WrapperFloat
The Constructor of the class.
WrapperFloat(Float) - Constructor for class ataspectj.instrumentation.wrapper.WrapperFloat
The Constructor of the class.
WrapperInt - Class in ataspectj.instrumentation.wrapper
 
WrapperInt() - Constructor for class ataspectj.instrumentation.wrapper.WrapperInt
The default Constructor
WrapperInt(int) - Constructor for class ataspectj.instrumentation.wrapper.WrapperInt
The Constructor of the class.
WrapperInt(Integer) - Constructor for class ataspectj.instrumentation.wrapper.WrapperInt
The Constructor of the class.
WrapperLong - Class in ataspectj.instrumentation.wrapper
 
WrapperLong() - Constructor for class ataspectj.instrumentation.wrapper.WrapperLong
The Default Constructor.
WrapperLong(long) - Constructor for class ataspectj.instrumentation.wrapper.WrapperLong
The Constructor of the class.
WrapperLong(Long) - Constructor for class ataspectj.instrumentation.wrapper.WrapperLong
The Constructor of the class.
WrapperShort - Class in ataspectj.instrumentation.wrapper
 
WrapperShort() - Constructor for class ataspectj.instrumentation.wrapper.WrapperShort
The Default Constructor.
WrapperShort(short) - Constructor for class ataspectj.instrumentation.wrapper.WrapperShort
The Constructor of the class.
WrapperShort(Short) - Constructor for class ataspectj.instrumentation.wrapper.WrapperShort
The Constructor of the class.

_

_ajToUpdate - Variable in class ataspectj.AspectUpdater
The list of aj file to check.
_annBlock - Variable in class ataspectj.reflect.BlockJoinPointStaticPart
The Annotated Bolck.
_annExpr - Variable in class ataspectj.reflect.ExprJoinPointStaticPart
The Annotated Expression.
_annName - Variable in class ataspectj.reflect.BlockJoinPointStaticPart
The Annotation Name.
_annName - Variable in class ataspectj.reflect.ExprJoinPointStaticPart
The Annotation Name.
_annotatedBlock - Variable in class ataspectj.instrumentation.InstrumentationRepository
The annotated block to instrument.
_annotatedBytecode - Variable in class ataspectj.instrumentation.InstrumentationRepository
The annotated bytecode.
_annotatedIl - Variable in class ataspectj.instrumentation.InstrumentationRepository
The annotated instruction list.
_annotationName - Variable in class ataspectj.BlockAnnotationPointcut
The Annotation Name.
_annotationName - Variable in class ataspectj.ExpressionAnnotationPointcut
The Annotation Name.
_class - Variable in class ataspectj.instrumentation.InstrumentationRepository
The owner class of the annotated block.
_classGen - Variable in class ataspectj.instrumentation.InstrumentationRepository
The ClassGen associated with the class.
_constantPoolGen - Variable in class ataspectj.instrumentation.IndexRepository
It holds the constant pool gen.
_cpgen - Variable in class ataspectj.instrumentation.InstrumentationRepository
The constant pool gen associated with the class.
_firstArg - Variable in class ataspectj.reflect.ExprJoinPointStaticPart
The first parameter of the methoc callWrappperExpressionAnnotation of @Java
_freeIndex - Static variable in class ataspectj.instrumentation.InstrumentationRepository
Hash table used to store for each method wich free index is available.
_freeLocalIndex - Variable in class ataspectj.instrumentation.InstrumentationRepository
It stores the first local index freee.
_invoke - Variable in class ataspectj.instrumentation.InstrumentationRepository
The invoke instruction list of the new method.
_irAnnotated - Variable in class ataspectj.instrumentation.InstrumentationRepository
The index repository array to trace all the variables envolved.
_isPrimitive - Variable in class ataspectj.instrumentation.IndexRepository
Boolean flags, true if the local variable haa primitive type.
_javaclass - Variable in class ataspectj.instrumentation.InstrumentationRepository
The JavaClass object of the class.
_jp - Variable in class ataspectj.reflect.BlockJoinPointStaticPart
The retrieved AspectJ join point.
_jp - Variable in class ataspectj.reflect.ExprJoinPointStaticPart
The retrieved AspectJ join point.
_keyFreeIndexHash - Variable in class ataspectj.instrumentation.InstrumentationRepository
 
_longString - Variable in class ataspectj.reflect.BlockJoinPointStaticPart
The pointcut long string.
_longString - Variable in class ataspectj.reflect.ExprJoinPointStaticPart
The pointcut long string.
_method - Variable in class ataspectj.instrumentation.InstrumentationRepository
The Bcel version of the object.
_methodGen - Variable in class ataspectj.instrumentation.InstrumentationRepository
The MethodGen object relative to the method
_mode - Variable in class ataspectj.AspectUpdater
The exec mode of the class.
_modified - Variable in class ataspectj.instrumentation.InstrumentationRepository
Bit vector to remeber which instruction are already modified.
_newBytecode - Variable in class ataspectj.instrumentation.InstrumentationRepository
The new bytecode modified by the instrumentation process, it will be the final bytecode of the method.
_newIl - Variable in class ataspectj.instrumentation.InstrumentationRepository
The final instruction list after the change.
_newIndex - Variable in class ataspectj.instrumentation.IndexRepository
It holds the index of the local variable into the new method.
_newMethodName - Variable in class ataspectj.instrumentation.InstrumentationRepository
The new method name
_newPointCut - Variable in class ataspectj.ExpressionAnnotationPointcut
The new AspectJ valid pointcut.
_newPointCutCall - Variable in class ataspectj.BlockAnnotationPointcut
The new AspectJ valid pointcut.
_newPointCutCall - Variable in class ataspectj.ExpressionAnnotationPointcut
The new call AspectJ valid pointcut.
_numParam - Variable in class ataspectj.instrumentation.InstrumentationRepository
the number of parameter of the new method.
_obj - Variable in class ataspectj.instrumentation.InstrumentationRepository
The AccessibleObject relative to the method or constructor.
_objectRefToPrimitive - Variable in class ataspectj.instrumentation.IndexRepository
It holds the instructions to restore the value of the primitive type from the wrapper object.
_objNewMethodIndex - Variable in class ataspectj.instrumentation.IndexRepository
It holds the index into the new method for the new wrapper object
_objRefIndex - Variable in class ataspectj.instrumentation.IndexRepository
It holds the index of the new wrapper object created into the original method.
_oldIl - Variable in class ataspectj.instrumentation.InstrumentationRepository
The original Instruction List
_oldIndex - Variable in class ataspectj.instrumentation.IndexRepository
It holds the index of the local variable into the original method.
_oldMethodBytecode - Variable in class ataspectj.instrumentation.InstrumentationRepository
The original bytecode of the method
_params - Variable in class ataspectj.AjcLauncher
The parameters passed to the compiler
_params - Variable in class ataspectj.AtJavacLauncher
The parameters passed to the compiler
_primitiveToObjectRef - Variable in class ataspectj.instrumentation.IndexRepository
It holds the instructions to wrap the primitive variable into a wrapper object of @aspectj
_sp - Variable in class ataspectj.reflect.BlockJoinPointStaticPart
The retrieved AspectJ JoinPoint.StaticPart
_sp - Variable in class ataspectj.reflect.ExprJoinPointStaticPart
The retrieved AspectJ JoinPoint.StaticPart
_startC - Variable in class ataspectj.reflect.BlockJoinPointStaticPart
The Start Source Column.
_startC - Variable in class ataspectj.reflect.ExprJoinPointStaticPart
The Start Source Column.
_startL - Variable in class ataspectj.reflect.BlockJoinPointStaticPart
The Start Source Line.
_startL - Variable in class ataspectj.reflect.ExprJoinPointStaticPart
The Start Source Line.
_type - Variable in class ataspectj.instrumentation.IndexRepository
It holds the type of the local variable
_typeSign - Variable in class ataspectj.instrumentation.IndexRepository
It holds the type signature of the local variable.
_vName - Variable in class ataspectj.instrumentation.IndexRepository
It holds the name of the local variable
_wrapNew - Variable in class ataspectj.instrumentation.IndexRepository
It holds the instructions to create the new wrapper object of @aspectj

A B C D E G I J K L M N P R S T U V W _