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)
CompilationErrorsIndex
add
in interface CompilationErrorsIndex
public Set<String> getCompileErrors(String typeSourceName)
CompilationErrorsIndex
getCompileErrors
in interface CompilationErrorsIndex
public String getFileName(String typeSourceName)
CompilationErrorsIndex
getFileName
in interface CompilationErrorsIndex
public Set<String> getTypeReferences(String typeSourceName)
CompilationErrorsIndex
getTypeReferences
in interface CompilationErrorsIndex
public boolean hasCompileErrors(String typeSourceName)
CompilationErrorsIndex
hasCompileErrors
in interface CompilationErrorsIndex
public boolean hasTypeReferences(String typeSourceName)
CompilationErrorsIndex
hasTypeReferences
in interface CompilationErrorsIndex
Copyright © 2018. All rights reserved.