[Soot-list] Annotations of Method Parameters
Eric Bodden
bodden at st.informatik.tu-darmstadt.de
Fri May 13 10:56:17 EDT 2011
Hi Richard.
Jasmin adds an Attribute of type ParameterVisibilityAnnotationAttr to
the *method*. You should be able to access the info from there.
Eric
On 13 May 2011 13:46, Richard Warburton <richard.warburton at gmail.com> wrote:
> If you're looking for annotations on methods or classes, then you can
> lookup a tag that contains annotation information, since SootMethod
> and SootClass both implement Host. When looking at method parameters,
> however, you only appear to be able to get the types of the parametes,
> through meth.getParameterTypes(). A Type isn't a Host however, and
> neither do any of the relevant sub-interfaces such as RefType or
> RefLikeType appear to be. Is there a way of getting Parameter
> annotations?
>
> regards,
>
> Richard
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
--
Dr. Eric Bodden, http://bodden.de/
Principal Investigator in Secure Services at CASED
Coordinator of the CASED Advisory Board of Study Affairs
PostDoc at Software Technology Group, Technische Universität Darmstadt
Tel: +49 6151 16-5478 Fax: +49 6151 16-5410
Mailing Address: S2|02 A209, Hochschulstraße 10, 64289 Darmstadt
More information about the Soot-list
mailing list