| java.lang.Object com.google.gwt.dev.jdt.AbstractCompiler
All known Subclasses: com.google.gwt.dev.jdt.AstCompiler, com.google.gwt.dev.jdt.ByteCodeCompiler,
AbstractCompiler | abstract public class AbstractCompiler (Code) | | A facade around the JDT compiler to manage on-demand compilation, caching
smartly where possible.
|
AbstractCompiler | protected AbstractCompiler(SourceOracle sourceOracle, boolean doGenerateBytes)(Code) | | |
compile | final protected CompilationUnitDeclaration[] compile(TreeLogger logger, ICompilationUnit[] units)(Code) | | |
doAcceptResult | protected void doAcceptResult(CompilationResult result)(Code) | | |
doFindAdditionalTypesUsingJsni | protected String[] doFindAdditionalTypesUsingJsni(TreeLogger logger, CompilationUnitDeclaration cud)(Code) | | |
doFindAdditionalTypesUsingRebinds | protected String[] doFindAdditionalTypesUsingRebinds(TreeLogger logger, CompilationUnitDeclaration cud)(Code) | | |
doGetByteCodeFromCache | protected ByteCode doGetByteCodeFromCache(TreeLogger logger, String binaryTypeName)(Code) | | Checks to see if we already have the bytecode definition of the requested
type. By default we compile everything from source, so we never have it
unless a subclass overrides this method.
|
getCompilationUnitForType | protected ICompilationUnit getCompilationUnitForType(TreeLogger logger, String binaryTypeName) throws UnableToCompleteException(Code) | | Finds a compilation unit for the given type. This is often used to
bootstrap compiles since during compiles, the compiler will directly ask
the name environment internally, bypassing this call.
|
rememberPackage | protected void rememberPackage(String packageName)(Code) | | Causes the compilation service itself to recognize the specified package
name (and all its parent packages), avoiding a call back into the host.
This is useful as an optimization, but more importantly, it is useful to
compile against bytecode that was pre-compiled to which we don't have the
source. This ability is crucial bridging the gap between user-level and
"dev" code in hosted mode for classes such as JavaScriptHost and
ShellJavaScriptHost.
|
resolvePossiblyNestedType | protected ReferenceBinding resolvePossiblyNestedType(String typeName)(Code) | | |
|
|