<div dir="ltr">Is it possible to create a Unit and a SootMethod from a given string?<div><br></div><div>So let&#39;s say I create a call graph from &quot;class A&quot;.  And I have a list of possible methods that could exist in &quot;class A&quot; in basic string format (&quot;methodA&quot;, &quot;methodB&quot;, ...).</div><div><br></div><div>Is it possible to resolve if the edge exists by calling callgraph.findEdge(unit, sootmethod), using a newly created Unit and SootMethod that are derived from my string input?</div><div><br></div><div>I&#39;ve read the documentation and it sounds like I can do this with a SootMethod, but the Unit creation is a bit unclear as it seems the Unit resolves to the Jimple notation.</div><div><br></div><div>I suppose I can always resort to linear iteration, but I would assume that the findEdge would run no slower than O(nlogn) time.</div><div><br></div><div>Thanks.</div></div>