| Index: editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/util/ASTFactory.java
|
| diff --git a/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/util/ASTFactory.java b/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/util/ASTFactory.java
|
| index a34454039438b106809da046feffdce98b278641..c2bfb7897daf2b11d25716ffa3e3a32367a52b9c 100644
|
| --- a/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/util/ASTFactory.java
|
| +++ b/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/util/ASTFactory.java
|
| @@ -543,7 +543,8 @@ public final class ASTFactory {
|
| type,
|
| token(Keyword.THIS),
|
| token(TokenType.PERIOD),
|
| - identifier);
|
| + identifier,
|
| + null);
|
| }
|
|
|
| public static FieldFormalParameter fieldFormalParameter(Keyword keyword, TypeName type,
|
| @@ -551,6 +552,19 @@ public final class ASTFactory {
|
| return fieldFormalParameter(keyword, type, identifier(identifier));
|
| }
|
|
|
| + public static FieldFormalParameter fieldFormalParameter(Keyword keyword, TypeName type,
|
| + String identifier, FormalParameterList parameterList) {
|
| + return new FieldFormalParameter(
|
| + null,
|
| + null,
|
| + keyword == null ? null : token(keyword),
|
| + type,
|
| + token(Keyword.THIS),
|
| + token(TokenType.PERIOD),
|
| + identifier(identifier),
|
| + parameterList);
|
| + }
|
| +
|
| public static ForEachStatement forEachStatement(DeclaredIdentifier loopParameter,
|
| Expression iterator, Statement body) {
|
| return new ForEachStatement(
|
|
|