More execution, including getstatic

This commit is contained in:
Adam
2014-12-02 15:36:06 -05:00
parent 37dac95ee0
commit 81095be5da
44 changed files with 1091 additions and 26 deletions

View File

@@ -1,5 +1,7 @@
package info.sigterm.deob.attributes;
import info.sigterm.deob.pool.PoolEntry;
import java.io.DataInputStream;
import java.io.IOException;
@@ -14,4 +16,9 @@ public class ConstantValue extends Attribute
DataInputStream is = attributes.getStream();
constantVlaueIndex = is.readUnsignedShort();
}
public PoolEntry getValue()
{
return this.getAttributes().getClassFile().getPool().getEntry(constantVlaueIndex);
}
}