Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] An oddity of AJDT

I don't know if this is reported before, but the
following code which passes AspectJ compiler causes
AJDT to flag an error on the Java editor. I'm using
the latest AJDT release through the update site.

public interface IMarshal {
	
}

public interface IMyBuffer {

}

public aspect Type {
	public void IMarshal.read_boolean()
	{
		System.out.println("hi");
		return ;
	}
	declare parents: MyBuffer implements IMarshal;
	

}

public class Main {
	public void test(MyBuffer buf){
		buf.read_boolean();
	}
	public static void main(String[] args) {
		new Main().test(new MyBuffer());
		
	}
}

The AJDT error is complaining "read_boolean" is not a
defined operation. 

Thanks.


Yawn !!


Back to the top