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