abc.weaving.matching
Class StmtAdviceApplication

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

public class StmtAdviceApplication
extends AdviceApplication

Application of advice at a standard statement joinpoint

Author:
Ganesh Sittampalam, Ondrej Lhotak

Field Summary
 Stmt stmt
           
 
Fields inherited from class abc.weaving.matching.AdviceApplication
advice, shadowmatch
 
Constructor Summary
StmtAdviceApplication(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.
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Field Detail

stmt

public Stmt stmt
Constructor Detail

StmtAdviceApplication

public StmtAdviceApplication(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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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