Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Capture classes with final fields

There are hasField(...) pointcuts that you can enable with an -X
option to the compiler.

Eric

On 08/06/07, Chrys <zampas@xxxxxxxxx> wrote:

Hello. I want to implement a pointcut that gets all classes that have only
final fields.
I thought something like

pointcut finalFieldsClasses() :
                (set(final * *.*.*)
                ||  get(final * *.*.*));

but this pointcut will also capture classes that have final and non final
fields.

Regards
--
View this message in context: http://www.nabble.com/Capture-classes-with-final-fields-tf3889906.html#a11026785
Sent from the AspectJ - users mailing list archive at Nabble.com.

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users



--
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada


Back to the top