This doesn't really work but it's a start.

This commit is contained in:
Adam
2015-07-05 17:10:44 -04:00
parent a7b70c072b
commit bfcfaa84e6
5 changed files with 221 additions and 43 deletions

View File

@@ -5,4 +5,6 @@ import info.sigterm.deob.pool.PoolEntry;
public interface PushConstantInstruction
{
public PoolEntry getConstant();
public void setConstant(PoolEntry entry);
}

View File

@@ -63,4 +63,10 @@ public class LDC extends Instruction implements PushConstantInstruction
{
return value;
}
@Override
public void setConstant(PoolEntry entry)
{
value = entry;
}
}

View File

@@ -53,4 +53,10 @@ public class LDC2_W extends Instruction implements PushConstantInstruction
{
return value;
}
@Override
public void setConstant(PoolEntry entry)
{
value = entry;
}
}

View File

@@ -68,4 +68,10 @@ public class LDC_W extends Instruction implements PushConstantInstruction
{
return value;
}
@Override
public void setConstant(PoolEntry entry)
{
value = entry;
}
}