Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Fighting AJDT
Fighting AJDT [message #591444] Fri, 23 December 2005 16:47
Eclipse UserFriend
Originally posted by: as851.columbia.edu

I am fighting the latest AJDT for a couple of hours now. So decided to
just make sure it is not me ... here is the aspect that just would not
let me live :-)

public abstract aspect AbstractPrettyPrintAspect {

protected abstract pointcut toStringMethod(java.lang.Object
targetObject)


;

around (Object targetObject) : toStringMethod(targetObject) {
String result = (String) proceed(targetObject);
if (shouldOverwrite(result,targetObject))
result = "overwrite";
return result;
}

....

}

is there anything wrong with it. I am getting an error form AJDT on the
line that declares the abstract pointcut. Eclipse complains "Syntax
error on token ";", Type expected after this token"

I can not see what is wrong here. The funny part is that I have an
aspect in different project that has a declaration of the pointcut that
matches one-to-one but names and it works just fine.

Any advice?

I am running:
Version: 1.3.0
Build id: 20051220093604
AspectJ version: 1.5.0
Previous Topic:Integrate AspectJ with existing Jabva projects
Next Topic:Fighting AJDT
Goto Forum:
  


Current Time: Fri Apr 19 07:55:37 GMT 2024

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

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

Back to the top