abc.weaving.matching
Class NewStmtAdviceApplication

java.lang.Object
  extended by abc.weaving.matching.AdviceApplication
      extended by abc.weaving.matching.NewStmtAdviceApplication

public class NewStmtAdviceApplication
extends AdviceApplication

Application of advice at a constructor call joinpoint

Author:
Ganesh Sittampalam, Ondrej Lhotak

Field Summary
 Stmt stmt
           
 
Fields inherited from class abc.weaving.matching.AdviceApplication
advice, shadowmatch
 
Constructor Summary
NewStmtAdviceApplication(AbstractAdviceDecl advice, Residue residue, Stmt stmt)
           
 
Method Summary
 void debugInfo(java.lang.String prefix, java.lang.StringBuffer sb)
          Add some information about the advice application to a string buffer, starting each line with the given prefix
 AdviceApplication inline(ConstructorInliningMap cim)
          Create a new AdviceApplication that's just like this one, but applies to an inlined version of the code.
 
Methods inherited from class abc.weaving.matching.AdviceApplication
computeAdviceLists, doShadows, getResidue, getResidueBoxes, reportMessages, setResidue, setShadowMatch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stmt

public Stmt stmt
Constructor Detail

NewStmtAdviceApplication

public NewStmtAdviceApplication(AbstractAdviceDecl advice,
                                Residue residue,
                                Stmt stmt)
Method Detail

debugInfo

public void debugInfo(java.lang.String prefix,
                      java.lang.StringBuffer sb)
Description copied from class: AdviceApplication
Add some information about the advice application to a string buffer, starting each line with the given prefix

Overrides:
debugInfo in class AdviceApplication

inline

public AdviceApplication inline(ConstructorInliningMap cim)
Description copied from class: AdviceApplication
Create a new AdviceApplication that's just like this one, but applies to an inlined version of the code.

Specified by:
inline in class AdviceApplication