so how can I use "Reflection" with "thisJoinPoint" . i.e. is it possible to
use them together! I really don't know!
----- Original Message -----
Sent: Friday, October 08, 2004 11:28
PM
Subject: Re: [aspectj-users] [ajdt-dev]
Reflection Question
The syntax for an aspect declaration, like that of a class, is
{modifiers} aspect {name} {per...} [extends|implements] {
...
So try
public aspect Tracer1 {
See the AspectJ programming guide for more details.
Wes
------------Original Message------------
Cc: aspectj-users@xxxxxxxxxxx
Date: Fri, Oct-8-2004 7:50 PM
Subject: [aspectj-users] [ajdt-dev] Reflection Question
hi guys,
Eclips 3.0
JAspect 1.1.12
I am getting a compiler error when I efine my
aspect to have a "Reflection" inside it.
Does anyone has any idea why thisis happening.
If I remove th e"Reflection" word, it compiles fine!!!
Thanks
Nizar
here is the simple code:
-------------------------------------------------------
public aspect Reflection Tracer1
{
pointcut publics(): execution(public void
Buffer.put(String));
before():
publics(){
System.out.println("Before:"
+thisJoinPoint);
}
after():publics(){
System.out.println("After:" +
thisJoinPoint);
}
}
-------------------------------------------------------