Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » (again) Eclipse doesn't recognize introduced method
(again) Eclipse doesn't recognize introduced method [message #591244] Wed, 14 December 2005 20:56
Eclipse UserFriend
Originally posted by:


I'm posting this message again, because there was no replies...

I'm using intertype declarations in order to make my classes implement a

public aspect Persistencia {
declare parents:* implements Persistente;
private int Persistente.chave = 0;
public int Persistente.getChave() {
return chave;
public void Persistente.setChave(int chave) {
this.chave = chave;

public interface Persistente {
public int getChave();
public void setChave(int chave);

The compilation works fine, and I can see the method getChave() if I
decompile the "" class. But when I try to use
this method, eclipse bombs with message: "The method getChave() is undefined
for classe Pessoa".

My current configuration is:

Eclipse Java Development Tools SDK
Version: 3.1.0
Build id: I20050627-1435

Eclipse AspectJ Development Tools
Version: 1.3.0
Build id: 20051208103628
AspectJ version:

What am I doing wrong?


Previous Topic:Newbie has Eclipse 3.1.1 - which version of AJDT ??
Next Topic:AJDT 1.2.1RC1 and 1.3.0RC1 now available
Goto Forum:

Current Time: Mon Nov 30 01:08:12 GMT 2015

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

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