Package | Description |
---|---|
com.google.gwt.dev | |
com.google.gwt.dev.javac |
Modifier and Type | Method and Description |
---|---|
void |
MinimalRebuildCache.recordNestedTypeNamesPerType(CompilationUnit compilationUnit) |
void |
NullRebuildCache.recordNestedTypeNamesPerType(CompilationUnit compilationUnit) |
Modifier and Type | Class and Description |
---|---|
class |
CachedCompilationUnit
A convenient way to serialize a .
|
Modifier and Type | Field and Description |
---|---|
static Comparator<CompilationUnit> |
CompilationUnit.COMPARATOR |
protected Map<String,CompilationUnit> |
CompilationState.unitMap
All my compilation units.
|
Modifier and Type | Method and Description |
---|---|
CompilationUnit |
CompilationUnitBuilder.build() |
CompilationUnit |
UnitCache.find(com.google.gwt.dev.javac.ContentId contentId)
Lookup a
CompilationUnit by ContentId . |
CompilationUnit |
MemoryUnitCache.find(com.google.gwt.dev.javac.ContentId contentId) |
CompilationUnit |
UnitCache.find(String resourcePath)
Lookup a
CompilationUnit by resource path. |
CompilationUnit |
MemoryUnitCache.find(String resourcePath) |
CompilationUnit |
CompiledClass.getUnit() |
CompilationUnit |
MemoryUnitCache.UnitCacheEntry.getUnit() |
protected abstract CompilationUnit |
CompilationUnitBuilder.makeUnit(List<CompiledClass> compiledClasses,
List<JDeclaredType> types,
com.google.gwt.dev.javac.Dependencies dependencies,
Collection<? extends JsniMethod> jsniMethods,
MethodArgNamesLookup methodArgs,
org.eclipse.jdt.core.compiler.CategorizedProblem[] errors) |
Modifier and Type | Method and Description |
---|---|
Collection<CompilationUnit> |
CompilationStateBuilder.CompileMoreLater.addGeneratedTypes(TreeLogger logger,
Collection<GeneratedUnit> generatedUnits,
CompilationState compilationState)
Compiles generated source files (unless cached) and adds them to the
CompilationState.
|
static List<CompilationUnit> |
JdtCompiler.compile(TreeLogger logger,
CompilerContext compilerContext,
Collection<CompilationUnitBuilder> builders)
Compiles the given set of units.
|
Map<String,CompilationUnit> |
CompilationState.getCompilationUnitMap()
Returns an unmodifiable view of the set of compilation units, mapped by the
main type's qualified source name.
|
Collection<CompilationUnit> |
CompilationState.getCompilationUnits()
Returns an unmodifiable view of the set of compilation units.
|
List<CompilationUnit> |
JdtCompiler.DefaultUnitProcessor.getResults() |
Modifier and Type | Method and Description |
---|---|
void |
UnitCache.add(CompilationUnit newUnit)
Adds a
CompilationUnit to the cache. |
void |
MemoryUnitCache.add(CompilationUnit newUnit)
Adds a new entry into the cache.
|
void |
JdtCompiler.addCompiledUnit(CompilationUnit unit) |
void |
UnitCache.remove(CompilationUnit unit)
Remove a
CompilationUnit from the cache. |
void |
MemoryUnitCache.remove(CompilationUnit unit) |
static boolean |
CompilationProblemReporter.reportErrors(TreeLogger logger,
CompilationUnit unit,
boolean suppressErrors)
Logs errors to the console.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CompilationUnitTypeOracleUpdater.addNewTypesDontIndex(TreeLogger logger,
Collection<CompilationUnit> compilationUnits) |
void |
CompilationUnitTypeOracleUpdater.addNewUnits(TreeLogger logger,
Collection<CompilationUnit> compilationUnits)
Adds new units to an existing TypeOracle and indexes their type hierarchy.
|
static void |
CompilationProblemReporter.indexErrors(CompilationErrorsIndex compilationErrorsIndex,
List<CompilationUnit> units)
Traverses a set of compilation units to record enough information to enable accurate and
detailed compilation error cause traces.
|
static int |
CompilationProblemReporter.logErrorTrace(TreeLogger logger,
TreeLogger.Type logLevel,
CompilerContext compilerContext,
List<CompilationUnit> units,
boolean hint)
Provides meaningful error messages and hints for types that failed to compile or are otherwise
missing.
|
static int |
CompilationProblemReporter.logWarnings(TreeLogger logger,
TreeLogger.Type logLevelForWarnings,
List<CompilationUnit> units) |
static void |
CompilationUnitInvalidator.retainValidUnits(TreeLogger logger,
Collection<CompilationUnit> units,
Map<String,CompiledClass> validClasses,
CompilationErrorsIndex compilationErrorsIndex)
Mutates
units by retaining only valid units. |
Constructor and Description |
---|
UnitCacheEntry(CompilationUnit unit,
MemoryUnitCache.UnitOrigin source) |
Copyright © 2018. All rights reserved.