abc.weaving.weaver
Class AspectCodeGen

java.lang.Object
  extended by abc.weaving.weaver.AspectCodeGen

public class AspectCodeGen
extends java.lang.Object

Adds fields and methods to classes representing aspects.

Author:
Jennifer Lhotak, Ondrej Lhotak, Laurie Hendren, Ganesh Sittampalam

Constructor Summary
AspectCodeGen()
           
 
Method Summary
 void fillInAspect(Aspect aspct)
           
 void fillInPerCflowAspect(Aspect aspct)
           
 void fillInPerObjectAspect(Aspect aspct)
          top-level call to fill in per aspect with fields and methods
 void fillInSingletonAspect(Aspect aspct)
          top-level call to fill in singleton aspect with fields and methods
 void genPerCflowStackField(SootClass aspct)
           
 SootMethod getPreClinit(SootClass cl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AspectCodeGen

public AspectCodeGen()
Method Detail

fillInAspect

public void fillInAspect(Aspect aspct)

fillInSingletonAspect

public void fillInSingletonAspect(Aspect aspct)
top-level call to fill in singleton aspect with fields and methods


fillInPerObjectAspect

public void fillInPerObjectAspect(Aspect aspct)
top-level call to fill in per aspect with fields and methods


fillInPerCflowAspect

public void fillInPerCflowAspect(Aspect aspct)

genPerCflowStackField

public void genPerCflowStackField(SootClass aspct)

getPreClinit

public SootMethod getPreClinit(SootClass cl)