| Index: pkg/analysis_server/lib/src/services/refactoring/refactoring.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/refactoring/refactoring.dart b/pkg/analysis_server/lib/src/services/refactoring/refactoring.dart
|
| index 00c5cb09f68a7249c557fe5a9a134660b76e3e1a..fac12c1009bd4dd6dea556535a9c7aa01a6433ee 100644
|
| --- a/pkg/analysis_server/lib/src/services/refactoring/refactoring.dart
|
| +++ b/pkg/analysis_server/lib/src/services/refactoring/refactoring.dart
|
| @@ -216,6 +216,12 @@ abstract class InlineMethodRefactoring implements Refactoring {
|
| }
|
|
|
| /**
|
| + * The name of the class enclosing the method being inlined.
|
| + * If not a class member is being inlined, then `null`.
|
| + */
|
| + String get className;
|
| +
|
| + /**
|
| * True if the method being inlined should be removed.
|
| * It is an error if this field is `true` and [inlineAll] is `false`.
|
| */
|
| @@ -226,6 +232,17 @@ abstract class InlineMethodRefactoring implements Refactoring {
|
| * the invocation site used to create this refactoring should be inlined.
|
| */
|
| void set inlineAll(bool inlineAll);
|
| +
|
| + /**
|
| + * True if the declaration of the method is selected.
|
| + * So, all references should be inlined.
|
| + */
|
| + bool get isDeclaration;
|
| +
|
| + /**
|
| + * The name of the method (or function) being inlined.
|
| + */
|
| + String get methodName;
|
| }
|
|
|
|
|
|
|