Package | Description |
---|---|
com.google.gwt.dev.cfg | |
com.google.gwt.dev.javac |
Modifier and Type | Method and Description |
---|---|
CompilationUnit |
LibraryGroup.getCompilationUnitByTypeName(String typeName)
Returns the compilation unit for the given compilation unit type name if present or null.
|
CompilationUnit |
Library.getCompilationUnitByTypeName(String typeName)
Returns the compilation unit with the given type name.
|
Modifier and Type | Method and Description |
---|---|
void |
NullLibraryBuilder.addCompilationUnit(CompilationUnit compilationUnit) |
void |
LibraryBuilder.addCompilationUnit(CompilationUnit compilationUnit)
Adds a previously compiled (but not yet unified) compilation unit.
|
void |
ZipLibraryBuilder.addCompilationUnit(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 |
LibraryGroupUnitCache.find(com.google.gwt.dev.javac.ContentId contentId) |
CompilationUnit |
UnitCache.find(String resourcePath)
Lookup a
CompilationUnit by resource path. |
CompilationUnit |
LibraryGroupUnitCache.find(String resourcePath) |
CompilationUnit |
CompiledClass.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)
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 |
LibraryGroupUnitCache.add(CompilationUnit compilationUnit)
Adds a
CompilationUnit to the cache.Though this class is intended primarily to expose and cache compilation units from previously compiled library files it must also be prepared to accept brand new compilation units resulting from live compilation as this is an absolute requirement for the current compiler design. |
void |
UnitCache.addArchivedUnit(CompilationUnit newUnit)
Adds a new entry into the cache, but marks it as already coming from a
persistent archive.
|
void |
LibraryGroupUnitCache.addArchivedUnit(CompilationUnit compilationUnit) |
void |
JdtCompiler.addCompiledUnit(CompilationUnit unit) |
void |
CompilationUnitArchive.addUnit(CompilationUnit unit)
Add a compilation unit to the archive.
|
void |
UnitCache.remove(CompilationUnit unit)
Remove a
CompilationUnit from the cache. |
void |
LibraryGroupUnitCache.remove(CompilationUnit unit) |
static boolean |
CompilationProblemReporter.reportErrors(TreeLogger logger,
CompilationUnit unit,
boolean suppressErrors)
Logs errors to the console.
|
Modifier and Type | Method and Description |
---|---|
void |
CompilationUnitTypeOracleUpdater.addNewUnits(TreeLogger logger,
Collection<CompilationUnit> units)
Adds new units to an existing TypeOracle.
|
static void |
CompilationUnitInvalidator.retainValidUnits(TreeLogger logger,
Collection<CompilationUnit> units,
Map<String,CompiledClass> validClasses)
Mutates
units by retaining only valid units. |
Copyright © 2018. All rights reserved.