Another problem with static crosscutting... [message #589330] |
Sun, 10 July 2005 22:03 |
Michael Moser Messages: 914 Registered: July 2009 |
Senior Member |
|
|
The aspects and most of my code now compiles fine, but I just ran into
another problem with my cross-cutting aspect:
Two classes that are aspectized/aspectified/adviced/cross-cut(?) by my
advice now show the following error:
Severity Description Resource In Folder Location Creation Time
2 Implicit super constructor <foo>() is not visible. Must explicitly
invoke another constructor <bar>.java <package> line 126 July 10, 2005
11:37:04 PM
<foo> and <bar> indeed are in two different packages, i.e. abstracted my
aspect reads:
------------------------
package x.y.z;
import a.b.<foo>; // foo is an interface
import c.d.<bar>; // bar is an interface
public aspect XYZ implements <bar> {
declare parent: <foo> implements XYZ; // I also tried "extends" - no
difference
(... adding the methods required for <bar> here...)
}
------------------------
I also tried adding a public parameterless constructor to the aspect,
again no difference.
How can I tell the weaved-in code where to find <bar> other then via the
declare ... statement???
Very puzzled,
Michael
|
|
|
Powered by
FUDForum. Page generated in 0.02807 seconds