Top Fields Constructors Methods
org.codehaus.groovy.tools.javac

public Class JavacJavaCompiler

extends Object
implements JavaCompiler
Class Inheritance
All Implemented Interfaces
org.codehaus.groovy.tools.javac.JavaCompiler
Imports
groovy.lang.GroovyClassLoader, .GroovyObject, org.apache.groovy.io.StringBuilderWriter, org.codehaus.groovy.GroovyBugError, org.codehaus.groovy.control.CompilationUnit, .CompilerConfiguration, org.codehaus.groovy.control.messages.ExceptionMessage, .SimpleMessage, org.codehaus.groovy.runtime.DefaultGroovyMethods, java.io.File, .IOException, java.net.URISyntaxException, .URL, .URLClassLoader, java.nio.charset.Charset, java.security.AccessController, .CodeSource, .PrivilegedAction, java.util.ArrayList, .Collections, .HashSet, .List, .Locale, .Map, .Set, java.util.stream.Collectors

Field Summary

Modifier and TypeField and Description
private final Charset
private final CompilerConfiguration
private static final Locale

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static void
public void
private boolean
private List<String>
makeParameters(GroovyClassLoader parentClassLoader)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

charsetback to summary
private final Charset charset
configback to summary
private final CompilerConfiguration config
DEFAULT_LOCALEback to summary
private static final Locale DEFAULT_LOCALE

Constructor Detail

JavacJavaCompilerback to summary
public JavacJavaCompiler(CompilerConfiguration config)

Method Detail

addJavacErrorback to summary
private static void addJavacError(String header, CompilationUnit cu, StringBuilderWriter msg)
compileback to summary
public void compile(List<String> files, CompilationUnit cu)

Implements org.codehaus.groovy.tools.javac.JavaCompiler.compile.

doCompileWithSystemJavaCompilerback to summary
private boolean doCompileWithSystemJavaCompiler(CompilationUnit cu, List<String> files, List<String> javacParameters, StringBuilderWriter javacOutput) throws IOException
makeParametersback to summary
private List<String> makeParameters(GroovyClassLoader parentClassLoader)