
public class CombinedCompilationErrorsIndex extends Object implements CompilationErrorsIndex
| Constructor and Description |
|---|
CombinedCompilationErrorsIndex(CompilationErrorsIndex localCompilationErrorsIndexes,
CompilationErrorsIndex libraryCompilationErrorsIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String typeSourceName,
String fileName,
List<String> typeReferences,
List<String> compilationErrors)
Records the filename, names of referenced types, and known compilation errors for a given type.
|
Set<String> |
getCompileErrors(String typeSourceName)
Returns the compile error strings previously recorded for a given type.
|
String |
getFileName(String typeSourceName)
Returns the file name previously recorded for a given type.
|
Set<String> |
getTypeReferences(String typeSourceName)
Returns the type reference strings previously recorded for a given type.
|
boolean |
hasCompileErrors(String typeSourceName)
Returns whether a given type has any recorded compile errors.
|
boolean |
hasTypeReferences(String typeSourceName)
Returns whether a given type has any recorded type references.
|
public CombinedCompilationErrorsIndex(CompilationErrorsIndex localCompilationErrorsIndexes, CompilationErrorsIndex libraryCompilationErrorsIndex)
public void add(String typeSourceName, String fileName, List<String> typeReferences, List<String> compilationErrors)
CompilationErrorsIndexadd in interface CompilationErrorsIndexpublic Set<String> getCompileErrors(String typeSourceName)
CompilationErrorsIndexgetCompileErrors in interface CompilationErrorsIndexpublic String getFileName(String typeSourceName)
CompilationErrorsIndexgetFileName in interface CompilationErrorsIndexpublic Set<String> getTypeReferences(String typeSourceName)
CompilationErrorsIndexgetTypeReferences in interface CompilationErrorsIndexpublic boolean hasCompileErrors(String typeSourceName)
CompilationErrorsIndexhasCompileErrors in interface CompilationErrorsIndexpublic boolean hasTypeReferences(String typeSourceName)
CompilationErrorsIndexhasTypeReferences in interface CompilationErrorsIndexCopyright © 2018. All rights reserved.