Source:
private static com.google.devtools.build.android.desugar.Desugar.Options parseCommandLineOptions ( java.lang.String [ ] args ) throws java.io.IOException { if ( ( ( args.length ) == 1 ) && ( args [ 0 ] . startsWith ( "@" ) ) ) { args = java.nio.file.Files.readAllLines ( java.nio.file.Paths.get ( args [ 0 ] . substring ( 1 ) ) , java.nio.charset.StandardCharsets.ISO_8859_1 ) . toArray ( new java.lang.String [ 0 ] ) ; } com.google.devtools.common.options.OptionsParser optionsParser = com.google.devtools.common.options.OptionsParser.newOptionsParser ( com.google.devtools.build.android.desugar.Desugar.Options.class ) ; optionsParser.setAllowResidue ( false ) ; optionsParser.parseAndExitUponError ( args ) ; com.google.devtools.build.android.desugar.Desugar.Options options = optionsParser.getOptions ( com.google.devtools.build.android.desugar.Desugar.Options.class ) ; com.google.common.base.Preconditions.checkArgument ( ( ! ( options.inputJars.isEmpty ( ) ) ) , "--input is required" ) ; com.google.common.base.Preconditions.checkArgument ( ( ( options.inputJars.size ( ) ) == ( options.outputJars.size ( ) ) ) , "Desugar requires the same number of inputs and outputs to pair them. #input=%s,#output=%s" , options.inputJars.size ( ) , options.outputJars.size ( ) ) ; com.google.common.base.Preconditions.checkArgument ( ( ( ! ( options.bootclasspath.isEmpty ( ) ) ) || ( options.allowEmptyBootclasspath ) ) , "At least one --bootclasspath_entry is required" ) ; for ( java.nio.file.Path path : options.classpath ) { com.google.common.base.Preconditions.checkArgument ( ( ! ( java.nio.file.Files.isDirectory ( path ) ) ) , "Classpath entry must be a jar file: %s" , path ) ; } for ( java.nio.file.Path path : options.bootclasspath ) { com.google.common.base.Preconditions.checkArgument ( ( ! ( java.nio.file.Files.isDirectory ( path ) ) ) , "Bootclasspath entry must be a jar file: %s" , path ) ; } return options ; }

Target:
private static com.google.devtools.build.android.desugar.Desugar.Options parseCommandLineOptions ( java.lang.String [ ] args ) throws java.io.IOException { if ( ( ( args.length ) == 1 ) && ( args [ 0 ] . startsWith ( "@" ) ) ) { args = java.nio.file.Files.readAllLines ( java.nio.file.Paths.get ( args [ 0 ] . substring ( 1 ) ) , java.nio.charset.StandardCharsets.ISO_8859_1 ) . toArray ( new java.lang.String [ 0 ] ) ; } com.google.devtools.common.options.OptionsParser optionsParser = com.google.devtools.common.options.OptionsParser.newOptionsParser ( com.google.devtools.build.android.desugar.Desugar.Options.class ) ; optionsParser.setAllowResidue ( false ) ; optionsParser.parseAndExitUponError ( args ) ; com.google.devtools.build.android.desugar.Desugar.Options options = optionsParser.getOptions ( com.google.devtools.build.android.desugar.Desugar.Options.class ) ; com.google.common.base.Preconditions.checkArgument ( ( ! ( options.inputJars.isEmpty ( ) ) ) , "--input is required" ) ; com.google.common.base.Preconditions.checkArgument ( ( ( options.inputJars.size ( ) ) == ( options.outputJars.size ( ) ) ) , "Desugar requires the same number of inputs and outputs to pair them. #input=%s,#output=%s" , options.inputJars.size ( ) , options.outputJars.size ( ) ) ; com.google.common.base.Preconditions.checkArgument ( ( ( ! ( options.bootclasspath.isEmpty ( ) ) ) || ( options.allowEmptyBootclasspath ) ) , "At least one --bootclasspath_entry is required" ) ; for ( java.nio.file.Path path : options.bootclasspath ) { com.google.common.base.Preconditions.checkArgument ( ( ! ( java.nio.file.Files.isDirectory ( path ) ) ) , "Bootclasspath entry must be a jar file: %s" , path ) ; } return options ; }