Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » 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 10:42
Peter Friese is currently offline Peter FrieseFriend
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: Tue Apr 16 13:35:02 GMT 2024

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

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

Back to the top