Remove unused parameters

This commit is contained in:
Adam
2015-06-13 11:01:46 -04:00
parent eb986ba708
commit a677e64aac
106 changed files with 1229 additions and 228 deletions

View File

@@ -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
{

View File

@@ -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
{

View File

@@ -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);