Chromium Code Reviews| 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..6ce39d48c2a91faf0375123c6c4fe3d6305b92ba 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/elements/elements.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/elements/elements.dart |
| @@ -907,6 +907,11 @@ abstract class ClassElement extends TypeDeclarationElement |
| bool isObject(Compiler compiler); |
| bool isSubclassOf(ClassElement cls); |
| + /// Returns true if `this` exlicitly/nominally implements [intrface]. |
|
Johnni Winther
2014/02/03 08:27:25
'exlicitly' -> 'explicitly'
floitsch
2014/02/03 17:43:20
Done.
|
| + /// |
| + /// Note that, if [intrface] is the `Function` class, this method returns |
| + /// falso for a class that has a `call` method but does not explicitly |
| + /// implement `Function`. |
| bool implementsInterface(ClassElement intrface); |
| bool hasFieldShadowedBy(Element fieldMember); |