| Index: pkg/analysis_server/lib/src/services/correction/fix_internal.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/correction/fix_internal.dart b/pkg/analysis_server/lib/src/services/correction/fix_internal.dart
|
| index c29be046eae2caa6b2598d853f422c789962d5e6..2a904262bbb59be539e4a8788e0ba71e52959435 100644
|
| --- a/pkg/analysis_server/lib/src/services/correction/fix_internal.dart
|
| +++ b/pkg/analysis_server/lib/src/services/correction/fix_internal.dart
|
| @@ -1011,6 +1011,9 @@ class FixProcessor {
|
| }
|
| staticModifier = _inStaticContext();
|
| }
|
| + if (targetClassElement.librarySource.isInSystemLibrary) {
|
| + return;
|
| + }
|
| utils.targetClassElement = targetClassElement;
|
| // prepare target ClassDeclaration
|
| AstNode targetTypeNode = getParsedClassElementNode(targetClassElement);
|
| @@ -1144,6 +1147,9 @@ class FixProcessor {
|
| }
|
| staticModifier = _inStaticContext();
|
| }
|
| + if (targetClassElement.librarySource.isInSystemLibrary) {
|
| + return;
|
| + }
|
| utils.targetClassElement = targetClassElement;
|
| // prepare target ClassDeclaration
|
| AstNode targetTypeNode = getParsedClassElementNode(targetClassElement);
|
| @@ -2014,6 +2020,9 @@ class FixProcessor {
|
| return;
|
| }
|
| ClassElement targetClassElement = targetType.element as ClassElement;
|
| + if (targetClassElement.librarySource.isInSystemLibrary) {
|
| + return;
|
| + }
|
| targetElement = targetClassElement;
|
| // prepare target ClassDeclaration
|
| AstNode targetTypeNode = getParsedClassElementNode(targetClassElement);
|
|
|