org.codehaus.aspectwerkz.attribdef.transform
Class IntroductionTransformer
java.lang.Object
org.codehaus.aspectwerkz.attribdef.transform.IntroductionTransformer
- public class IntroductionTransformer
- extends java.lang.Object
Handles the attribdef specific algorithms for adding the introductions.
- Author:
- Jonas Bonér, Alexandre Vasseur
Method Summary |
static void |
addInterfaceIntroductions(AspectWerkzDefinition definition,
org.apache.bcel.generic.ClassGen cg,
org.apache.bcel.generic.ConstantPoolGen cpg,
Context context,
ClassMetaData classMetaData)
Adds the interface introductions to the class. |
static void |
addMethodIntroductions(AspectWerkzDefinition definition,
Context context,
ClassMetaData classMetaData,
org.apache.bcel.generic.ClassGen cg,
org.apache.bcel.generic.ConstantPoolGen cpg,
org.apache.bcel.generic.InstructionFactory factory,
AddImplementationTransformer transformer)
Adds introductions to the class. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntroductionTransformer
public IntroductionTransformer()
addInterfaceIntroductions
public static void addInterfaceIntroductions(AspectWerkzDefinition definition,
org.apache.bcel.generic.ClassGen cg,
org.apache.bcel.generic.ConstantPoolGen cpg,
Context context,
ClassMetaData classMetaData)
- Adds the interface introductions to the class.
- Parameters:
definition
- the definitioncg
- the class gencpg
- the constant pool genclassMetaData
- the class meta-data
addMethodIntroductions
public static void addMethodIntroductions(AspectWerkzDefinition definition,
Context context,
ClassMetaData classMetaData,
org.apache.bcel.generic.ClassGen cg,
org.apache.bcel.generic.ConstantPoolGen cpg,
org.apache.bcel.generic.InstructionFactory factory,
AddImplementationTransformer transformer)
- Adds introductions to the class.
- Parameters:
definition
- the definitioncontext
- the transformation contextclassMetaData
- the class meta-datacg
- the class gencpg
- the constant pool genfactory
- the instruction objectfactorytransformer
- the transformer
Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.