[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-dev] Question about aspectj weaver

Hello!

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!
	Ivica Aracic