public class CompilationStateBuilder extends Object
Modifier and Type | Class and Description |
---|---|
class |
CompilationStateBuilder.CompileMoreLater
An opaque class that lets you compile more units later.
|
Constructor and Description |
---|
CompilationStateBuilder() |
Modifier and Type | Method and Description |
---|---|
static CompilationState |
buildFrom(TreeLogger logger,
CompilerContext compilerContext,
Set<Resource> resources)
Compiles the given source files and adds them to the CompilationState.
|
static CompilationState |
buildFrom(TreeLogger logger,
CompilerContext compilerContext,
Set<Resource> resources,
JdtCompiler.AdditionalTypeProviderDelegate delegate)
Compiles the given source files and adds them to the CompilationState.
|
CompilationState |
doBuildFrom(TreeLogger logger,
CompilerContext compilerContext,
Set<Resource> resources) |
CompilationState |
doBuildFrom(TreeLogger logger,
CompilerContext compilerContext,
Set<Resource> resources,
JdtCompiler.AdditionalTypeProviderDelegate compilerDelegate)
Build a new compilation state from a source oracle.
|
public static CompilationState buildFrom(TreeLogger logger, CompilerContext compilerContext, Set<Resource> resources) throws UnableToCompleteException
CompilationStateBuilder.CompileMoreLater.compile(com.google.gwt.core.ext.TreeLogger, com.google.gwt.dev.CompilerContext, java.util.Collection<com.google.gwt.dev.javac.CompilationUnitBuilder>, java.util.Map<com.google.gwt.dev.javac.CompilationUnitBuilder, com.google.gwt.dev.javac.CompilationUnit>, com.google.gwt.dev.util.log.speedtracer.SpeedTracerLogger.EventType)
for details.UnableToCompleteException
- if the compiler aborts (not a normal compile error).public static CompilationState buildFrom(TreeLogger logger, CompilerContext compilerContext, Set<Resource> resources, JdtCompiler.AdditionalTypeProviderDelegate delegate) throws UnableToCompleteException
CompilationStateBuilder.CompileMoreLater.compile(com.google.gwt.core.ext.TreeLogger, com.google.gwt.dev.CompilerContext, java.util.Collection<com.google.gwt.dev.javac.CompilationUnitBuilder>, java.util.Map<com.google.gwt.dev.javac.CompilationUnitBuilder, com.google.gwt.dev.javac.CompilationUnit>, com.google.gwt.dev.util.log.speedtracer.SpeedTracerLogger.EventType)
for details.UnableToCompleteException
- if the compiler aborts (not a normal compile error).public CompilationState doBuildFrom(TreeLogger logger, CompilerContext compilerContext, Set<Resource> resources, JdtCompiler.AdditionalTypeProviderDelegate compilerDelegate) throws UnableToCompleteException
UnableToCompleteException
public CompilationState doBuildFrom(TreeLogger logger, CompilerContext compilerContext, Set<Resource> resources) throws UnableToCompleteException
UnableToCompleteException
Copyright © 2018. All rights reserved.