|
From: Sven L. <Sve...@we...> - 2003-08-02 14:34:43
|
Hello,
first of all we have got a new abstract Method at the AbstractWeavepoint.
The method is called getMopObject and returns the corresponding object
concerning the Weave point.
Furthermore we have got four new functions at the MethodWeavepoint.
Now you can specify from respectively to whether or not
the transformation should start.
At this point an example should be given:
script rollout {
foreach c in class('flat.B') do {
foreach m in c.methods do {
m.beforeEntryFrom(class('flat.A'), ${
System.out.println("Entering method...");
}$);
}
}
}
The first parameter is a list with methods, classes and packages.
Regards
Sven
|