init of deob

This commit is contained in:
Adam
2014-11-30 20:35:37 -05:00
commit 41681f94a5
30 changed files with 933 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
package info.sigterm.deob;
import java.io.DataInputStream;
import java.io.IOException;
public class Methods
{
ClassFile classFile;
private int count;
private Method[] methods;
Methods(ClassFile cf) throws IOException
{
classFile = cf;
DataInputStream is = cf.getStream();
count = is.readUnsignedShort();
methods = new Method[count];
for (int i = 0; i < count; ++i)
methods[i] = new Method(this);
}
public ClassFile getClassFile()
{
return classFile;
}
}