@Nullable
	public static Type fromVarOpcode(int opcode) {
		return switch (opcode) {
			case Opcodes.IINC, Opcodes.ILOAD, Opcodes.ISTORE -> Type.INT_TYPE;
			case Opcodes.ALOAD, Opcodes.ASTORE -> Types.OBJECT_TYPE;
			case Opcodes.FLOAD, Opcodes.FSTORE -> Type.FLOAT_TYPE;
			case Opcodes.DLOAD, Opcodes.DSTORE -> Type.DOUBLE_TYPE;
			case Opcodes.LLOAD, Opcodes.LSTORE -> Type.LONG_TYPE;
			default -> null;
		};
	}
@param opcode
		Some instruction opcode.

@return The implied variable type, or {@code null} if the passed opcode does not imply a type.
recaf-core/src/main/java/software/coley/recaf/util/Types.java