Index: sdk/lib/_internal/compiler/implementation/elements/elements.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/sdk/lib/_internal/compiler/implementation/elements/elements.dart |
index 53d6650ed24f460b4611fe6fe254c7fd528266a2..3ec5bf346d6302660de99749c09b204cc438bb6e 100644 |
--- a/sdk/lib/_internal/compiler/implementation/elements/elements.dart |
+++ b/sdk/lib/_internal/compiler/implementation/elements/elements.dart |
@@ -907,6 +907,10 @@ abstract class ClassElement extends TypeDeclarationElement |
bool isObject(Compiler compiler); |
bool isSubclassOf(ClassElement cls); |
+ /// Returns true if `this` implements [intrface]. |
ngeoffray
2014/01/31 23:32:41
if `this` explicitly/nominally implements [intrfac
floitsch
2014/01/31 23:36:23
Done.
|
+ /// |
+ /// Does not return true if `this` has a `call` method, and [intrface] is |
+ /// `Function`. |
bool implementsInterface(ClassElement intrface); |
bool hasFieldShadowedBy(Element fieldMember); |