|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectabc.weaving.weaver.AdviceApplicationVisitor
public class AdviceApplicationVisitor
Class for easy traversal of all advice applications of all weavable methods.
Usage:
AdviceApplicationVisitor.v().traverse(new AdviceApplicationVisitor.AdviceApplicationHandler() {
public void adviceApplication(AdviceApplication aa, SootMethod m) {
// process it
}
};
| Nested Class Summary | |
|---|---|
static interface |
AdviceApplicationVisitor.AdviceApplicationHandler
Callback for advice applications. |
| Field Summary | |
|---|---|
protected static AdviceApplicationVisitor |
instance
|
| Method Summary | |
|---|---|
void |
traverse(AdviceApplicationVisitor.AdviceApplicationHandler aah)
Traverses all advice applications of all weavable classes calling the given AdviceApplicationVisitor.AdviceApplicationHandler. |
static AdviceApplicationVisitor |
v()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static AdviceApplicationVisitor instance
| Method Detail |
|---|
public final void traverse(AdviceApplicationVisitor.AdviceApplicationHandler aah)
AdviceApplicationVisitor.AdviceApplicationHandler.
aah - an AdviceApplicationVisitor.AdviceApplicationHandlerpublic static AdviceApplicationVisitor v()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||