Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2321)

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/InheritanceManager.java

Issue 15500002: Checkpoint for more inheritance error codes 'Missing inherited member' warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase with bleeding_edge Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/InheritanceManager.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/InheritanceManager.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/InheritanceManager.java
index 3bb68ae9e68de52fa627446c1dda9b9d2db8ac34..6d6048112c4cc389fc76c54a536edabf67e41f0b 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/InheritanceManager.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/InheritanceManager.java
@@ -65,6 +65,16 @@ public class InheritanceManager {
interfaceLookup = new HashMap<ClassElement, HashMap<String, ExecutableElement>>();
}
+ public HashMap<String, ExecutableElement> getMapOfMembersInheritedFromClasses(
+ ClassElement classElt) {
+ return computeClassChainLookupMap(classElt, new HashSet<ClassElement>());
+ }
+
+ public HashMap<String, ExecutableElement> getMapOfMembersInheritedFromInterfaces(
+ ClassElement classElt) {
+ return computeInterfaceLookupMap(classElt, new HashSet<ClassElement>());
+ }
+
/**
* Given some {@link ClassElement class element} and some member name, this returns the
* {@link ExecutableElement executable element} that the class inherits from the mixins,

Powered by Google App Engine
This is Rietveld 408576698