Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Inter-type declaration: error marker but compiles fine
Inter-type declaration: error marker but compiles fine [message #596476] Sat, 03 November 2007 15:13
Stefan Bley is currently offline Stefan BleyFriend
Messages: 23
Registered: July 2009
Junior Member
Hi, I have got the following classes and aspects:

public interface IService {}

public abstract class Service implements Service() {}

public aspect ServiceAspect {
public String IService.getName();
private String Service.name;
public String Service.getName() { return name; }
}

Now I want to call getName() like that:

public class ServiceImpl extends Service{
void myMethod() {
String n = getName(); // error marker: Is undefined for the type
ServiceImpl
}
}

but it compiles without problems. Have I done something wrong or is it a
AJDT bug?

Regards, Stevy
Previous Topic:Inter-type declaration: error marker but compiles fine
Next Topic:AJDT Visualiser Data
Goto Forum:
  


Current Time: Thu Mar 28 11:46:48 GMT 2024

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

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

Back to the top