init of deob
This commit is contained in:
20
src/main/java/info/sigterm/deob/pool/Integer.java
Normal file
20
src/main/java/info/sigterm/deob/pool/Integer.java
Normal file
@@ -0,0 +1,20 @@
|
||||
package info.sigterm.deob.pool;
|
||||
|
||||
import info.sigterm.deob.ConstantPool;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
public class Integer extends PoolEntry
|
||||
{
|
||||
private int value;
|
||||
|
||||
public Integer(ConstantPool pool) throws IOException
|
||||
{
|
||||
super(pool, ConstantType.INTEGER);
|
||||
|
||||
DataInputStream is = pool.getClassFile().getStream();
|
||||
|
||||
value = is.readInt();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user