project: Injector add CheckCast support for copy classes

This commit is contained in:
Owain van Brakel
2021-12-15 17:15:19 +01:00
parent 8b80c0b71f
commit 0b91062e9d
3 changed files with 15 additions and 2 deletions

View File

@@ -47,6 +47,13 @@ public class CheckCast extends Instruction implements TypeInstruction
super(instructions, InstructionType.CHECKCAST);
}
public CheckCast(Instructions instructions, Type type)
{
super(instructions, InstructionType.CHECKCAST);
this.type = type;
}
public CheckCast(Instructions instructions, InstructionType type)
{
super(instructions, type);