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,31 @@
package info.sigterm.deob;
import java.io.DataInputStream;
import java.io.IOException;
class Method
{
private Methods methods;
private short accessFlags;
private int nameIndex;
private int descriptorIndex;
private Attributes attributes;
Method(Methods methods) throws IOException
{
this.methods = methods;
DataInputStream is = methods.getClassFile().getStream();
accessFlags = is.readShort();
nameIndex = is.readUnsignedShort();
descriptorIndex = is.readUnsignedShort();
attributes = new Attributes(this);
}
public Methods getMethods()
{
return methods;
}
}