[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[aspectj-dev] Question about aspectj weaver
- From: Ivica Aracic <ivica.aracic@xxxxxxxxxxxx>
- Date: Thu, 7 Aug 2003 17:40:33 +0200
- Delivered-to: firstname.lastname@example.org
- User-agent: Mutt/1.4.1i
I have a question about the aspectj weaver:
What does the weaver take as input?
How does it know where to insert the advices?
I looked at the class attributes and class files generated by ajc.
I figured out that advices follow special naming convention
(ajc$before for example and that pointcut declarations are stored in
class file attributes.
But I still searching for the last piece of the puzzle:
How the aspectj weaver is inserting the advices into the final code?
Does it take the Pointcut declaration and search the class code for matches
and inserts code there, or is this advice planing done before
the weaver is called?
Thx in Advance!