<div dir="ltr">I&#39;m using SimpleLocalDefs to compute the defs for a local in a method. I am also trying to process statements of the form<div><br></div><div>var = result of some invoke expression with arg1, arg2, etc</div><div><br></div><div>So I query the Local defs object with var, arg1 and arg2. However, I get the following error:</div><div><br></div><div>Illegal LocalDefs query; local r1 has no definition at r1 = staticinvoke &lt;com.microsoft.st.compilationshell.STShell: org.codehaus.groovy.runtime.callsite.CallSite[] $getCallSiteArray()&gt;()<br></div><div><br></div><div>What is the cause of this error? Clearly, r1 is being assigned the return value of the invoke. Does it have to do with the fact that the invocation is static? If so, how do I process such statements?</div><div><br></div><div>-earlence</div></div>