anchor.diff:    appliedEditCommands.clear();
   }
   
  -// TODO(messick): Remove edits for AS 4.2 when confident they won't be needed again.
   List<EditCommand> editCommands = [
  -  EditAndroidModuleLibraryManager(),
     Subst(
       path: 'build.gradle.kts',
       initial:
           'localPath.set("\${project.rootDir.absolutePath}/artifacts/\$ide")',
       replacement: 'type.set("IC")\n  version.set("LATEST-EAP-SNAPSHOT")',
  -    version: '2022.1',
  +    version: '2022.2',
     ),
     Subst(
       path: 'flutter-idea/build.gradle.kts',
       initial:
           'localPath.set("\${project.rootDir.absolutePath}/artifacts/\$ide")',
       replacement: 'type.set("IC")\n  version.set("LATEST-EAP-SNAPSHOT")',
  -    version: '2022.1',
  +    version: '2022.2',
     ),
     Subst(
       path: 'flutter-idea/testSrc/unit/io/flutter/testing/Testing.java',
  
positive.code:     path: 'flutter-idea/src/io/flutter/pub/PubRoot.java',
      initial: 'String @NotNull [] TEST_DIRS',
      replacement: 'String [] TEST_DIRS',
      versions: ['AS.211', 'AS.212', '2021.3'],
    ),
    // Improved analytics will not be available to current stable or beta Android Studio and stable IntelliJ.
    Subst(
      path: 'flutter-idea/src/io/flutter/analytics/FlutterAnalysisServerListener.java',
      initial: '<@NotNull Analytics>',
      replacement: '<Analytics>',
      versions: ['AS.211', 'AS.212', '2021.3'],
    ),
    Subst(
      path: 'flutter-idea/src/io/flutter/analytics/DartCompletionTimerListener.java',
      initial: 'import com.jetbrains.lang.dart.ide.completion.DartCompletionTimerExtension;',
      replacement: '',
      versions: ['AF.3.1', 'AS.211', 'AS.212'],
    ),
    Subst(
      path: 'flutter-idea/src/io/flutter/analytics/DartCompletionTimerListener.java',
      initial: 'extends DartCompletionTimerExtension',
      replacement: '',
      versions: ['AF.3.1', 'AS.211', 'AS.212'],
    ),
    Subst(
      path: 'flutter-idea/src/io/flutter/analytics/DartCompletionTimerListener.java',
      initial: '@Override',
      replacement: '',
      versions: ['AF.3.1', 'AS.211', 'AS.212', '2021.3'],
    ),
  ];
  
  
negative.code:   @override
    String convert(BuildSpec spec) {
      return null;
    }
  }
  
  