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