| Index: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/ExtractLocalVariableOptions.java
|
| diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/ExtractLocalVariableOptions.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/ExtractLocalVariableOptions.java
|
| index d24d11690af6476fb8ba8e62453509d0259ccba3..1e81773287aac0150354dc24499e3c4a9e695252 100644
|
| --- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/ExtractLocalVariableOptions.java
|
| +++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/ExtractLocalVariableOptions.java
|
| @@ -44,14 +44,14 @@ public class ExtractLocalVariableOptions extends RefactoringOptions {
|
| /**
|
| * The name that the local variable should be given.
|
| */
|
| - private final String name;
|
| + private String name;
|
|
|
| /**
|
| * True if all occurrences of the expression within the scope in which the variable will be defined
|
| * should be replaced by a reference to the local variable. The expression used to initiate the
|
| * refactoring will always be replaced.
|
| */
|
| - private final boolean extractAll;
|
| + private boolean extractAll;
|
|
|
| /**
|
| * Constructor for {@link ExtractLocalVariableOptions}.
|
| @@ -114,6 +114,22 @@ public class ExtractLocalVariableOptions extends RefactoringOptions {
|
| return builder.toHashCode();
|
| }
|
|
|
| + /**
|
| + * True if all occurrences of the expression within the scope in which the variable will be defined
|
| + * should be replaced by a reference to the local variable. The expression used to initiate the
|
| + * refactoring will always be replaced.
|
| + */
|
| + public void setExtractAll(boolean extractAll) {
|
| + this.extractAll = extractAll;
|
| + }
|
| +
|
| + /**
|
| + * The name that the local variable should be given.
|
| + */
|
| + public void setName(String name) {
|
| + this.name = name;
|
| + }
|
| +
|
| public JsonObject toJson() {
|
| JsonObject jsonObject = new JsonObject();
|
| jsonObject.addProperty("name", name);
|
|
|