Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsInter-type declaration: error marker but compiles fine
https://www.eclipse.org/forums/index.php/mv/msg/188034/596476/#msg_596476
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?