MCPcopy Create free account
hub / github.com/capstone-engine/capstone / read

Method read

bindings/java/capstone/Mips.java:41–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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");

Callers

nothing calls this directly

Calls 1

setTypeMethod · 0.80

Tested by

no test coverage detected