Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Newbie got Problems creating ANY (a little complex) aspect... or is it syntax?
Newbie got Problems creating ANY (a little complex) aspect... or is it syntax? [message #590099] Mon, 26 September 2005 10:16
Eclipse UserFriend
Originally posted by: Dominik.pich.info

So... is AJDT simply not far enough along and should I use aspectJ
directly or is it my fault again?
I did read tutorials and BOTH this and the aspect in my last post SEEM
fine to me but neither compiles.

- the other throwing a NullPointerException at compile-time
- this one raising an IllegalStateException: Wrong number of type
parameters supplied

---

public aspect Trace {

pointcut totrace(TraceLevel level) : execution(* * (..)) &&
@annotation(level);

before(TraceLevel level): totrace(level) {
//doTraceEntry(thisJoinPoint);
}

after(TraceLevel level): totrace(level) {
//doTraceExit(thisJoinPoint);
}

}
Previous Topic:Newbie got a NullPointerException :)
Next Topic:AJDT New Feature of the Week: Crosscutting Comparison view
Goto Forum:
  


Current Time: Tue Apr 23 06:52:25 GMT 2024

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

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

Back to the top