Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Re: How to specify anonymous inner class directly?

Hi Matthew.

I think that is problematic, too.
But if aspectj could handle anonymous class directly, it is little bit useful,
especially the case that original code isn't modified.
And to modify aspectj has this function(accepting "execution(void Test.1.new(..)")
isn't difficult(I think).

I'm developing an application that lists classes and methods in a jar file.
And that display classes and methods to tree view with a check box at left side of methods.
Checking methods, that generate aspect code for checked methods.
ex.
after():
  execution(void Test.checkedMethod1())
  || execution(void Test.checkedMethod2())

Then, anonymous class raised strong headache.


NAKAGUCHI Takao
takao-n@xxxxxxxxxxxxxxx




Back to the top