| Re: [aspectj-users] How to access annotation values |
Hallo,
I am new to aspectJ 1.5 & annotations and world like to access an annotation value at runtime. My Java source is :
@loglevel{id=1} public void helloMethod(){ .... }
@loglevel has a runtime retention policy and I would like to access the id within an aspect. Can somebody provide me a source
code example for this? The aspect should simply output the loglevel id to stdout.
Would it be also possible to set loglevels retention policy to SOURCE or CLASS?
hth,
./alex -- .w( the_mindstorm )p.
Thank you very much,
Andreas Bednarz
_______________________________________________ aspectj-users mailing list aspectj-users@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/aspectj-users
!DSPAM:43b7ffe7906101522813722!