<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 /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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;">&nbsp; &nbsp; &nbsp;mapClas.getMethodByName(<span>"map"</span><span>)</span><br /></span></span></li>
</ul>
&nbsp; &nbsp; &nbsp; I got a <span style="color: #ff0000;">ambiguous</span> problem, that there are two methods named &lt;map&gt;</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">
<ul>
<li><span style="font-size: 10pt;">&nbsp; &nbsp; &nbsp;&nbsp;public void map () <span style="color: #ff0000;">target</span></span></li>
<li><span style="font-size: 10pt;">&nbsp; &nbsp; &nbsp; public&nbsp;volatile void map ()</span></li>
</ul>
&nbsp; &nbsp; &nbsp;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>