Index: pkg/analyzer/lib/src/context/context.dart |
diff --git a/pkg/analyzer/lib/src/context/context.dart b/pkg/analyzer/lib/src/context/context.dart |
index 599bb4cc8c9477ffb1bd4750beb70d6d64e0d3df..3f52feff01c8435173692a8a2a66293b221ef4e9 100644 |
--- a/pkg/analyzer/lib/src/context/context.dart |
+++ b/pkg/analyzer/lib/src/context/context.dart |
@@ -674,29 +674,6 @@ class AnalysisContextImpl implements InternalAnalysisContext { |
return source.exists(); |
} |
- Element findElementById(int id) { |
- // TODO(brianwilkerson) Implement this. |
- return null; |
-// _ElementByIdFinder finder = new _ElementByIdFinder(id); |
-// try { |
-// MapIterator<AnalysisTarget, cache.CacheEntry> iterator = |
-// _cache.iterator(); |
-// while (iterator.moveNext()) { |
-// cache.CacheEntry entry = iterator.value; |
-// if (entry.getValue(SOURCE_KIND) == SourceKind.LIBRARY) { |
-// DartEntry dartEntry = entry; |
-// LibraryElement library = dartEntry.getValue(DartEntry.ELEMENT); |
-// if (library != null) { |
-// library.accept(finder); |
-// } |
-// } |
-// } |
-// } on _ElementByIdFinderException { |
-// return finder.result; |
-// } |
-// return null; |
- } |
- |
@override |
cache.CacheEntry getCacheEntry(AnalysisTarget target) { |
cache.CacheEntry entry = _cache.get(target); |