@Nonnull private BuilderInstruction21lh newBuilderInstruction21lh(@Nonnull Instruction21lh instruction) { return new BuilderInstruction21lh( instruction.getOpcode(), instruction.getRegisterA(), instruction.getWideLiteral()); }
public void write(@Nonnull Instruction21lh instruction) { try { writer.write(instruction.getOpcode().value); writer.write(instruction.getRegisterA()); writer.writeShort(instruction.getHatLiteral()); } catch (IOException ex) { throw new RuntimeException(ex); } }
case CONST_WIDE_HIGH16: instructions.add(new Constant.LongConstant(instLoc, ((Instruction21lh)inst).getWideLiteral() << 16, ((Instruction21lh)inst).getRegisterA(), inst.getOpcode(), this)); break; case CONST_STRING:
public void write(@Nonnull Instruction21lh instruction) { try { writer.write(getOpcodeValue(instruction.getOpcode())); writer.write(instruction.getRegisterA()); writer.writeShort(instruction.getHatLiteral()); } catch (IOException ex) { throw new RuntimeException(ex); } }
case CONST_WIDE_HIGH16: instructions.add(new Constant.LongConstant(instLoc, ((Instruction21lh)inst).getWideLiteral() << 16, ((Instruction21lh)inst).getRegisterA(), inst.getOpcode(), this)); break; case CONST_STRING:
public static ImmutableInstruction21lh of(Instruction21lh instruction) { if (instruction instanceof ImmutableInstruction21lh) { return (ImmutableInstruction21lh)instruction; } return new ImmutableInstruction21lh( instruction.getOpcode(), instruction.getRegisterA(), instruction.getWideLiteral()); }
public void write(@Nonnull Instruction21lh instruction) { try { writer.write(getOpcodeValue(instruction.getOpcode())); writer.write(instruction.getRegisterA()); writer.writeShort(instruction.getHatLiteral()); } catch (IOException ex) { throw new RuntimeException(ex); } }
public static ImmutableInstruction21lh of(Instruction21lh instruction) { if (instruction instanceof ImmutableInstruction21lh) { return (ImmutableInstruction21lh)instruction; } return new ImmutableInstruction21lh( instruction.getOpcode(), instruction.getRegisterA(), instruction.getWideLiteral()); }
public static ImmutableInstruction21lh of(Instruction21lh instruction) { if (instruction instanceof ImmutableInstruction21lh) { return (ImmutableInstruction21lh)instruction; } return new ImmutableInstruction21lh( instruction.getOpcode(), instruction.getRegisterA(), instruction.getWideLiteral()); }
@Nonnull private BuilderInstruction21lh newBuilderInstruction21lh(@Nonnull Instruction21lh instruction) { return new BuilderInstruction21lh( instruction.getOpcode(), instruction.getRegisterA(), instruction.getWideLiteral()); }
@Nonnull private BuilderInstruction21lh newBuilderInstruction21lh(@Nonnull Instruction21lh instruction) { return new BuilderInstruction21lh( instruction.getOpcode(), instruction.getRegisterA(), instruction.getWideLiteral()); }
@Nonnull private BuilderInstruction21lh newBuilderInstruction21lh(@Nonnull Instruction21lh instruction) { return new BuilderInstruction21lh( instruction.getOpcode(), instruction.getRegisterA(), instruction.getWideLiteral()); }
@Nonnull private BuilderInstruction21lh newBuilderInstruction21lh(@Nonnull Instruction21lh instruction) { return new BuilderInstruction21lh( instruction.getOpcode(), instruction.getRegisterA(), instruction.getWideLiteral()); }