Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Help with defining a point cut

Hi all,

First i apologize if this kind of question have been asked in the past, if
it was i could not find it.

I am a newbie to AspectJ and the problem we are trying to solve is this:
There is a legacy code that we want to be able to connect to an automatic
testing application (ROBOT).

This framework requires (recommended at least) that every swing component
has the name attibute set.
I am looking for a way to do this with an aspect, that will "catch" the
swing object at some phase and call the setName method. 

It is also important that the name pattern should match
(<Type>_<MemberName>) to allow to easily write tests which means i need to
be able to get the member and it's parent.

I have been trying for several days now and came up with nothing too bright
- whatever i tried had a flaw.

Any assistance would be appreciated.
Elad.
-- 
View this message in context: http://www.nabble.com/Help-with-defining-a-point-cut-tp23242100p23242100.html
Sent from the AspectJ - users mailing list archive at Nabble.com.



Back to the top