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