Remove unused parameters
This commit is contained in:
@@ -11,6 +11,14 @@ public class InterfaceMethod extends PoolEntry
|
||||
private int classIndex, natIndex;
|
||||
private Class clazz;
|
||||
private NameAndType nat;
|
||||
|
||||
public InterfaceMethod(ConstantPool pool, Class clazz, NameAndType nat)
|
||||
{
|
||||
super(pool, ConstantType.INTERFACE_METHOD_REF);
|
||||
|
||||
this.clazz = clazz;
|
||||
this.nat = nat;
|
||||
}
|
||||
|
||||
public InterfaceMethod(ConstantPool pool) throws IOException
|
||||
{
|
||||
|
||||
@@ -11,6 +11,14 @@ public class Method extends PoolEntry
|
||||
private int classIndex, natIndex;
|
||||
private Class clazz;
|
||||
private NameAndType nat;
|
||||
|
||||
public Method(ConstantPool pool, Class clazz, NameAndType nat)
|
||||
{
|
||||
super(pool, ConstantType.METHODREF);
|
||||
|
||||
this.clazz = clazz;
|
||||
this.nat = nat;
|
||||
}
|
||||
|
||||
public Method(ConstantPool pool) throws IOException
|
||||
{
|
||||
|
||||
@@ -28,6 +28,14 @@ public class NameAndType extends PoolEntry
|
||||
descriptorIndex = is.readUnsignedShort();
|
||||
}
|
||||
|
||||
public NameAndType(ConstantPool pool, java.lang.String name, Signature sig)
|
||||
{
|
||||
super(pool, ConstantType.NAME_AND_TYPE);
|
||||
|
||||
this.name = name;
|
||||
this.signature = sig;
|
||||
}
|
||||
|
||||
public NameAndType(java.lang.String name, Signature type)
|
||||
{
|
||||
super(null, ConstantType.NAME_AND_TYPE);
|
||||
|
||||
Reference in New Issue
Block a user