[Soot-list] How to get signatures from a class that is at resolving level HIERARCHY
Hal Hildebrand
hal.hildebrand at gmail.com
Sun Sep 19 23:55:23 EDT 2010
So, I seem to be back in the weeds again. Not sure if there's a way out, but I thought I'd ask the list for suggestions.
I'm using the set_no_bodies_for_excluded option, and all that implies. The setup is that I have three classes, A, B and C. A and B are on the soot class path, and are excluded. C is being processed, and in the body of a method of C I am transforming a method invocation on A to B. I have the method reference to the method on A, and although the method is declared on B, I cannot retrieve the method reference because B is pinned at resolving level HIERARCHY.
I believe I understand why this is happening, given that I do not reference B and thus the class is without method signatures. What I am wondering is whether there is some clever way around this trap I've set for myself. The reason I'm using the set_no_bodies_for_excluded is because I cannot transform any method outside of the processing set and things get ugly pretty fast if I don't use that option. Hopefully there's a way out of this, though.
Thanks,
-Hal
More information about the Soot-list
mailing list