Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » Eclipse doesn't recognize introduced method
Eclipse doesn't recognize introduced method [message #58984] Sun, 11 December 2005 21:48
Eclipse UserFriend
Originally posted by:


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".

What am I doing wrong?


Previous Topic:hierarchy tree of aspectj projects
Next Topic:Eclipse doesn't recognize introduced method
Goto Forum:

Current Time: Mon Oct 05 17:30:44 GMT 2015

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

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