Converts an opcode name to its value. @param name Opcode name. @return Opcode value. @throws NullPointerException when the name does not map to an opcode.
(String name)
| 236 | * when the name does not map to an opcode. |
| 237 | */ |
| 238 | public static int nameToOpcode(String name) throws NullPointerException { |
| 239 | return nameToOpcode.get(name); |
| 240 | } |
| 241 | |
| 242 | /** |
| 243 | * Converts an opcode value to its name. |