[Soot-list] Class/Method Annotations in Soot

Eric Bodden eric.bodden at mail.mcgill.ca
Mon May 25 08:37:05 EDT 2009


Hi Zifei.

In Soot you can retrieve annotations via getTags()...
http://www.sable.mcgill.ca/soot/doc/soot/tagkit/Host.html

Eric

2009/5/24 Zifei Zhong <zfz at cs.utexas.edu>:
> Hi,
>
> In java 6 we have the method 'getAnnotation(Class<A> annotationClass)'
> to get annotation of a particular class or method. Anybody knows the
> equivalent way of getting method/class annotations in Soot?
>
> Thanks,
> Zifei
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>



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


More information about the Soot-list mailing list