public static int opcodeToTag(int opcode) {
		return switch (opcode) {
			case INVOKEINTERFACE -> H_INVOKEINTERFACE;
			case INVOKESPECIAL -> H_INVOKESPECIAL;
			case INVOKEVIRTUAL -> H_INVOKEVIRTUAL;
			case INVOKESTATIC -> H_INVOKESTATIC;
			case GETFIELD -> H_GETFIELD;
			case GETSTATIC -> H_GETSTATIC;
			case PUTFIELD -> H_PUTFIELD;
			case PUTSTATIC -> H_PUTSTATIC;
			default -> throw new IllegalStateException("Unsupported opcode: " + opcode);
		};
	}
Convert an instruction opcode to a {@link Handle} tag.

@param opcode
		Some method or field opcode.

@return Relevant handle tag.

@throws IllegalStateException
		When the opcode does not have a respective handle tag.
recaf-core/src/main/java/software/coley/recaf/util/AsmInsnUtil.java