Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » Introduction to more than one class does not work for AJDT 1.1.1
Introduction to more than one class does not work for AJDT 1.1.1 [message #564906] Wed, 19 March 2003 05:42
Peter Friese is currently offline Peter Friese
Messages: 23
Registered: July 2009
Junior Member
Hi,

The following code is legal AspectJ and compiles with standalone AspectJ
1.0 and up, but not in AJDT 1.1.1:

public aspect TestAspect {
public String (Person || Boss).getTest() {
return "Test";
}
}

The compiler states that the "Return type for the method is missing".

I also tried using the aspectjtools.jar located in the plugin directory
from the commandline, and it gives me the same errors:

D:\workspace\TestAspects2\src\com\lhsystems\test2\BoldPerson .java:29
Return type for the method is missing
public String (Person || Boss).getTest() {
^^^^^^^^

Any clues?

Peter
Previous Topic:Build where source dir is not root of project fails
Next Topic:Introduction to more than one class does not work for AJDT 1.1.1
Goto Forum:
  


Current Time: Fri Jul 25 19:19:24 EDT 2014

Powered by FUDForum. Page generated in 0.02492 seconds