private static String getDexFileName(int i) {
    if (i == 0) {
      return DexFormat.DEX_IN_JAR_NAME;
    } else {
      return DEX_PREFIX + (i + 1) + DEX_EXTENSION;
    }
  }
Run and return a result code.

@param arguments the data + parameters for the conversion
@return 0 if success &gt; 0 otherwise.
android/android_framework/dex-maker/src/main/java/com/android/dx/command/dexer/Main.java