Fix import_deps_checker to use the correct OptionsParser factory method.

PiperOrigin-RevId: 253103941
diff --git a/src/java_tools/import_deps_checker/java/com/google/devtools/build/importdeps/Main.java b/src/java_tools/import_deps_checker/java/com/google/devtools/build/importdeps/Main.java
index 5667585..a6b9587 100644
--- a/src/java_tools/import_deps_checker/java/com/google/devtools/build/importdeps/Main.java
+++ b/src/java_tools/import_deps_checker/java/com/google/devtools/build/importdeps/Main.java
@@ -212,10 +212,11 @@
 
   @VisibleForTesting
   static Options parseCommandLineOptions(String[] args) throws IOException {
-    OptionsParser optionsParser = OptionsParser.newOptionsParser(Options.class);
-    optionsParser.setAllowResidue(false);
-    optionsParser.enableParamsFileSupport(
-        new ShellQuotedParamsFilePreProcessor(FileSystems.getDefault()));
+    OptionsParser optionsParser =
+        OptionsParser.newOptionsParser(
+            /* allowResidue=*/ false,
+            new ShellQuotedParamsFilePreProcessor(FileSystems.getDefault()),
+            Options.class);
     optionsParser.parseAndExitUponError(args);
     Options options = optionsParser.getOptions(Options.class);