|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectabc.weaving.aspectinfo.DeclareMessage.MessageAdvice
public static class DeclareMessage.MessageAdvice
Constructor Summary | |
---|---|
DeclareMessage.MessageAdvice()
|
Method Summary | |
---|---|
boolean |
isAfter()
Is this advice spec for "after" advice? |
Residue |
matchesAt(WeavingEnv we,
ShadowMatch sm,
AbstractAdviceDecl ad)
Does this kind of advice match at the given join point shadow? |
void |
weave(SootMethod method,
LocalGeneratorEx localgen,
AdviceApplication adviceappl)
Weave a specific advice application into the given method using the given local generator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeclareMessage.MessageAdvice()
Method Detail |
---|
public boolean isAfter()
AdviceSpec
isAfter
in interface AdviceSpec
public Residue matchesAt(WeavingEnv we, ShadowMatch sm, AbstractAdviceDecl ad)
AdviceSpec
matchesAt
in interface AdviceSpec
we
- The weaving environmentsm
- The shadow match structuread
- The advice declaration being matched, for use in generating a good error message
if appropriatepublic void weave(SootMethod method, LocalGeneratorEx localgen, AdviceApplication adviceappl)
AdviceSpec
weave
in interface AdviceSpec
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |