public boolean getNext() {
        if (index >= arguments.length) {
          return false;
        }
        current = arguments[index];
        if (current.equals("--") || !current.startsWith("--")) {
          return false;
        }
        index++;
        return true;
      }
Moves on to the next argument. Returns false when we ran out of arguments that start with
--.
android/android_framework/dex-maker/src/main/java/com/android/dx/command/dexer/Main.java