abc.weaving.matching
Class ClassInitializationAdviceApplication

java.lang.Object
  extended by abc.weaving.matching.AdviceApplication
      extended by abc.weaving.matching.ConstructorAdviceApplication
          extended by abc.weaving.matching.ClassInitializationAdviceApplication

public class ClassInitializationAdviceApplication
extends ConstructorAdviceApplication

For initialization pointcuts

Author:
Ganesh Sittampalam, Ondrej Lhotak

Field Summary
 
Fields inherited from class abc.weaving.matching.AdviceApplication
advice, shadowmatch
 
Constructor Summary
ClassInitializationAdviceApplication(AbstractAdviceDecl advice, Residue residue)
           
 
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
 

Constructor Detail

ClassInitializationAdviceApplication

public ClassInitializationAdviceApplication(AbstractAdviceDecl advice,
                                            Residue residue)
Method Detail

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

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