Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] How to reuse the AspectJ pattern matching language

Hi Andy and all,

I was wondering if there is a way to reuse/use explicitly the ajc code responsible for pattern matching. That is, given a method signature pattern (using wildcarding etc) in some format (like String etc) and a method signature (also in some format), I want to know if that method signature pattern matches such method signature.

For example:

Given a signature pattern like "void C.set(..)" and a method signature like "void C.set(int, int)" I want to return "true" for this query.

Does AspectJ use Regular expressions or something like to perform such pattern matching? I just want to reuse such feature...

All the best,
Henrique

 

--
...............................................................................................................................
Henrique Rebelo
http://www.cin.ufpe.br/~hemr
Informatics Center, UFPE, Brazil

Back to the top