<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Hi, all<br /> I use Soot to analyze a Hadoop application. I find a class that extends the lib class(org.apache.hadoop.mapreduce.Mapper), when I try to find the concrete method that implements Map using<br /> <br />
<ul>
<li><span style="font-size: 10pt;"><span style="font-size: 10pt;"> mapClas.getMethodByName(<span>"map"</span><span>)</span><br /></span></span></li>
</ul>
I got a <span style="color: #ff0000;">ambiguous</span> problem, that there are two methods named <map></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">
<ul>
<li><span style="font-size: 10pt;"> public void map () <span style="color: #ff0000;">target</span></span></li>
<li><span style="font-size: 10pt;"> public volatile void map ()</span></li>
</ul>
Thus, how to direct to my target method? And it is the safe way of finding a method ? Cuz, the map method overwrite the parent's method, is there any safe way to cope with this case? Thanks in advance</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Best</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Chris.</div>
</body></html>