@Nonnull
	public static AndroidClassBundle read(@Nonnull byte[] dex) throws IOException {
		// Read dex file content
		ApplicationData data = ApplicationData.fromDex(dex);

		// Populate bundle
		BasicAndroidClassBundle classBundle = new BasicAndroidClassBundle();
		for (DexProgramClass dexClass : data.getApplication().classes()) {
			AndroidClassInfo classInfo = new AndroidClassInfoBuilder()
					.adaptFrom(dexClass)
					.build();
			classBundle.initialPut(classInfo);
		}
		return classBundle;
	}
@param dex
		Raw bytes of a dex file.

@return Bundle of classes from the dex file.

@throws IOException
		When the dex file cannot be read from.
recaf-core/src/main/java/software/coley/recaf/util/android/DexIOUtil.java