[Soot-list] Annotations of Method Parameters

Richard Warburton richard.warburton at gmail.com
Fri May 13 07:46:08 EDT 2011


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


More information about the Soot-list mailing list