Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Another problem with static crosscutting...
Another problem with static crosscutting... [message #589330] Sun, 10 July 2005 22:03
Michael Moser is currently offline Michael MoserFriend
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
Previous Topic:don't understand serialVersionUID related warning
Next Topic:Another problem with static crosscutting...
Goto Forum:
  


Current Time: Tue Apr 23 07:03:59 GMT 2024

Powered by FUDForum. Page generated in 0.02807 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top