* @param source the source that has been removed
*/
private void sourceRemoved(Source source) {
SourceEntry sourceEntry = cache.get(source);
if (sourceEntry instanceof HtmlEntry) {
HtmlEntryImpl htmlCopy = ((HtmlEntry) sourceEntry).getWritableCopy();
invalidateAngularResolution(htmlCopy);
} else if (sourceEntry instanceof DartEntry) {
HashSet<Source> libraries = new HashSet<Source>();
for (Source librarySource : getLibrariesContaining(source)) {
libraries.add(librarySource);