Package: org.codehaus.groovy.tools

## [Java] Class FileSystemCompiler.CompilationOptions

- org.codehaus.groovy.tools.FileSystemCompiler.CompilationOptions

-     @Command(name = "groovyc",
                  customSynopsis = "groovyc [options] <source-files>",
                  sortOptions = false,
                  versionProvider = VersionProvider.class)
      public static class FileSystemCompiler.CompilationOptions
      extends Object

  Command-line options accepted by the `groovyc` launcher.

  Since:
    2.5

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public String[]` | `generateFileNames()` Expands the parsed source-file arguments, including `@`-files, into the list of file names to compile.
    `` | `public CompilerConfiguration` | `toCompilerConfiguration()` Builds a compiler configuration from the parsed command-line options.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### public String[] generateFileNames()

      Expands the parsed source-file arguments, including `@`-files, into the list of file names to compile.

      Returns:
        the source file names, or `null` if expansion failed

    - #### public CompilerConfiguration toCompilerConfiguration()

      Builds a compiler configuration from the parsed command-line options.

      throws:
        IOException if a configuration script cannot be read
      Returns:
        the configured compiler configuration