| Index: pkg/analyzer/lib/src/summary/link.dart | 
| diff --git a/pkg/analyzer/lib/src/summary/link.dart b/pkg/analyzer/lib/src/summary/link.dart | 
| index a3cd302bf6f3e35b97ffc24eca371553138cab18..0945db285db9aa2665e25ad4a065d2e5870baef5 100644 | 
| --- a/pkg/analyzer/lib/src/summary/link.dart | 
| +++ b/pkg/analyzer/lib/src/summary/link.dart | 
| @@ -436,6 +436,16 @@ abstract class ClassElementForLink extends Object | 
| return null; | 
| } | 
|  | 
| +  @override | 
| +  MethodElement getMethod(String methodName) { | 
| +    for (MethodElement method in methods) { | 
| +      if (method.name == methodName) { | 
| +        return method; | 
| +      } | 
| +    } | 
| +    return null; | 
| +  } | 
| + | 
| /** | 
| * Perform type inference and cycle detection on this class and | 
| * store the resulting information in [compilationUnit]. | 
| @@ -644,16 +654,6 @@ class ClassElementForLink_Class extends ClassElementForLink | 
| } | 
|  | 
| @override | 
| -  MethodElement getMethod(String methodName) { | 
| -    for (MethodElement method in methods) { | 
| -      if (method.name == methodName) { | 
| -        return method; | 
| -      } | 
| -    } | 
| -    return null; | 
| -  } | 
| - | 
| -  @override | 
| void link(CompilationUnitElementInBuildUnit compilationUnit) { | 
| for (ConstructorElementForLink constructorElement in constructors) { | 
| constructorElement.link(compilationUnit); | 
|  |