()
| 39 | public OpValue value; |
| 40 | |
| 41 | public void read() { |
| 42 | super.read(); |
| 43 | if (type == MIPS_OP_MEM) |
| 44 | value.setType(MemType.class); |
| 45 | if (type == MIPS_OP_IMM) |
| 46 | value.setType(Long.TYPE); |
| 47 | if (type == MIPS_OP_REG) |
| 48 | value.setType(Integer.TYPE); |
| 49 | if (type == MIPS_OP_INVALID) |
| 50 | return; |
| 51 | readField("value"); |
| 52 | } |
| 53 | @Override |
| 54 | public List getFieldOrder() { |
| 55 | return Arrays.asList("type", "value"); |