| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static boolean | |
| private final CompilationUnit |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static void | commandLineCompile(String[] args)
Same as main(args) except that exceptions are thrown out instead of causing the VM to exit. |
| public static void | commandLineCompile(String[] args, boolean lookupUnnamedFiles)
Same as main(args) except that exceptions are thrown out instead of causing the VM to exit and the lookup for .groovy files can be controlled |
| public static void | commandLineCompileWithErrorHandling(String[]
command line arguments args, boolean do a lookup for .groovy files not part of
the given list of files to compile lookupUnnamedFiles)Primary entry point for compiling from the command line (using the groovyc script). |
| public void | |
| public void | |
| public static CommandLine | |
| public static void | |
| public static void | |
| public static void | displayHelp(PrintWriter writer)
Prints the usage help message for the |
| public static void | |
| public static void | |
| public static void | |
| public static void | doCompilation(CompilerConfiguration configuration, CompilationUnit unit, String[] filenames, boolean lookupUnnamedFiles)
|
| private static String[] | |
| public static void | |
| public static boolean |
| displayStackTraceOnError | back to summary |
|---|---|
| private static boolean displayStackTraceOnError | |
| unit | back to summary |
|---|---|
| private final CompilationUnit unit | |
| FileSystemCompiler | back to summary |
|---|---|
| public FileSystemCompiler(CompilerConfiguration configuration) throws ConfigurationException | |
| FileSystemCompiler | back to summary |
|---|---|
| public FileSystemCompiler(CompilerConfiguration configuration, CompilationUnit cu) throws ConfigurationException | |
| checkFiles | back to summary |
|---|---|
| public static int checkFiles(String[] filenames) | |
| commandLineCompile | back to summary |
|---|---|
| public static void commandLineCompile(String[] args) throws Exception Same as main(args) except that exceptions are thrown out instead of causing the VM to exit. | |
| commandLineCompile | back to summary |
|---|---|
| public static void commandLineCompile(String[] args, boolean lookupUnnamedFiles) throws Exception Same as main(args) except that exceptions are thrown out instead of causing the VM to exit and the lookup for .groovy files can be controlled | |
| commandLineCompileWithErrorHandling | back to summary |
|---|---|
| public static void commandLineCompileWithErrorHandling(String[] args, boolean lookupUnnamedFiles) Primary entry point for compiling from the command line (using the groovyc script). If calling inside a process and you don't want the JVM to exit on an error call commandLineCompile(String[]), which this method simply wraps
| |
| compile | back to summary |
|---|---|
| public void compile(String[] paths) throws Exception | |
| compile | back to summary |
|---|---|
| public void compile(File[] files) throws Exception | |
| configureParser | back to summary |
|---|---|
| public static CommandLine configureParser(FileSystemCompiler. | |
| deleteRecursive | back to summary |
|---|---|
| public static void deleteRecursive(File file) | |
| displayHelp | back to summary |
|---|---|
| public static void displayHelp() Prints the usage help message for
| |
| displayHelp | back to summary |
|---|---|
| public static void displayHelp(PrintWriter writer) Prints the usage help message for the
| |
| displayVersion | back to summary |
|---|---|
| public static void displayVersion() Prints version information to stderr.
| |
| displayVersion | back to summary |
|---|---|
| public static void displayVersion(PrintWriter writer) Prints version information to the specified PrintWriter.
| |
| doCompilation | back to summary |
|---|---|
| public static void doCompilation(CompilerConfiguration configuration, CompilationUnit unit, String[] filenames) throws Exception | |
| doCompilation | back to summary |
|---|---|
| public static void doCompilation(CompilerConfiguration configuration, CompilationUnit unit, String[] filenames, boolean lookupUnnamedFiles) throws Exception | |
| generateFileNamesFromOptions | back to summary |
|---|---|
| private static String[] generateFileNamesFromOptions(List<String> filenames) | |
| main | back to summary |
|---|---|
| public static void main(String[] args) Primary entry point for compiling from the command line (using the groovyc script). If calling inside a process and you don't want the JVM to exit on an error call commandLineCompile(String[]), which this method simply wraps
| |
| validateFiles | back to summary |
|---|---|
| public static boolean validateFiles(String[] filenames) | |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private boolean | |
| private String | |
| private boolean | |
| private String | |
| private List | |
| private List | |
| private boolean | |
| private boolean | |
| private Map | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private String | |
| private File | |
| private String | |
| private File | |
| private File | |
| private int | |
| private boolean | |
| private boolean | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | |
| private String[] | |
| private String[] | |
| public CompilerConfiguration |
| classpath | back to summary |
|---|---|
private String classpath
| |
| compileStatic | back to summary |
|---|---|
private boolean compileStatic
| |
| configScript | back to summary |
|---|---|
private String configScript
| |