This doesn't really work but it's a start.
This commit is contained in:
@@ -5,4 +5,6 @@ import info.sigterm.deob.pool.PoolEntry;
|
||||
public interface PushConstantInstruction
|
||||
{
|
||||
public PoolEntry getConstant();
|
||||
|
||||
public void setConstant(PoolEntry entry);
|
||||
}
|
||||
|
||||
@@ -63,4 +63,10 @@ public class LDC extends Instruction implements PushConstantInstruction
|
||||
{
|
||||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setConstant(PoolEntry entry)
|
||||
{
|
||||
value = entry;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,4 +53,10 @@ public class LDC2_W extends Instruction implements PushConstantInstruction
|
||||
{
|
||||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setConstant(PoolEntry entry)
|
||||
{
|
||||
value = entry;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,4 +68,10 @@ public class LDC_W extends Instruction implements PushConstantInstruction
|
||||
{
|
||||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setConstant(PoolEntry entry)
|
||||
{
|
||||
value = entry;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user