| Index: pkg/analysis_server/lib/src/services/correction/util.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/correction/util.dart b/pkg/analysis_server/lib/src/services/correction/util.dart
|
| index da767a17fe4d995bebc5dc289823f56ecc17ec71..4b56971ed50047650fb8e12c387a8d0080ab7390 100644
|
| --- a/pkg/analysis_server/lib/src/services/correction/util.dart
|
| +++ b/pkg/analysis_server/lib/src/services/correction/util.dart
|
| @@ -411,6 +411,11 @@ class CorrectionUtils {
|
| }
|
|
|
| /**
|
| + * Returns the [AstNode] that encloses the given offset.
|
| + */
|
| + AstNode findNode(int offset) => new NodeLocator.con1(offset).searchWithin(unit);
|
| +
|
| + /**
|
| * Returns the actual type source of the given [Expression], may be `null`
|
| * if can not be resolved, should be treated as the `dynamic` type.
|
| */
|
|
|