org.codehaus.aspectwerkz.xmldef.transform
Class IntroductionTransformer

java.lang.Object
  extended byorg.codehaus.aspectwerkz.xmldef.transform.IntroductionTransformer

public class IntroductionTransformer
extends java.lang.Object

Handles the xmldef specific algorithms for adding the introductions.

Author:
Jonas Bonér

Constructor Summary
IntroductionTransformer()
           
 
Method Summary
static void addInterfaceIntroductions(AspectWerkzDefinition definition, org.apache.bcel.generic.ClassGen cg, org.apache.bcel.generic.ConstantPoolGen cpg, Context context)
          Adds the interface introductions to the class.
static void addMethodIntroductions(AspectWerkzDefinition definition, Context context, 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
 

Constructor Detail

IntroductionTransformer

public IntroductionTransformer()
Method Detail

addInterfaceIntroductions

public static void addInterfaceIntroductions(AspectWerkzDefinition definition,
                                             org.apache.bcel.generic.ClassGen cg,
                                             org.apache.bcel.generic.ConstantPoolGen cpg,
                                             Context context)
Adds the interface introductions to the class.

Parameters:
definition - the definition
cg - the class gen
cpg - the constant pool gen

addMethodIntroductions

public static void addMethodIntroductions(AspectWerkzDefinition definition,
                                          Context context,
                                          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 definition
context - the transformation context
cg - the class gen
cpg - the constant pool gen
factory - the instruction objectfactory
transformer - the transformer


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.