Package org.codehaus.aspectwerkz.transform.inlining.weaver

Class Summary
AddInterfaceVisitor Adds an interface to the target class.
AddMixinMethodsVisitor Adds mixin methods and fields to hold mixin instances to the target class.
AddWrapperVisitor Adds field and method wrappers when there has been at least one joinpoint emitted.
AfterObjectInitializationCodeAdapter A visitor that keeps track of NEW and INVOKESPECIAL when within a constructor to flag when the object initialization has been reached (after this/super call).
AlreadyAddedMethodAdapter A read only visitor to gather wrapper methods and proxy methods Makes use of the NullVisitors
AlreadyAddedMethodVisitor A read only visitor to gather wrapper methods and proxy methods Makes use of the NullVisitors
ConstructorBodyVisitor Handles constructor execution weaving.
ConstructorCallVisitor Instruments ctor CALL join points by replacing INVOKEXXX instructions with invocations of the compiled join point.
ConstructorCallVisitor.LookaheadNewDupInvokeSpecialInstructionClassAdapter Lookahead index of NEW instruction for NEW + DUP + INVOKESPECIAL instructions Remember the NEW instruction index

Special case when withincode ctor of called ctor: public Foo() { super(new Foo()); } In such a case, it is not possible to intercept the call to new Foo() since this cannot be referenced as long as this(..) or super(..) has not been called.

ConstructorCallVisitor.LookaheadNewDupInvokeSpecialInstructionCodeAdapter  
FieldSetFieldGetVisitor Instruments method SET and GET join points by replacing PUTFIELD and GETFIELD instructions with invocations of the compiled join point.
HandlerVisitor Advises catch clauses by inserting a call to the join point as the first thing in the catch block.
HandlerVisitor.LookaheadCatchLabelsClassAdapter A visitor that looks for all catch clause and keep track of them providing that they match
InstanceLevelAspectVisitor Adds an instance level aspect management to the target class.
JoinPointInitVisitor A ClassAdapter that take care of all weaved class and add the glue between the class and its JIT dependencies.
LabelToLineNumberVisitor  
MethodCallVisitor Instruments method CALL join points by replacing INVOKEXXX instructions with invocations of the compiled join point.
MethodExecutionVisitor Adds a "proxy method" to the methods that matches an execution pointcut as well as prefixing the "original method".
SerialVersionUidVisitor See http://java.sun.com/j2se/1.5.0/docs/guide/serialization/spec/class.html#60

The SerialVersionUidVisitor lookups for the serial ver uid and compute it when not found.

SerialVersionUidVisitor.Add Add the serial version uid to the class if not already present
StaticInitializationVisitor Adds a "proxy method" to the <clinit> that matches an staticinitialization pointcut as well as prefixing the "original method" (see TransformationUtil.getPrefixedOriginalClinitName(String)).
 



Copyright © 2002-2005 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.