Invokeinterface, among others

This commit is contained in:
Adam
2014-12-09 02:00:10 -05:00
parent 463b6df138
commit a998491133
17 changed files with 186 additions and 50 deletions

View File

@@ -1,5 +1,7 @@
package info.sigterm.deob;
import info.sigterm.deob.pool.NameAndType;
import java.io.DataInputStream;
import java.io.IOException;
@@ -27,6 +29,14 @@ public class Methods
{
return classFile;
}
public Method findMethod(NameAndType nat)
{
for (Method m : methods)
if (m.getName().equals(nat.getName()) && m.getDescriptor().equals(nat.getDescriptor()))
return m;
return null;
}
public void buildInstructionGraph()
{