Index: pkg/analyzer/lib/src/generated/testing/ast_test_factory.dart |
diff --git a/pkg/analyzer/lib/src/generated/testing/ast_test_factory.dart b/pkg/analyzer/lib/src/generated/testing/ast_test_factory.dart |
index 2139d380c56b45b9e2ac161459cc6aa5a3f8aeba..9a5a4589a70e7024793cd30cb922a7d620692ce4 100644 |
--- a/pkg/analyzer/lib/src/generated/testing/ast_test_factory.dart |
+++ b/pkg/analyzer/lib/src/generated/testing/ast_test_factory.dart |
@@ -471,12 +471,11 @@ class AstTestFactory { |
static FieldDeclaration fieldDeclaration(bool isStatic, Keyword keyword, |
TypeAnnotation type, List<VariableDeclaration> variables) => |
- astFactory.fieldDeclaration( |
- null, |
- null, |
- isStatic ? TokenFactory.tokenFromKeyword(Keyword.STATIC) : null, |
- variableDeclarationList(keyword, type, variables), |
- TokenFactory.tokenFromType(TokenType.SEMICOLON)); |
+ astFactory.fieldDeclaration2( |
+ staticKeyword: |
+ isStatic ? TokenFactory.tokenFromKeyword(Keyword.STATIC) : null, |
+ fieldList: variableDeclarationList(keyword, type, variables), |
+ semicolon: TokenFactory.tokenFromType(TokenType.SEMICOLON)); |
static FieldDeclaration fieldDeclaration2(bool isStatic, Keyword keyword, |
List<VariableDeclaration> variables) => |