abc.weaving.aspectinfo
Class PerTargetSetup
java.lang.Object
abc.weaving.aspectinfo.Syntax
abc.weaving.aspectinfo.AbstractAdviceDecl
abc.weaving.aspectinfo.PerSetupAdvice
abc.weaving.aspectinfo.PerTargetSetup
- All Implemented Interfaces:
- java.lang.Cloneable
public class PerTargetSetup
- extends PerSetupAdvice
Synthetic advice to support instantiation of pertarget aspects
- Author:
- Ganesh Sittampalam
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 java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PerTargetSetup
protected PerTargetSetup(Aspect aspct,
Pointcut pc,
Position pos)
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 intowc
- 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