MCPcopy
hub / github.com/Col-E/Recaf / nameToOpcode

Method nameToOpcode

src/main/java/me/coley/recaf/util/OpcodeUtil.java:238–240  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers 2

getParserMethod · 0.95
getOpcodeMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected