Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [ajdt-dev] Reflection Question

Hi.
 
I think you are a bit mistaken.
Why would you want to put the word "Reflection" in there. It is simply a syntactical error when you include it. There is no such construct in AspectJ nor Java AFAIK.
 
Eric
 
--
Eric Bodden
Chair I2 for Programming Languages and Program Analysis
RWTH Aachen University
 


From: ajdt-dev-admin@xxxxxxxxxxx [mailto:ajdt-dev-admin@xxxxxxxxxxx] On Behalf Of nizar kabbany
Sent: Samstag, 9. Oktober 2004 04:42
To: ajdt-dev@xxxxxxxxxxx
Cc: aspectj-users@xxxxxxxxxxx
Subject: [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);
 }
 
}
-------------------------------------------------------

Back to the top