Start of constant parameter stuff

This commit is contained in:
Adam
2015-07-30 16:39:48 -04:00
parent f27e410f5b
commit 5478fc7385
14 changed files with 227 additions and 23 deletions

View File

@@ -10,4 +10,6 @@ public interface InvokeInstruction
public void removeParameter(int idx);
public PoolEntry getMethod();
public List<Method> getMethods();
}

View File

@@ -48,7 +48,8 @@ public class InvokeInterface extends Instruction implements InvokeInstruction
out.writeByte(0);
}
private List<info.sigterm.deob.Method> getMethods()
@Override
public List<info.sigterm.deob.Method> getMethods()
{
ClassGroup group = this.getInstructions().getCode().getAttributes().getClassFile().getGroup();

View File

@@ -43,7 +43,8 @@ public class InvokeSpecial extends Instruction implements InvokeInstruction
out.writeShort(this.getPool().make(method));
}
private List<info.sigterm.deob.Method> getMethods()
@Override
public List<info.sigterm.deob.Method> getMethods()
{
ClassGroup group = this.getInstructions().getCode().getAttributes().getClassFile().getGroup();

View File

@@ -43,7 +43,8 @@ public class InvokeStatic extends Instruction implements InvokeInstruction
out.writeShort(this.getPool().make(method));
}
private List<info.sigterm.deob.Method> getMethods()
@Override
public List<info.sigterm.deob.Method> getMethods()
{
ClassGroup group = this.getInstructions().getCode().getAttributes().getClassFile().getGroup();

View File

@@ -83,7 +83,8 @@ public class InvokeVirtual extends Instruction implements InvokeInstruction
// find the possible methods this instruction might be invoking. we can't know for sure
// which method is being invoked without tracking the types of objects in fields and when
// passed in parameters/return values.
private List<info.sigterm.deob.Method> getMethods()
@Override
public List<info.sigterm.deob.Method> getMethods()
{
ClassGroup group = this.getInstructions().getCode().getAttributes().getClassFile().getGroup();