More execution, including getstatic
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user