anchor.diff:  }
   const c = const C(t: 1);
   ''');
  +  }
  +
  +  test_generic_staticParameterElement_annotation() async {
  +    await assertNoErrorsInCode('''
  +class C<T> {
  +  const C.named({arg});
  +}
  +@C<bool>.named(arg: true)
  +test() {}
  +''');
  +    var x = findNode.namedExpression('arg: true');
  +    var y = x.staticParameterElement!;
  +    expect(y, TypeMatcher<ParameterMember>());
  +    expect(y.declaration, findElement.parameter('arg'));
     }
   
     test_inconsistentMethodInheritance_accessors_typeParameters1() async {
  
positive.code: const app = 0;
  typedef int f(@app int app);
  ''');
    }
  
    test_genericTypeAlias_castsAndTypeChecks_hasTypeParameters() async {
  
negative.code: 
  import 'package:analyzer/dart/ast/ast.dart';
  import 'package:analyzer/dart/element/element.dart';
  import 'package:analyzer/src/dart/element/member.dart';
  import 'package:analyzer/src/error/codes.dart';
  import 'package:analyzer/src/generated/parser.dart' show ParserErrorCode;
  import 'package:test/test.dart';
  