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

Yes but isn't that for AspetWerkz? I am using eclipse 3.2.2 with adt 1.4.2.
Can i use this pointcut?



Eric Bodden-2 wrote:
> 
> 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
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
> 
> 

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