Package | Description |
---|---|
com.google.gwt.dev | |
com.google.gwt.dev.javac |
Modifier and Type | Method and Description |
---|---|
static UnitCache |
Compiler.getOrCreateUnitCache(TreeLogger logger,
CompilerOptions options)
Locates the unit cache dir relative to the war dir and returns a UnitCache instance.
|
UnitCache |
CompilerContext.getUnitCache() |
Modifier and Type | Method and Description |
---|---|
CompilerContext.Builder |
CompilerContext.Builder.unitCache(UnitCache unitCache) |
Modifier and Type | Class and Description |
---|---|
class |
LibraryGroupUnitCache
A cache that finds compilation unit instances in a library group.
Removals are not supported since libraries are immutable and the removals would only be needed if library contents were invalid. |
class |
MemoryUnitCache
This cache stores
CompilationUnit instances in a Map. |
Modifier and Type | Method and Description |
---|---|
static UnitCache |
UnitCacheSingleton.get(TreeLogger logger,
File cacheDir)
If the cache is enabled, instantiates the cache and begins loading units
into memory in a background thread.
|
Copyright © 2018. All rights reserved.