abc.weaving.aspectinfo
Class PerCflowSetup

java.lang.Object
  extended by abc.weaving.aspectinfo.Syntax
      extended by abc.weaving.aspectinfo.AbstractAdviceDecl
          extended by abc.weaving.aspectinfo.PerSetupAdvice
              extended by abc.weaving.aspectinfo.PerCflowSetup
All Implemented Interfaces:
java.lang.Cloneable

public class PerCflowSetup
extends PerSetupAdvice

Synthetic advice to support instantiation of percflow aspects

Author:
Ganesh Sittampalam

Nested Class Summary
static class PerCflowSetup.PerCflowSetupWeavingContext
           
 
Field Summary
 
Fields inherited from class abc.weaving.aspectinfo.AbstractAdviceDecl
pc, spec
 
Constructor Summary
PerCflowSetup(Aspect aspct, Pointcut pc, boolean isBelow, Position pos)
           
 
Method Summary
 void debugInfo(java.lang.String prefix, java.lang.StringBuffer sb)
           
 boolean isBelow()
           
 Chain makeAdviceExecutionStmts(AdviceApplication adviceappl, LocalGeneratorEx localgen, WeavingContext wc)
          Produce a chain containing the statements to execute this piece of advice.
 WeavingContext makeWeavingContext()
           
 Residue postResidue(ShadowMatch sm)
           
 
Methods inherited from class abc.weaving.aspectinfo.PerSetupAdvice
getWeavingEnv, toString
 
Methods inherited from class abc.weaving.aspectinfo.AbstractAdviceDecl
clone, errorInfo, getAdviceSpec, getApplCount, getAspect, getDefiningAspect, getFormals, getPointcut, getPrecedence, hasEnclosingJoinPoint, hasJoinPoint, hasJoinPointStaticPart, incrApplCount, makeCopyInAspect, preprocess, preResidue, reportMessages, resetForReweaving
 
Methods inherited from class abc.weaving.aspectinfo.Syntax
getPosition
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PerCflowSetup

public PerCflowSetup(Aspect aspct,
                     Pointcut pc,
                     boolean isBelow,
                     Position pos)
Method Detail

isBelow

public boolean isBelow()

makeWeavingContext

public WeavingContext makeWeavingContext()
Specified by:
makeWeavingContext in class AbstractAdviceDecl

makeAdviceExecutionStmts

public Chain makeAdviceExecutionStmts(AdviceApplication adviceappl,
                                      LocalGeneratorEx localgen,
                                      WeavingContext wc)
Description copied from class: AbstractAdviceDecl
Produce a chain containing the statements to execute this piece of advice. If execution reaches the beginning of the chain, then the advice definitely applies.

Specified by:
makeAdviceExecutionStmts in class AbstractAdviceDecl
Parameters:
adviceappl - The advice application structure.
localgen - A local variable generator for the method body being woven into
wc - The weaving context

postResidue

public Residue postResidue(ShadowMatch sm)
Overrides:
postResidue in class AbstractAdviceDecl

debugInfo

public void debugInfo(java.lang.String prefix,
                      java.lang.StringBuffer sb)
Specified by:
debugInfo in class AbstractAdviceDecl