| Index: pkg/analyzer/test/generated/static_warning_code_test.dart | 
| diff --git a/pkg/analyzer/test/generated/static_warning_code_test.dart b/pkg/analyzer/test/generated/static_warning_code_test.dart | 
| index 0a7087d7fdc5ebab5b7bf75e32b4b8bad2d21052..ae8bdca538cf019fdc036ac51640a60b3b655952 100644 | 
| --- a/pkg/analyzer/test/generated/static_warning_code_test.dart | 
| +++ b/pkg/analyzer/test/generated/static_warning_code_test.dart | 
| @@ -3373,6 +3373,48 @@ a.A v;''' | 
| ]); | 
| } | 
|  | 
| +  void test_typeAnnotationGenericFunctionParameter_localFunction() { | 
| +    resetWithOptions(new AnalysisOptionsImpl()..enableGenericMethods = true); | 
| +    Source source = addSource(r''' | 
| +class A { | 
| +  void method() { | 
| +    T local<T>(Object t) { | 
| +      return (t is T) ? t : null; | 
| +    } | 
| +  } | 
| +}'''); | 
| +    computeLibrarySourceErrors(source); | 
| +    assertErrors( | 
| +        source, [StaticWarningCode.TYPE_ANNOTATION_GENERIC_FUNCTION_PARAMETER]); | 
| +    verify([source]); | 
| +  } | 
| + | 
| +  void test_typeAnnotationGenericFunctionParameter_method() { | 
| +    resetWithOptions(new AnalysisOptionsImpl()..enableGenericMethods = true); | 
| +    Source source = addSource(r''' | 
| +class A { | 
| +  T method<T>(Object t) { | 
| +    return (t is T) ? t : null; | 
| +  } | 
| +}'''); | 
| +    computeLibrarySourceErrors(source); | 
| +    assertErrors( | 
| +        source, [StaticWarningCode.TYPE_ANNOTATION_GENERIC_FUNCTION_PARAMETER]); | 
| +    verify([source]); | 
| +  } | 
| + | 
| +  void test_typeAnnotationGenericFunctionParameter_topLevelFunction() { | 
| +    resetWithOptions(new AnalysisOptionsImpl()..enableGenericMethods = true); | 
| +    Source source = addSource(r''' | 
| +T function<T>(Object t) { | 
| +  return (t is T) ? t : null; | 
| +}'''); | 
| +    computeLibrarySourceErrors(source); | 
| +    assertErrors( | 
| +        source, [StaticWarningCode.TYPE_ANNOTATION_GENERIC_FUNCTION_PARAMETER]); | 
| +    verify([source]); | 
| +  } | 
| + | 
| void test_typeParameterReferencedByStatic_field() { | 
| Source source = addSource(r''' | 
| class A<K> { | 
|  |