|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectabc.weaving.matching.AdviceApplication
public abstract class AdviceApplication
The data structure the pointcut matcher computes. One of these is constructed for each piece of advice at each shadow where it might apply.
Field Summary | |
---|---|
AbstractAdviceDecl |
advice
The advice to be applied. |
ShadowMatch |
shadowmatch
|
Constructor Summary | |
---|---|
AdviceApplication(AbstractAdviceDecl advice,
Residue residue)
|
Method Summary | |
---|---|
static java.util.Hashtable |
computeAdviceLists(GlobalAspectInfo info)
Construct a hash table mapping each concrete soot.SootMethod
in each weaveable class to a MethodAdviceList for that method. |
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 |
static void |
doShadows(GlobalAspectInfo info,
MethodAdviceList mal,
SootClass cls,
SootMethod method,
MethodPosition pos)
|
Residue |
getResidue()
|
java.util.List |
getResidueBoxes()
|
abstract AdviceApplication |
inline(ConstructorInliningMap cim)
Create a new AdviceApplication that's just like this one, but applies to an inlined version of the code. |
void |
reportMessages()
Report any errors or warnings for this advice application. |
void |
setResidue(Residue r)
|
void |
setShadowMatch(ShadowMatch sm)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public AbstractAdviceDecl advice
public ShadowMatch shadowmatch
Constructor Detail |
---|
public AdviceApplication(AbstractAdviceDecl advice, Residue residue)
Method Detail |
---|
public Residue getResidue()
public void setResidue(Residue r)
public java.util.List getResidueBoxes()
public final void setShadowMatch(ShadowMatch sm)
public void debugInfo(java.lang.String prefix, java.lang.StringBuffer sb)
public static void doShadows(GlobalAspectInfo info, MethodAdviceList mal, SootClass cls, SootMethod method, MethodPosition pos) throws SemanticException
SemanticException
public static java.util.Hashtable computeAdviceLists(GlobalAspectInfo info) throws SemanticException
soot.SootMethod
in each weaveable class to a MethodAdviceList
for that method.
SemanticException
public void reportMessages()
public abstract AdviceApplication inline(ConstructorInliningMap cim)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |