From 156ff92845996892fcce19e46c420cf4a6cbedb0 Mon Sep 17 00:00:00 2001 From: Ivan Kylchik Date: Fri, 19 Nov 2021 17:59:55 +0300 Subject: [PATCH] [kotlin:testdata] Replace all occurrences of `WITH_RUNTIME` with `WITH_STDLIB` We are going to deprecate `WITH_RUNTIME` directive in kotlin test infrastructure. The main reason behind this change is that `WITH_STDLIB` directive better describes its meaning, specifically it will add kotlin stdlib to test's classpath. GitOrigin-RevId: 73a702b404ed63e728ad85fa750d5d87ce5bc7f4 --- .../parcelize/tests/testData/checker/constructors.kt | 2 +- .../parcelize/tests/testData/checker/customCreator.kt | 2 +- .../parcelize/tests/testData/checker/customParcelers.kt | 2 +- .../tests/testData/checker/deprecatedAnnotations.kt | 2 +- .../parcelize/tests/testData/checker/properties.kt | 2 +- .../addPrimaryConstructor/constructorWithDelegate.kt | 2 +- .../constructorWithDelegate.kt.after | 2 +- .../testData/quickfix/addPrimaryConstructor/noQuickFix.kt | 2 +- .../testData/quickfix/addPrimaryConstructor/simple.kt | 2 +- .../quickfix/addPrimaryConstructor/simple.kt.after | 2 +- .../tests/testData/quickfix/cantBeInnerClass/simple.kt | 2 +- .../testData/quickfix/cantBeInnerClass/simple.kt.after | 2 +- .../testData/quickfix/classShouldBeAnnotated/simple.kt | 2 +- .../quickfix/classShouldBeAnnotated/simple.kt.after | 2 +- .../testData/quickfix/deleteIncompatible/creatorField.kt | 2 +- .../quickfix/deleteIncompatible/creatorField.kt.after | 2 +- .../testData/quickfix/deleteIncompatible/writeToParcel.kt | 2 +- .../quickfix/deleteIncompatible/writeToParcel.kt.after | 2 +- .../parcelize/tests/testData/quickfix/migrations/basic.kt | 2 +- .../tests/testData/quickfix/migrations/basic.kt.after | 2 +- .../tests/testData/quickfix/migrations/complexCase1.kt | 2 +- .../testData/quickfix/migrations/complexCase1.kt.after | 2 +- .../quickfix/migrations/customDescribeContents.kt | 2 +- .../quickfix/migrations/customDescribeContents.kt.after | 2 +- .../testData/quickfix/migrations/fromCreatorObject.kt | 2 +- .../quickfix/migrations/fromCreatorObject.kt.after | 2 +- .../testData/quickfix/migrations/innerClassFactory.kt | 2 +- .../quickfix/migrations/innerClassFactory.kt.after | 2 +- .../tests/testData/quickfix/migrations/jvmField.kt | 2 +- .../tests/testData/quickfix/migrations/jvmField.kt.after | 2 +- .../quickfix/migrations/withoutDescribeContents.kt | 2 +- .../quickfix/migrations/withoutDescribeContents.kt.after | 2 +- .../quickfix/noParcelableSupertype/alreadyHasSupertype.kt | 2 +- .../testData/quickfix/noParcelableSupertype/simple.kt | 2 +- .../quickfix/noParcelableSupertype/simple.kt.after | 2 +- .../testData/quickfix/propertyWontBeSerialized/simple.kt | 2 +- .../quickfix/propertyWontBeSerialized/simple.kt.after | 2 +- .../removeDuplicatingTypeParcelerAnnotation/simple.kt | 2 +- .../simple.kt.after | 2 +- .../basic/ClassNameForMethodWithPackageConflict.kt | 2 +- .../basic/ClassNameForMethodWithPackageConflict.kt.after | 2 +- .../basic/ClassNameForMethodWithPackageConflict2.kt | 2 +- .../basic/ClassNameForMethodWithPackageConflict2.kt.after | 2 +- .../testData/weighers/basic/ImportedFirstForJavaClass.kt | 2 +- .../tests/testData/weighers/smart/BooleanExpected.kt | 2 +- .../tests/testData/weighers/smart/FunctionExpected.kt | 2 +- .../NameSimilarityInImplicitlyTypedVarInitializer.kt | 2 +- .../tests/testData/weighers/smart/SmartPriority.kt | 2 +- .../checkers/AbstractJavaAgainstKotlinCheckerTest.java | 4 +++- .../idea/refactoring/introduce/AbstractExtractionTest.kt | 3 ++- .../intention/implementParcelable/withTransient.kt | 2 +- .../implementParcelable/withTransient.kt.expected | 2 +- .../android/quickfix/viewConstructor/indirect.after.kt | 2 +- .../quickfix/viewConstructor/indirect.before.Main.kt | 2 +- .../android/quickfix/viewConstructor/simple.after.kt | 2 +- .../quickfix/viewConstructor/simple.before.Main.kt | 2 +- .../fullPackageFQNameOnVisiblityError.kt | 2 +- .../codeInsight/generate/secondaryConstructors/empty.kt | 2 +- .../generate/secondaryConstructors/empty.kt.after | 2 +- .../generate/secondaryConstructors/emptyExists.kt | 2 +- .../compiler/asJava/lightClasses/JvmNameOnMember.kt | 2 +- .../testData/compiler/asJava/lightClasses/JvmStatic.kt | 2 +- .../ActualTypeAliasCustomJvmPackageName.kt | 2 +- .../lightClasses/compilationErrors/AllInlineOnly.kt | 2 +- .../lightClasses/compilationErrors/AnnotationModifiers.kt | 2 +- .../lightClasses/compilationErrors/JvmPackageName.kt | 2 +- .../lightClasses/compilationErrors/WrongAnnotations.kt | 2 +- .../compiler/asJava/lightClasses/facades/AllPrivate.kt | 2 +- .../compiler/asJava/lightClasses/facades/MultiFile.kt | 2 +- .../asJava/lightClasses/facades/SingleJvmClassName.kt | 2 +- .../lightClasses/nullabilityAnnotations/JvmOverloads.kt | 2 +- .../asJava/lightClasses/publicField/CompanionObject.kt | 2 +- .../compiler/asJava/lightClasses/publicField/Simple.kt | 2 +- .../concatenatedStringGenerator/stringtemplate.kt | 2 +- .../stringtemplateWithConstant.kt | 2 +- .../folding/checkCollapse/collectionFactoryFunctions.kt | 2 +- .../kotlin/idea/tests/testData/highlighter/Functions.kt | 2 +- .../tests/testData/highlighter/TopLevelDestructuring.kt | 2 +- .../LambdaArgumentBeforeFunctionInitializer.after.kt | 2 +- .../LambdaArgumentBeforeFunctionInitializer.kt | 2 +- .../LambdaArgumentBeforeLocalPropertyInitializer.after.kt | 2 +- .../LambdaArgumentBeforeLocalPropertyInitializer.kt | 2 +- ...LambdaArgumentBeforeMemberPropertyInitializer.after.kt | 2 +- .../LambdaArgumentBeforeMemberPropertyInitializer.kt | 2 +- ...mbdaArgumentBeforeTopLevelPropertyInitializer.after.kt | 2 +- .../LambdaArgumentBeforeTopLevelPropertyInitializer.kt | 2 +- .../NotApplicableOnInitializer.after.kt | 2 +- .../afterUnmatchedBrace/NotApplicableOnInitializer.kt | 2 +- .../tests/testData/inspections/canBeVal/withDelegate.kt | 2 +- .../testData/inspections/canBeVal/withReadOnlyDelegate.kt | 2 +- .../idea/tests/testData/inspections/dfa/AlwaysZero.kt | 2 +- .../kotlin/idea/tests/testData/inspections/dfa/Arrays.kt | 2 +- .../kotlin/idea/tests/testData/inspections/dfa/Boolean.kt | 2 +- .../idea/tests/testData/inspections/dfa/BooleanConst.kt | 2 +- .../idea/tests/testData/inspections/dfa/BoxedInt.kt | 2 +- .../idea/tests/testData/inspections/dfa/BrokenCode.kt | 2 +- .../testData/inspections/dfa/CastGenericMethodReturn.kt | 2 +- .../idea/tests/testData/inspections/dfa/ClassRef.kt | 2 +- .../testData/inspections/dfa/CollectionConstructors.kt | 2 +- .../idea/tests/testData/inspections/dfa/Comparison.kt | 2 +- .../testData/inspections/dfa/CustomObjectComparison.kt | 2 +- .../tests/testData/inspections/dfa/DoubleComparison.kt | 2 +- .../idea/tests/testData/inspections/dfa/EnumComparison.kt | 2 +- .../idea/tests/testData/inspections/dfa/Exclamation.kt | 2 +- .../kotlin/idea/tests/testData/inspections/dfa/ForLoop.kt | 2 +- .../kotlin/idea/tests/testData/inspections/dfa/InRange.kt | 2 +- .../tests/testData/inspections/dfa/IncompleteCode1.kt | 2 +- .../idea/tests/testData/inspections/dfa/InlineLambda.kt | 2 +- .../tests/testData/inspections/dfa/InlineStandardCalls.kt | 2 +- .../idea/tests/testData/inspections/dfa/JavaMethods.kt | 2 +- .../kotlin/idea/tests/testData/inspections/dfa/Lambda.kt | 2 +- .../tests/testData/inspections/dfa/LanguageConstructs.kt | 2 +- .../kotlin/idea/tests/testData/inspections/dfa/List.kt | 2 +- .../kotlin/idea/tests/testData/inspections/dfa/Math.kt | 2 +- .../idea/tests/testData/inspections/dfa/NothingType.kt | 2 +- .../idea/tests/testData/inspections/dfa/Property.kt | 2 +- .../idea/tests/testData/inspections/dfa/Qualifier.kt | 2 +- .../tests/testData/inspections/dfa/SmartCastConflict.kt | 2 +- .../inspections/dfa/StaticAnalysisVsHumanBrain.kt | 2 +- .../tests/testData/inspections/dfa/StringComparison.kt | 2 +- .../idea/tests/testData/inspections/dfa/StringTemplate.kt | 2 +- .../kotlin/idea/tests/testData/inspections/dfa/Strings.kt | 2 +- .../idea/tests/testData/inspections/dfa/Suppressions.kt | 2 +- .../idea/tests/testData/inspections/dfa/TryCatch.kt | 2 +- .../testData/inspections/dfa/TryCatchInsideFinally.kt | 2 +- .../idea/tests/testData/inspections/dfa/TryFinally.kt | 2 +- .../idea/tests/testData/inspections/dfa/TypeCast.kt | 2 +- .../idea/tests/testData/inspections/dfa/TypeTest.kt | 2 +- .../kotlin/idea/tests/testData/inspections/dfa/When.kt | 2 +- .../idea/tests/testData/inspections/dfa/WhileLoop.kt | 2 +- .../idea/tests/testData/inspections/emptyRange/test.kt | 2 +- .../inspectionData/inspections.test | 2 +- .../testData/inspections/hasPlatformType/function.kt | 2 +- .../tests/testData/inspections/hasPlatformType/local.kt | 2 +- .../testData/inspections/hasPlatformType/property1.kt | 2 +- .../testData/inspections/hasPlatformType/property2.kt | 2 +- .../tests/testData/inspections/hasPlatformType/star.kt | 2 +- .../inspections/redundantSuspendModifier/operators.kt | 2 +- .../testData/inspections/redundantSuspendModifier/test.kt | 2 +- .../redundantWith/inspectionData/inspections.test | 2 +- .../idea/tests/testData/inspections/unusedEquals/test.kt | 2 +- .../inspections/unusedImport/duplicatedImports.kt | 2 +- .../idea/tests/testData/inspections/unusedImport/file.kt | 2 +- .../propertyWithExtensionFunctionType.Dependency.kt | 2 +- .../unusedImport/propertyWithExtensionFunctionType.kt | 2 +- .../inspections/unusedImport/unusedStarWhenExplicit.kt | 2 +- .../unusedSymbol/class/unusedButEntryPointApplet.kt | 2 +- .../unusedSymbol/object/inspectionData/inspections.test | 2 +- .../unusedSymbol/object/unusedButEntryPointMain.kt | 2 +- .../testData/inspectionsLocal/arrayInDataClass/test.kt | 2 +- .../inspectionsLocal/arrayInDataClass/test.kt.after | 2 +- .../inspectionsLocal/booleanLiteralArgument/pair.kt | 2 +- .../inspectionsLocal/booleanLiteralArgument/triple.kt | 2 +- .../branched/ifThenToElvis/applicableForLocalStableVar.kt | 2 +- .../ifThenToElvis/applicableForLocalStableVar.kt.after | 2 +- .../branched/ifThenToElvis/implicitReceiver.kt | 2 +- .../branched/ifThenToElvis/implicitReceiver.kt.after | 2 +- .../ifThenToElvis/inspectionData/inspections.test | 2 +- .../inspectionsLocal/branched/ifThenToElvis/kt19666.kt | 2 +- .../branched/ifThenToElvis/kt19666.kt.after | 2 +- .../ifThenToElvis/notApplicableForLocalUnstableVar.kt | 2 +- .../ifThenToElvis/notApplicableForSimpleKotlinNPE.kt | 2 +- .../branched/ifThenToElvis/notApplicableForSimpleNPE.kt | 2 +- .../branched/ifThenToElvis/nullCheckWithSelectorCall.kt | 2 +- .../ifThenToElvis/nullCheckWithSelectorCall.kt.after | 2 +- .../ifThenToElvis/nullCheckWithSelectorCallChain.kt | 2 +- .../ifThenToElvis/nullCheckWithSelectorCallChain.kt.after | 2 +- .../branched/ifThenToElvis/replaceWithLet.kt | 2 +- .../branched/ifThenToElvis/replaceWithLet.kt.after | 2 +- .../branched/ifThenToElvis/replaceWithLetAndRenameIt.kt | 2 +- .../ifThenToElvis/replaceWithLetAndRenameIt.kt.after | 2 +- .../branched/ifThenToElvis/replaceWithLetInMember.kt | 2 +- .../ifThenToElvis/replaceWithLetInMember.kt.after | 2 +- .../ifThenToElvis/replaceWithLetInMemberWithIs.kt | 2 +- .../ifThenToElvis/replaceWithLetInMemberWithIs.kt.after | 2 +- .../branched/ifThenToElvis/throwsNPEwithArgument.kt | 2 +- .../branched/ifThenToElvis/throwsNPEwithArgument.kt.after | 2 +- .../inspectionsLocal/branched/ifThenToSafeAccess/call.kt | 2 +- .../branched/ifThenToSafeAccess/call.kt.after | 2 +- .../inspectionsLocal/branched/ifThenToSafeAccess/call2.kt | 2 +- .../branched/ifThenToSafeAccess/call2.kt.after | 2 +- .../inspectionsLocal/branched/ifThenToSafeAccess/call3.kt | 2 +- .../branched/ifThenToSafeAccess/call3.kt.after | 2 +- .../inspectionsLocal/branched/ifThenToSafeAccess/call4.kt | 2 +- .../branched/ifThenToSafeAccess/call4.kt.after | 2 +- .../branched/ifThenToSafeAccess/callWithNamedArgument.kt | 2 +- .../ifThenToSafeAccess/callWithNamedArgument.kt.after | 2 +- .../branched/ifThenToSafeAccess/implicitReceiver.kt | 2 +- .../branched/ifThenToSafeAccess/implicitReceiver.kt.after | 2 +- .../ifThenToSafeAccess/implicitReceiverInApply.kt | 2 +- .../ifThenToSafeAccess/inspectionData/inspections.test | 2 +- .../ifThenToSafeAccess/notApplicableResultInCallChain.kt | 2 +- .../ifThenToSafeAccess/nullCheckWithSelectorCallChain.kt | 2 +- .../nullCheckWithSelectorCallChain.kt.after | 2 +- .../branched/ifThenToSafeAccess/replaceWithLetInMember.kt | 2 +- .../ifThenToSafeAccess/replaceWithLetInMember.kt.after | 2 +- .../ifThenToSafeAccess/replaceWithLetInMemberWithIs.kt | 2 +- .../replaceWithLetInMemberWithIs.kt.after | 2 +- .../branched/ifThenToSafeAccess/resultCall.kt | 2 +- .../branched/ifThenToSafeAccess/resultCall.kt.after | 2 +- .../inspectionsLocal/cascadeIf/cannotIntroduceSubject.kt | 2 +- .../tests/testData/inspectionsLocal/cascadeIf/normal.kt | 2 +- .../testData/inspectionsLocal/cascadeIf/normal.kt.after | 2 +- .../testData/inspectionsLocal/cascadeIf/withAnnotation.kt | 2 +- .../inspectionsLocal/cascadeIf/withAnnotation.kt.after | 2 +- .../convertCallChainIntoSequence/allTransformations.kt | 2 +- .../allTransformations.kt.after | 2 +- .../collections/convertCallChainIntoSequence/comment.kt | 2 +- .../convertCallChainIntoSequence/comment.kt.after | 2 +- .../collections/convertCallChainIntoSequence/comment2.kt | 2 +- .../convertCallChainIntoSequence/comment2.kt.after | 2 +- .../convertCallChainIntoSequence/endsWithGroupingBy.kt | 2 +- .../endsWithGroupingBy.kt.after | 2 +- .../collections/convertCallChainIntoSequence/flatten.kt | 2 +- .../convertCallChainIntoSequence/flatten.kt.after | 2 +- .../collections/convertCallChainIntoSequence/flatten2.kt | 2 +- .../convertCallChainIntoSequence/flatten2.kt.after | 2 +- .../convertCallChainIntoSequence/implicitReceiver.kt | 2 +- .../implicitReceiver.kt.after | 2 +- .../collections/convertCallChainIntoSequence/iterable.kt | 2 +- .../convertCallChainIntoSequence/iterable.kt.after | 2 +- .../collections/convertCallChainIntoSequence/iterable2.kt | 2 +- .../convertCallChainIntoSequence/iterable2.kt.after | 2 +- .../convertCallChainIntoSequence/mutableList.kt | 2 +- .../convertCallChainIntoSequence/mutableList.kt.after | 2 +- .../convertCallChainIntoSequence/mutableSet.kt | 2 +- .../convertCallChainIntoSequence/mutableSet.kt.after | 2 +- .../convertCallChainIntoSequence/noTargetCallChain.kt | 2 +- .../convertCallChainIntoSequence/noTargetCallChain2.kt | 2 +- .../convertCallChainIntoSequence/noTargetCallChain3.kt | 2 +- .../convertCallChainIntoSequence/noTargetTermination.kt | 2 +- .../noTargetTermination.kt.after | 2 +- .../convertCallChainIntoSequence/noTargetTermination2.kt | 2 +- .../noTargetTermination2.kt.after | 2 +- .../collections/convertCallChainIntoSequence/nullable.kt | 2 +- .../convertCallChainIntoSequence/nullable.kt.after | 2 +- .../collections/convertCallChainIntoSequence/nullable2.kt | 2 +- .../convertCallChainIntoSequence/nullable2.kt.after | 2 +- .../collections/convertCallChainIntoSequence/return.kt | 2 +- .../convertCallChainIntoSequence/returnAtLabels.kt | 2 +- .../convertCallChainIntoSequence/returnAtLabels.kt.after | 2 +- .../collections/convertCallChainIntoSequence/set.kt | 2 +- .../collections/convertCallChainIntoSequence/set.kt.after | 2 +- .../collections/convertCallChainIntoSequence/simple.kt | 2 +- .../convertCallChainIntoSequence/simple.kt.after | 2 +- .../collections/convertCallChainIntoSequence/simple2.kt | 2 +- .../convertCallChainIntoSequence/simple2.kt.after | 2 +- .../collections/convertCallChainIntoSequence/simple3.kt | 2 +- .../convertCallChainIntoSequence/simple3.kt.after | 2 +- .../collections/convertCallChainIntoSequence/simple4.kt | 2 +- .../convertCallChainIntoSequence/simple4.kt.after | 2 +- .../convertCallChainIntoSequence/startsWithGroupingBy.kt | 2 +- .../convertCallChainIntoSequence/termination/all.kt | 2 +- .../convertCallChainIntoSequence/termination/all.kt.after | 2 +- .../convertCallChainIntoSequence/termination/any.kt | 2 +- .../convertCallChainIntoSequence/termination/any.kt.after | 2 +- .../termination/asIterable.kt | 2 +- .../termination/asIterable.kt.after | 2 +- .../termination/asSequence.kt | 2 +- .../termination/asSequence.kt.after | 2 +- .../convertCallChainIntoSequence/termination/assosiate.kt | 2 +- .../termination/assosiate.kt.after | 2 +- .../termination/assosiateBy.kt | 2 +- .../termination/assosiateBy.kt.after | 2 +- .../termination/assosiateByTo.kt | 2 +- .../termination/assosiateByTo.kt.after | 2 +- .../termination/assosiateTo.kt | 2 +- .../termination/assosiateTo.kt.after | 2 +- .../convertCallChainIntoSequence/termination/average.kt | 2 +- .../termination/average.kt.after | 2 +- .../convertCallChainIntoSequence/termination/contains.kt | 2 +- .../termination/contains.kt.after | 2 +- .../convertCallChainIntoSequence/termination/count.kt | 2 +- .../termination/count.kt.after | 2 +- .../convertCallChainIntoSequence/termination/elementAt.kt | 2 +- .../termination/elementAt.kt.after | 2 +- .../termination/elementAtOrElse.kt | 2 +- .../termination/elementAtOrElse.kt.after | 2 +- .../termination/elementAtOrNull.kt | 2 +- .../termination/elementAtOrNull.kt.after | 2 +- .../termination/filterIndexedTo.kt | 2 +- .../termination/filterIndexedTo.kt.after | 2 +- .../termination/filterIsInstanceTo.kt | 2 +- .../termination/filterIsInstanceTo.kt.after | 2 +- .../termination/filterNotNullTo.kt | 2 +- .../termination/filterNotNullTo.kt.after | 2 +- .../termination/filterNotTo.kt | 2 +- .../termination/filterNotTo.kt.after | 2 +- .../convertCallChainIntoSequence/termination/filterTo.kt | 2 +- .../termination/filterTo.kt.after | 2 +- .../convertCallChainIntoSequence/termination/find.kt | 2 +- .../termination/find.kt.after | 2 +- .../convertCallChainIntoSequence/termination/findLast.kt | 2 +- .../termination/findLast.kt.after | 2 +- .../convertCallChainIntoSequence/termination/first.kt | 2 +- .../termination/first.kt.after | 2 +- .../termination/firstNotNullOf.kt | 2 +- .../termination/firstNotNullOf.kt.after | 2 +- .../termination/firstNotNullOfOrNull.kt | 2 +- .../termination/firstNotNullOfOrNull.kt.after | 2 +- .../termination/firstOrNull.kt | 2 +- .../termination/firstOrNull.kt.after | 2 +- .../convertCallChainIntoSequence/termination/fold.kt | 2 +- .../termination/fold.kt.after | 2 +- .../termination/foldIndexed.kt | 2 +- .../termination/foldIndexed.kt.after | 2 +- .../convertCallChainIntoSequence/termination/forEach.kt | 2 +- .../termination/forEachIndexed.kt | 2 +- .../convertCallChainIntoSequence/termination/groupBy.kt | 2 +- .../termination/groupBy.kt.after | 2 +- .../convertCallChainIntoSequence/termination/groupByTo.kt | 2 +- .../termination/groupByTo.kt.after | 2 +- .../termination/groupingBy.kt | 2 +- .../termination/groupingBy.kt.after | 2 +- .../convertCallChainIntoSequence/termination/indexOf.kt | 2 +- .../termination/indexOf.kt.after | 2 +- .../termination/indexOfFirst.kt | 2 +- .../termination/indexOfFirst.kt.after | 2 +- .../termination/indexOfLast.kt | 2 +- .../termination/indexOfLast.kt.after | 2 +- .../convertCallChainIntoSequence/termination/joinTo.kt | 2 +- .../termination/joinTo.kt.after | 2 +- .../termination/joinToString.kt | 2 +- .../termination/joinToString.kt.after | 2 +- .../convertCallChainIntoSequence/termination/last.kt | 2 +- .../termination/last.kt.after | 2 +- .../termination/lastIndexOf.kt | 2 +- .../termination/lastIndexOf.kt.after | 2 +- .../termination/lastOrNull.kt | 2 +- .../termination/lastOrNull.kt.after | 2 +- .../termination/mapIndexedNotNullTo.kt | 2 +- .../termination/mapIndexedNotNullTo.kt.after | 2 +- .../termination/mapIndexedTo.kt | 2 +- .../termination/mapIndexedTo.kt.after | 2 +- .../termination/mapNotNullTo.kt | 2 +- .../termination/mapNotNullTo.kt.after | 2 +- .../convertCallChainIntoSequence/termination/mapTo.kt | 2 +- .../termination/mapTo.kt.after | 2 +- .../termination/maxByOrNull.kt | 2 +- .../termination/maxByOrNull.kt.after | 2 +- .../convertCallChainIntoSequence/termination/maxOf.kt | 2 +- .../termination/maxOf.kt.after | 2 +- .../termination/maxOfOrNull.kt | 2 +- .../termination/maxOfOrNull.kt.after | 2 +- .../convertCallChainIntoSequence/termination/maxOfWith.kt | 2 +- .../termination/maxOfWith.kt.after | 2 +- .../termination/maxOfWithOrNull.kt | 2 +- .../termination/maxOfWithOrNull.kt.after | 2 +- .../convertCallChainIntoSequence/termination/maxOrNull.kt | 2 +- .../termination/maxOrNull.kt.after | 2 +- .../termination/maxWithOrNull.kt | 2 +- .../termination/maxWithOrNull.kt.after | 2 +- .../termination/minByOrNull.kt | 2 +- .../termination/minByOrNull.kt.after | 2 +- .../convertCallChainIntoSequence/termination/minOf.kt | 2 +- .../termination/minOf.kt.after | 2 +- .../termination/minOfOrNull.kt | 2 +- .../termination/minOfOrNull.kt.after | 2 +- .../convertCallChainIntoSequence/termination/minOfWith.kt | 2 +- .../termination/minOfWith.kt.after | 2 +- .../termination/minOfWithOrNull.kt | 2 +- .../termination/minOfWithOrNull.kt.after | 2 +- .../convertCallChainIntoSequence/termination/minOrNull.kt | 2 +- .../termination/minOrNull.kt.after | 2 +- .../termination/minWithOrNull.kt | 2 +- .../termination/minWithOrNull.kt.after | 2 +- .../convertCallChainIntoSequence/termination/none.kt | 2 +- .../termination/none.kt.after | 2 +- .../convertCallChainIntoSequence/termination/partition.kt | 2 +- .../termination/partition.kt.after | 2 +- .../convertCallChainIntoSequence/termination/reduce.kt | 2 +- .../termination/reduce.kt.after | 2 +- .../termination/reduceIndexed.kt | 2 +- .../termination/reduceIndexed.kt.after | 2 +- .../termination/reduceIndexedOrNull.kt | 2 +- .../termination/reduceIndexedOrNull.kt.after | 2 +- .../termination/reduceOrNull.kt | 2 +- .../termination/reduceOrNull.kt.after | 2 +- .../termination/runningFold.kt | 2 +- .../termination/runningFold.kt.after | 2 +- .../termination/runningFoldIndexed.kt | 2 +- .../termination/runningFoldIndexed.kt.after | 2 +- .../termination/runningReduce.kt | 2 +- .../termination/runningReduce.kt.after | 2 +- .../termination/runningReduceIndexed.kt | 2 +- .../termination/runningReduceIndexed.kt.after | 2 +- .../convertCallChainIntoSequence/termination/scan.kt | 2 +- .../termination/scan.kt.after | 2 +- .../termination/scanIndexed.kt | 2 +- .../termination/scanIndexed.kt.after | 2 +- .../convertCallChainIntoSequence/termination/single.kt | 2 +- .../termination/single.kt.after | 2 +- .../termination/singleOrNull.kt | 2 +- .../termination/singleOrNull.kt.after | 2 +- .../convertCallChainIntoSequence/termination/sum.kt | 2 +- .../convertCallChainIntoSequence/termination/sum.kt.after | 2 +- .../convertCallChainIntoSequence/termination/sumBy.kt | 2 +- .../termination/sumBy.kt.after | 2 +- .../termination/sumByDouble.kt | 2 +- .../termination/sumByDouble.kt.after | 2 +- .../convertCallChainIntoSequence/termination/sumOf.kt | 2 +- .../termination/sumOf.kt.after | 2 +- .../termination/toCollection.kt | 2 +- .../termination/toCollection.kt.after | 2 +- .../convertCallChainIntoSequence/termination/toHashSet.kt | 2 +- .../termination/toHashSet.kt.after | 2 +- .../convertCallChainIntoSequence/termination/toList.kt | 2 +- .../termination/toList.kt.after | 2 +- .../termination/toMutableList.kt | 2 +- .../termination/toMutableList.kt.after | 2 +- .../termination/toMutableSet.kt | 2 +- .../termination/toMutableSet.kt.after | 2 +- .../convertCallChainIntoSequence/termination/toSet.kt | 2 +- .../termination/toSet.kt.after | 2 +- .../termination/toSortedSet.kt | 2 +- .../termination/toSortedSet.kt.after | 2 +- .../convertCallChainIntoSequence/termination/unzip.kt | 2 +- .../termination/unzip.kt.after | 2 +- .../collections/redundantAsSequence/hasComment.kt | 2 +- .../collections/redundantAsSequence/hasComment.kt.after | 2 +- .../collections/redundantAsSequence/hasLineBreak.kt | 2 +- .../collections/redundantAsSequence/hasLineBreak.kt.after | 2 +- .../collections/redundantAsSequence/inCallChain.kt | 2 +- .../collections/redundantAsSequence/map.kt | 2 +- .../collections/redundantAsSequence/notTermination.kt | 2 +- .../collections/redundantAsSequence/nullable.kt | 2 +- .../collections/redundantAsSequence/nullable.kt.after | 2 +- .../collections/redundantAsSequence/simple.kt | 2 +- .../collections/redundantAsSequence/simple.kt.after | 2 +- .../collections/redundantAsSequence/simple2.kt | 2 +- .../collections/redundantAsSequence/simple2.kt.after | 2 +- .../collections/simplifiableCall/arrayFlatMap.kt | 2 +- .../collections/simplifiableCall/arrayFlatMap2.kt | 2 +- .../collections/simplifiableCall/arrayFlatMap3.kt | 2 +- .../collections/simplifiableCall/arrayFlatMap3.kt.after | 2 +- .../simplifiableCall/explicitLambdaParameter.kt | 2 +- .../simplifiableCall/explicitLambdaParameter.kt.after | 2 +- .../simplifiableCall/filterIsInstanceDisjointHierarchy.kt | 2 +- .../simplifiableCall/filterIsInstanceReceiver.kt | 2 +- .../simplifiableCall/filterIsInstanceReceiver.kt.after | 2 +- .../simplifiableCall/filterIsInstanceSimple.kt | 2 +- .../simplifiableCall/filterIsInstanceSimple.kt.after | 2 +- .../simplifiableCall/filterIsInstanceSupertype.kt | 2 +- .../collections/simplifiableCall/filterIsNotInstance.kt | 2 +- .../collections/simplifiableCall/filterNotNullBrackets.kt | 2 +- .../simplifiableCall/filterNotNullBrackets.kt.after | 2 +- .../simplifiableCall/filterNotNullDestructuring.kt | 2 +- .../collections/simplifiableCall/filterNotNullExplicit.kt | 2 +- .../simplifiableCall/filterNotNullExplicit.kt.after | 2 +- .../collections/simplifiableCall/filterNotNullFake.kt | 2 +- .../collections/simplifiableCall/filterNotNullIdentity.kt | 2 +- .../simplifiableCall/filterNotNullIdentity.kt.after | 2 +- .../collections/simplifiableCall/filterNotNullMap.kt | 2 +- .../collections/simplifiableCall/filterNotNullReverse.kt | 2 +- .../simplifiableCall/filterNotNullReverse.kt.after | 2 +- .../collections/simplifiableCall/filterNotNullSimple.kt | 2 +- .../simplifiableCall/filterNotNullSimple.kt.after | 2 +- .../collections/simplifiableCall/notOnlyReference.kt | 2 +- .../collections/simplifiableCall/primitiveArrayFlatMap.kt | 2 +- .../inspectionsLocal/collections/simplifiableCall/set.kt | 2 +- .../collections/simplifiableCall/set.kt.after | 2 +- .../collections/simplifiableCall/simple.kt | 2 +- .../collections/simplifiableCall/simple.kt.after | 2 +- .../collections/simplifiableCall/simple2.kt | 2 +- .../collections/simplifiableCall/simple2.kt.after | 2 +- .../simplifiableCallChain/commentInFirstCallLambda.kt | 2 +- .../commentInFirstCallLambda.kt.after | 2 +- .../simplifiableCallChain/commentOutsideLambda.kt | 2 +- .../simplifiableCallChain/commentOutsideLambda.kt.after | 2 +- .../simplifiableCallChain/commentOutsideLambda2.kt | 2 +- .../simplifiableCallChain/commentOutsideLambda2.kt.after | 2 +- .../simplifiableCallChain/commentOutsideLambda3.kt | 2 +- .../simplifiableCallChain/commentOutsideLambda3.kt.after | 2 +- .../collections/simplifiableCallChain/filterAny.kt | 2 +- .../collections/simplifiableCallChain/filterAny.kt.after | 2 +- .../collections/simplifiableCallChain/filterCount.kt | 2 +- .../simplifiableCallChain/filterCount.kt.after | 2 +- .../collections/simplifiableCallChain/filterFirst.kt | 2 +- .../simplifiableCallChain/filterFirst.kt.after | 2 +- .../collections/simplifiableCallChain/filterFirstFake.kt | 2 +- .../simplifiableCallChain/filterFirstFakeReference.kt | 2 +- .../simplifiableCallChain/filterFirstOrNullReference.kt | 2 +- .../filterFirstOrNullReference.kt.after | 2 +- .../collections/simplifiableCallChain/filterIsEmpty.kt | 2 +- .../simplifiableCallChain/filterIsEmpty.kt.after | 2 +- .../collections/simplifiableCallChain/filterIsNotEmpty.kt | 2 +- .../simplifiableCallChain/filterIsNotEmpty.kt.after | 2 +- .../simplifiableCallChain/filterLastExplicit.kt | 2 +- .../simplifiableCallChain/filterLastExplicit.kt.after | 2 +- .../collections/simplifiableCallChain/filterNone.kt | 2 +- .../collections/simplifiableCallChain/filterNone.kt.after | 2 +- .../collections/simplifiableCallChain/filterTextAny.kt | 2 +- .../simplifiableCallChain/filterTextAny.kt.after | 2 +- .../collections/simplifiableCallChain/filterTextCount.kt | 2 +- .../simplifiableCallChain/filterTextCount.kt.after | 2 +- .../simplifiableCallChain/filterTextIsEmpty.kt | 2 +- .../simplifiableCallChain/filterTextIsEmpty.kt.after | 2 +- .../collections/simplifiableCallChain/filterTextNone.kt | 2 +- .../simplifiableCallChain/filterTextNone.kt.after | 2 +- .../simplifiableCallChain/filterTextSingleOrNull.kt | 2 +- .../simplifiableCallChain/filterTextSingleOrNull.kt.after | 2 +- .../collections/simplifiableCallChain/joinTo.kt | 2 +- .../collections/simplifiableCallChain/joinTo.kt.after | 2 +- .../collections/simplifiableCallChain/joinToFake.kt | 2 +- .../simplifiableCallChain/joinToFakeWithLambda.kt | 2 +- .../collections/simplifiableCallChain/joinToForHashMap.kt | 2 +- .../collections/simplifiableCallChain/joinToForMap.kt | 2 +- .../collections/simplifiableCallChain/joinToString.kt | 2 +- .../simplifiableCallChain/joinToString.kt.after | 2 +- .../simplifiableCallChain/joinToStringOnHashMap.kt | 2 +- .../simplifiableCallChain/joinToStringOnHashMap2.kt | 2 +- .../simplifiableCallChain/joinToStringOnMap.kt | 2 +- .../simplifiableCallChain/joinToStringViaBuilder.kt | 2 +- .../simplifiableCallChain/joinToStringViaBuilder.kt.after | 2 +- .../simplifiableCallChain/joinToStringWithReference.kt | 2 +- .../joinToStringWithReference.kt.after | 2 +- .../joinToStringWithReferenceAndComment.kt | 2 +- .../joinToStringWithReferenceAndComment.kt.after | 2 +- .../joinToStringWithReferenceFake.kt | 2 +- .../joinToStringWithSuspendFunctionCall.kt | 2 +- .../joinToStringWithTrailingComma.kt | 2 +- .../joinToStringWithTrailingComma.kt.after | 2 +- .../joinToStringWithTrailingCommaAndImplicitReceiver.kt | 2 +- ...nToStringWithTrailingCommaAndImplicitReceiver.kt.after | 2 +- .../simplifiableCallChain/joinToWithComment.kt | 2 +- .../simplifiableCallChain/joinToWithComment.kt.after | 2 +- .../joinToWithSuspendFunctionCall.kt | 2 +- .../collections/simplifiableCallChain/listOfNotNull.kt | 2 +- .../simplifiableCallChain/listOfNotNull.kt.after | 2 +- .../simplifiableCallChain/listOfNotNullWithComment.kt | 2 +- .../listOfNotNullWithComment.kt.after | 2 +- .../collections/simplifiableCallChain/mapMax.kt | 2 +- .../collections/simplifiableCallChain/mapMax.kt.after | 2 +- .../collections/simplifiableCallChain/mapMax2.kt | 2 +- .../collections/simplifiableCallChain/mapMax2.kt.after | 2 +- .../collections/simplifiableCallChain/mapMax3.kt | 2 +- .../collections/simplifiableCallChain/mapMaxOrNull.kt | 2 +- .../simplifiableCallChain/mapMaxOrNull.kt.after | 2 +- .../collections/simplifiableCallChain/mapMaxOrNull2.kt | 2 +- .../simplifiableCallChain/mapMaxOrNull2.kt.after | 2 +- .../collections/simplifiableCallChain/mapMin.kt | 2 +- .../collections/simplifiableCallChain/mapMin.kt.after | 2 +- .../collections/simplifiableCallChain/mapMin2.kt | 2 +- .../collections/simplifiableCallChain/mapMin2.kt.after | 2 +- .../collections/simplifiableCallChain/mapMin3.kt | 2 +- .../collections/simplifiableCallChain/mapMinOrNull.kt | 2 +- .../simplifiableCallChain/mapMinOrNull.kt.after | 2 +- .../collections/simplifiableCallChain/mapMinOrNull2.kt | 2 +- .../simplifiableCallChain/mapMinOrNull2.kt.after | 2 +- .../collections/simplifiableCallChain/mapNotNull.kt | 2 +- .../collections/simplifiableCallChain/mapNotNull.kt.after | 2 +- .../collections/simplifiableCallChain/mapNotNullFirst.kt | 2 +- .../simplifiableCallChain/mapNotNullFirst.kt.after | 2 +- .../simplifiableCallChain/mapNotNullFirstOrNull.kt | 2 +- .../simplifiableCallChain/mapNotNullFirstOrNull.kt.after | 2 +- .../mapNotNullWithSuspendFunctionCall.kt | 2 +- .../mapNotNullWithSuspendFunctionCall.kt.after | 2 +- .../collections/simplifiableCallChain/mapSum.kt | 2 +- .../collections/simplifiableCallChain/mapSum.kt.after | 2 +- .../collections/simplifiableCallChain/mapSum2.kt | 2 +- .../collections/simplifiableCallChain/mapSumWithDouble.kt | 2 +- .../simplifiableCallChain/mapSumWithDouble.kt.after | 2 +- .../collections/simplifiableCallChain/mapSumWithFloat.kt | 2 +- .../collections/simplifiableCallChain/mapSumWithInt.kt | 2 +- .../simplifiableCallChain/mapSumWithInt.kt.after | 2 +- .../collections/simplifiableCallChain/mapSumWithLong.kt | 2 +- .../simplifiableCallChain/mapSumWithLong.kt.after | 2 +- .../collections/simplifiableCallChain/mapSumWithUInt.kt | 2 +- .../simplifiableCallChain/mapSumWithUInt.kt.after | 2 +- .../collections/simplifiableCallChain/mapSumWithULong.kt | 2 +- .../simplifiableCallChain/mapSumWithULong.kt.after | 2 +- .../collections/simplifiableCallChain/mapToMap.kt | 2 +- .../collections/simplifiableCallChain/mapToMap.kt.after | 2 +- .../collections/simplifiableCallChain/mapToMap2.kt | 2 +- .../collections/simplifiableCallChain/mapToMap2.kt.after | 2 +- .../collections/simplifiableCallChain/mapToMap3.kt | 2 +- .../collections/simplifiableCallChain/mapToMap3.kt.after | 2 +- .../collections/simplifiableCallChain/mapToMap4.kt | 2 +- .../collections/simplifiableCallChain/mapToMap4.kt.after | 2 +- .../collections/simplifiableCallChain/mapWithReturn.kt | 2 +- .../simplifiableCallChain/notApplicableSortedByFirst.kt | 2 +- .../simplifiableCallChain/notApplicableSortedByFirst2.kt | 2 +- .../simplifiableCallChain/notApplicableSortedByFirst3.kt | 2 +- .../simplifiableCallChain/notApplicableSortedByLast.kt | 2 +- .../simplifiableCallChain/onMapImplementationClass.kt | 2 +- .../simplifiableCallChain/primitiveArray/filterFirst.kt | 2 +- .../primitiveArray/filterFirst.kt.after | 2 +- .../primitiveArray/filterFirstOrNull.kt | 2 +- .../primitiveArray/filterFirstOrNull.kt.after | 2 +- .../simplifiableCallChain/primitiveArray/filterIsEmpty.kt | 2 +- .../primitiveArray/filterIsEmpty.kt.after | 2 +- .../primitiveArray/filterIsNotEmpty.kt | 2 +- .../primitiveArray/filterIsNotEmpty.kt.after | 2 +- .../simplifiableCallChain/primitiveArray/filterLast.kt | 2 +- .../primitiveArray/filterLast.kt.after | 2 +- .../primitiveArray/filterLastOrNull.kt | 2 +- .../primitiveArray/filterLastOrNull.kt.after | 2 +- .../simplifiableCallChain/primitiveArray/filterSingle.kt | 2 +- .../primitiveArray/filterSingle.kt.after | 2 +- .../primitiveArray/filterSingleOrNull.kt | 2 +- .../primitiveArray/filterSingleOrNull.kt.after | 2 +- .../primitiveArray/mapFilterNotNull.kt | 2 +- .../simplifiableCallChain/primitiveArray/mapJoinTo.kt | 2 +- .../primitiveArray/mapJoinTo.kt.after | 2 +- .../primitiveArray/mapJoinToString.kt | 2 +- .../primitiveArray/mapJoinToString.kt.after | 2 +- .../simplifiableCallChain/sortedByDescendingFirst.kt | 2 +- .../sortedByDescendingFirst.kt.after | 2 +- .../simplifiableCallChain/sortedByDescendingFirst2.kt | 2 +- .../sortedByDescendingFirst2.kt.after | 2 +- .../sortedByDescendingFirstOrNull.kt | 2 +- .../sortedByDescendingFirstOrNull.kt.after | 2 +- .../sortedByDescendingFirstOrNull2.kt | 2 +- .../sortedByDescendingFirstOrNull2.kt.after | 2 +- .../simplifiableCallChain/sortedByDescendingLast.kt | 2 +- .../simplifiableCallChain/sortedByDescendingLast.kt.after | 2 +- .../simplifiableCallChain/sortedByDescendingLast2.kt | 2 +- .../sortedByDescendingLast2.kt.after | 2 +- .../simplifiableCallChain/sortedByDescendingLastOrNull.kt | 2 +- .../sortedByDescendingLastOrNull.kt.after | 2 +- .../sortedByDescendingLastOrNull2.kt | 2 +- .../sortedByDescendingLastOrNull2.kt.after | 2 +- .../collections/simplifiableCallChain/sortedByFirst.kt | 2 +- .../simplifiableCallChain/sortedByFirst.kt.after | 2 +- .../collections/simplifiableCallChain/sortedByFirst2.kt | 2 +- .../simplifiableCallChain/sortedByFirst2.kt.after | 2 +- .../simplifiableCallChain/sortedByFirstOrNull.kt | 2 +- .../simplifiableCallChain/sortedByFirstOrNull.kt.after | 2 +- .../simplifiableCallChain/sortedByFirstOrNull2.kt | 2 +- .../simplifiableCallChain/sortedByFirstOrNull2.kt.after | 2 +- .../collections/simplifiableCallChain/sortedByLast.kt | 2 +- .../simplifiableCallChain/sortedByLast.kt.after | 2 +- .../collections/simplifiableCallChain/sortedByLast2.kt | 2 +- .../simplifiableCallChain/sortedByLast2.kt.after | 2 +- .../simplifiableCallChain/sortedByLastOrNull.kt | 2 +- .../simplifiableCallChain/sortedByLastOrNull.kt.after | 2 +- .../simplifiableCallChain/sortedByLastOrNull2.kt | 2 +- .../simplifiableCallChain/sortedByLastOrNull2.kt.after | 2 +- .../simplifiableCallChain/sortedDescendingFirst.kt | 2 +- .../simplifiableCallChain/sortedDescendingFirst.kt.after | 2 +- .../simplifiableCallChain/sortedDescendingFirst2.kt | 2 +- .../simplifiableCallChain/sortedDescendingFirst2.kt.after | 2 +- .../simplifiableCallChain/sortedDescendingFirstOrNull.kt | 2 +- .../sortedDescendingFirstOrNull.kt.after | 2 +- .../simplifiableCallChain/sortedDescendingFirstOrNull2.kt | 2 +- .../sortedDescendingFirstOrNull2.kt.after | 2 +- .../simplifiableCallChain/sortedDescendingLast.kt | 2 +- .../simplifiableCallChain/sortedDescendingLast.kt.after | 2 +- .../simplifiableCallChain/sortedDescendingLast2.kt | 2 +- .../simplifiableCallChain/sortedDescendingLast2.kt.after | 2 +- .../simplifiableCallChain/sortedDescendingLastOrNull.kt | 2 +- .../sortedDescendingLastOrNull.kt.after | 2 +- .../simplifiableCallChain/sortedDescendingLastOrNull2.kt | 2 +- .../sortedDescendingLastOrNull2.kt.after | 2 +- .../collections/simplifiableCallChain/sortedFirst.kt | 2 +- .../simplifiableCallChain/sortedFirst.kt.after | 2 +- .../collections/simplifiableCallChain/sortedFirst2.kt | 2 +- .../simplifiableCallChain/sortedFirst2.kt.after | 2 +- .../simplifiableCallChain/sortedFirstOrNull.kt | 2 +- .../simplifiableCallChain/sortedFirstOrNull.kt.after | 2 +- .../simplifiableCallChain/sortedFirstOrNull2.kt | 2 +- .../simplifiableCallChain/sortedFirstOrNull2.kt.after | 2 +- .../collections/simplifiableCallChain/sortedLast.kt | 2 +- .../collections/simplifiableCallChain/sortedLast.kt.after | 2 +- .../collections/simplifiableCallChain/sortedLast2.kt | 2 +- .../simplifiableCallChain/sortedLast2.kt.after | 2 +- .../collections/simplifiableCallChain/sortedLastOrNull.kt | 2 +- .../simplifiableCallChain/sortedLastOrNull.kt.after | 2 +- .../simplifiableCallChain/sortedLastOrNull2.kt | 2 +- .../simplifiableCallChain/sortedLastOrNull2.kt.after | 2 +- .../uselessCallOnCollection/FilterIsExactInstance.kt | 2 +- .../FilterIsExactInstance.kt.after | 2 +- .../uselessCallOnCollection/FilterIsExactInstanceFake.kt | 2 +- .../FilterIsExactInstanceOnArray.kt | 2 +- .../FilterIsExactInstanceOnArray.kt.after | 2 +- .../FilterIsExactInstanceOnSequence.kt | 2 +- .../FilterIsExactInstanceOnSequence.kt.after | 2 +- .../FilterIsExactInstanceOnSequenceFake.kt | 2 +- .../uselessCallOnCollection/FilterIsForFlexible.kt | 2 +- .../FilterIsForFlexibleOnSequence.kt | 2 +- .../uselessCallOnCollection/FilterIsSupertypeInstance.kt | 2 +- .../FilterIsSupertypeInstance.kt.after | 2 +- .../FilterIsSupertypeInstanceFake.kt | 2 +- .../FilterIsSupertypeInstanceOnSequence.kt | 2 +- .../FilterIsSupertypeInstanceOnSequence.kt.after | 2 +- .../FilterIsSupertypeInstanceOnSequenceFake.kt | 2 +- .../collections/uselessCallOnCollection/FilterNotNull.kt | 2 +- .../uselessCallOnCollection/FilterNotNull.kt.after | 2 +- .../uselessCallOnCollection/FilterNotNullOnArray.kt | 2 +- .../uselessCallOnCollection/FilterNotNullOnArray.kt.after | 2 +- .../uselessCallOnCollection/FilterNotNullOnIterable.kt | 2 +- .../FilterNotNullOnIterable.kt.after | 2 +- .../uselessCallOnCollection/FilterNotNullOnSequence.kt | 2 +- .../FilterNotNullOnSequence.kt.after | 2 +- .../FilterNotNullOnSequenceFake.kt | 2 +- .../uselessCallOnCollection/FilterNotNullOnSet.kt | 2 +- .../uselessCallOnCollection/FilterNotNullOnSet.kt.after | 2 +- .../uselessCallOnCollection/MapIndexedNotNullTo.kt | 2 +- .../uselessCallOnCollection/MapIndexedNotNullTo.kt.after | 2 +- .../MapIndexedNotNullToOnSequence.kt | 2 +- .../MapIndexedNotNullToOnSequence.kt.after | 2 +- .../MapNotNullOnGeneratedSequence.kt | 2 +- .../MapNotNullOnGeneratedSequence.kt.after | 2 +- .../collections/uselessCallOnCollection/MapNotNullTo.kt | 2 +- .../uselessCallOnCollection/MapNotNullTo.kt.after | 2 +- .../uselessCallOnCollection/MapNotNullToOnSequence.kt | 2 +- .../MapNotNullToOnSequence.kt.after | 2 +- .../MapNotNullWithGenericLambda.kt | 2 +- .../MapNotNullWithGenericLambdaOnSequence.kt | 2 +- .../uselessCallOnCollection/MapNotNullWithLambda.kt | 2 +- .../uselessCallOnCollection/MapNotNullWithLambda.kt.after | 2 +- .../uselessCallOnCollection/MapNotNullWithLambda2.kt | 2 +- .../MapNotNullWithLambda2.kt.after | 2 +- .../uselessCallOnCollection/MapNotNullWithLambda3.kt | 2 +- .../MapNotNullWithLambda3.kt.after | 2 +- .../uselessCallOnCollection/MapNotNullWithLambda4.kt | 2 +- .../MapNotNullWithLambda4.kt.after | 2 +- .../uselessCallOnCollection/MapNotNullWithLambda5.kt | 2 +- .../MapNotNullWithLambda5.kt.after | 2 +- .../uselessCallOnCollection/MapNotNullWithLambdaFake.kt | 2 +- .../uselessCallOnCollection/MapNotNullWithLambdaFake2.kt | 2 +- .../MapNotNullWithLambdaOnSequence.kt | 2 +- .../MapNotNullWithLambdaOnSequence.kt.after | 2 +- .../MapNotNullWithLambdaOnSequence2.kt | 2 +- .../MapNotNullWithLambdaOnSequence2.kt.after | 2 +- .../MapNotNullWithLambdaOnSequence3.kt | 2 +- .../MapNotNullWithLambdaOnSequence3.kt.after | 2 +- .../MapNotNullWithLambdaOnSequence4.kt | 2 +- .../MapNotNullWithLambdaOnSequence4.kt.after | 2 +- .../MapNotNullWithLambdaOnSequence5.kt | 2 +- .../MapNotNullWithLambdaOnSequence5.kt.after | 2 +- .../MapNotNullWithLambdaOnSequenceFake.kt | 2 +- .../MapNotNullWithLambdaOnSequenceFake2.kt | 2 +- .../uselessCallOnCollection/MapNotNullWithReference.kt | 2 +- .../MapNotNullWithReference.kt.after | 2 +- .../MapNotNullWithReferenceFake.kt | 2 +- .../MapNotNullWithReferenceOnSequence.kt | 2 +- .../MapNotNullWithReferenceOnSequence.kt.after | 2 +- .../uselessCallOnCollection/filterNotNullFake.kt | 2 +- .../collections/uselessCallOnNotNull/ListIsNullOrEmpty.kt | 2 +- .../uselessCallOnNotNull/ListIsNullOrEmpty.kt.after | 2 +- .../collections/uselessCallOnNotNull/NotNullType.kt | 2 +- .../collections/uselessCallOnNotNull/NotNullType.kt.after | 2 +- .../collections/uselessCallOnNotNull/NotNullTypeChain.kt | 2 +- .../uselessCallOnNotNull/NotNullTypeChain.kt.after | 2 +- .../collections/uselessCallOnNotNull/NullOrBlankSafe.kt | 2 +- .../uselessCallOnNotNull/NullOrBlankSafe.kt.after | 2 +- .../collections/uselessCallOnNotNull/NullOrEmpty.kt | 2 +- .../collections/uselessCallOnNotNull/NullOrEmpty.kt.after | 2 +- .../uselessCallOnNotNull/NullOrEmptyAfterNullCheck.kt | 2 +- .../NullOrEmptyAfterNullCheck.kt.after | 2 +- .../collections/uselessCallOnNotNull/NullOrEmptyFake.kt | 2 +- .../collections/uselessCallOnNotNull/NullOrEmptySafe.kt | 2 +- .../uselessCallOnNotNull/NullOrEmptySafe.kt.after | 2 +- .../uselessCallOnNotNull/OrEmptyAfterNullCheck.kt | 2 +- .../uselessCallOnNotNull/OrEmptyAfterNullCheck.kt.after | 2 +- .../collections/uselessCallOnNotNull/OrEmptyFake.kt | 2 +- .../collections/uselessCallOnNotNull/SafeCall.kt | 2 +- .../collections/uselessCallOnNotNull/SafeCall.kt.after | 2 +- .../collections/uselessCallOnNotNull/Sequence.kt | 2 +- .../collections/uselessCallOnNotNull/Sequence.kt.after | 2 +- .../collections/uselessCallOnNotNull/String.kt | 2 +- .../collections/uselessCallOnNotNull/String.kt.after | 2 +- .../inspectionsLocal/complexRedundantLet/assignment.kt | 2 +- .../complexRedundantLet/binarySafeCall.kt | 2 +- .../inspectionsLocal/complexRedundantLet/callChain.kt | 2 +- .../complexRedundantLet/callChain.kt.after | 2 +- .../inspectionsLocal/complexRedundantLet/callChain2.kt | 2 +- .../complexRedundantLet/callChain2.kt.after | 2 +- .../inspectionsLocal/complexRedundantLet/callChain3.kt | 2 +- .../complexRedundantLet/callChain3.kt.after | 2 +- .../complexRedundantLet/callChainWithLineBreak.kt | 2 +- .../complexRedundantLet/callChainWithLineBreak.kt.after | 2 +- .../inspectionsLocal/complexRedundantLet/comparisons.kt | 2 +- .../complexRedundantLet/destructuringDeclaration.kt | 2 +- .../complexRedundantLet/destructuringDeclaration.kt.after | 2 +- .../complexRedundantLet/destructuringDeclaration2.kt | 2 +- .../destructuringDeclaration2.kt.after | 2 +- .../complexRedundantLet/destructuringDeclaration3.kt | 2 +- .../complexRedundantLet/destructuringDeclaration4.kt | 2 +- .../complexRedundantLet/destructuringDeclaration5.kt | 2 +- .../complexRedundantLet/dotWithComparison.kt | 2 +- .../inspectionsLocal/complexRedundantLet/functionCall1.kt | 2 +- .../complexRedundantLet/functionCall1.kt.after | 2 +- .../inspectionsLocal/complexRedundantLet/functionCall2.kt | 2 +- .../complexRedundantLet/functionCall2.kt.after | 2 +- .../inspectionsLocal/complexRedundantLet/functionCall3.kt | 2 +- .../complexRedundantLet/functionCall3.kt.after | 2 +- .../inspectionsLocal/complexRedundantLet/functionCall4.kt | 2 +- .../complexRedundantLet/functionCall4.kt.after | 2 +- .../inspectionsLocal/complexRedundantLet/functionCall5.kt | 2 +- .../complexRedundantLet/functionCall5.kt.after | 2 +- .../inspectionsLocal/complexRedundantLet/functionCall6.kt | 2 +- .../complexRedundantLet/functionCall6.kt.after | 2 +- .../inspectionsLocal/complexRedundantLet/functionCall7.kt | 2 +- .../complexRedundantLet/functionCallInExtension.kt | 2 +- .../complexRedundantLet/functionCallInExtension.kt.after | 2 +- .../complexRedundantLet/functionCallOnSafeCall.kt | 2 +- .../complexRedundantLet/functionInVariableCall.kt | 2 +- .../complexRedundantLet/functionInVariableInvokeCall.kt | 2 +- .../testData/inspectionsLocal/complexRedundantLet/in.kt | 2 +- .../inspectionsLocal/complexRedundantLet/in.kt.after | 2 +- .../complexRedundantLet/inWithMultipleParam.kt | 2 +- .../inspectionsLocal/complexRedundantLet/inWithRange.kt | 2 +- .../complexRedundantLet/inWithRange.kt.after | 2 +- .../complexRedundantLet/inWithRangeMultipleParam.kt | 2 +- .../inspectionsLocal/complexRedundantLet/invokeCall.kt | 2 +- .../complexRedundantLet/invokeCall.kt.after | 2 +- .../inspectionsLocal/complexRedundantLet/invokeCall2.kt | 2 +- .../complexRedundantLet/invokeCall2.kt.after | 2 +- .../inspectionsLocal/complexRedundantLet/invokeCall3.kt | 2 +- .../inspectionsLocal/complexRedundantLet/invokeCall4.kt | 2 +- .../inspectionsLocal/complexRedundantLet/invokeCall5.kt | 2 +- .../complexRedundantLet/lambdaWithBinaryExpression.kt | 2 +- .../complexRedundantLet/lambdaWithBinaryExpression2.kt | 2 +- .../testData/inspectionsLocal/complexRedundantLet/let.kt | 2 +- .../complexRedundantLet/letMultipleLines.kt | 2 +- .../inspectionsLocal/complexRedundantLet/letNoSafeCall.kt | 2 +- .../complexRedundantLet/letNotUseParameterReceiver.kt | 2 +- .../complexRedundantLet/letNotUseReceiver.kt | 2 +- .../inspectionsLocal/complexRedundantLet/letUseIt.kt | 2 +- .../letUseItAsParamWithBinaryExpression.kt | 2 +- .../complexRedundantLet/letUseItWithBinaryExpression.kt | 2 +- .../complexRedundantLet/letUseItWithBinaryExpression2.kt | 2 +- .../letUseItWithMultipleMethodCall1.kt | 2 +- .../letUseItWithMultipleMethodCall2.kt | 2 +- .../letUseItWithMultipleMethodCall3.kt | 2 +- .../complexRedundantLet/letUseParameter.kt | 2 +- .../complexRedundantLet/letWithBinaryExpression.kt | 2 +- .../complexRedundantLet/letWithBinaryExpression.kt.after | 2 +- .../complexRedundantLet/letWithMethodCall.kt | 2 +- .../complexRedundantLet/letWithMultipleMethodCall.kt | 2 +- .../complexRedundantLet/letWithParameter.kt | 2 +- .../complexRedundantLet/letWithSimpleBinaryExpression.kt | 2 +- .../letWithSimpleBinaryExpression.kt.after | 2 +- .../complexRedundantLet/letWithThisBinaryExpression.kt | 2 +- .../letWithThisBinaryExpression.kt.after | 2 +- .../letWithThisShortBinaryExpression.kt | 2 +- .../letWithThisShortBinaryExpression.kt.after | 2 +- .../inspectionsLocal/complexRedundantLet/longCallChain.kt | 2 +- .../complexRedundantLet/longCallChain.kt.after | 2 +- .../inspectionsLocal/complexRedundantLet/multipleLines.kt | 2 +- .../complexRedundantLet/multipleLines.kt.after | 2 +- .../complexRedundantLet/multipleReceiver.kt | 2 +- .../complexRedundantLet/multipleReceiver2.kt | 2 +- .../complexRedundantLet/multipleReceiver3.kt | 2 +- .../complexRedundantLet/multipleUsages.kt | 2 +- .../inspectionsLocal/complexRedundantLet/noReceiver.kt | 2 +- .../inspectionsLocal/complexRedundantLet/plusNullable.kt | 2 +- .../complexRedundantLet/receiverWithLambda.kt | 2 +- .../complexRedundantLet/receiverWithLambda2.kt | 2 +- .../inspectionsLocal/complexRedundantLet/sameLets.kt | 2 +- .../inspectionsLocal/complexRedundantLet/simple.kt | 2 +- .../complexRedundantLet/smartCastInBody.kt | 2 +- .../testData/inspectionsLocal/complexRedundantLet/this.kt | 2 +- .../inspectionsLocal/complexRedundantLet/thisShort.kt | 2 +- .../inspectionsLocal/complexRedundantLet/typeChecks.kt | 2 +- .../complexRedundantLet/withInnerFunction.kt | 2 +- .../complexRedundantLet/withInnerLambda.kt | 2 +- .../inspectionsLocal/constantConditionIf/endWithElseIf.kt | 2 +- .../constantConditionIf/endWithElseIf.kt.after | 2 +- .../constantConditionIf/endWithElseIf2.kt | 2 +- .../constantConditionIf/endWithElseIf2.kt.after | 2 +- .../constantConditionIf/endWithElseIfNoBraces.kt | 2 +- .../constantConditionIf/endWithElseIfNoBraces.kt.after | 2 +- .../inspectionsLocal/constantConditionIf/expression.kt | 2 +- .../constantConditionIf/expression.kt.after | 2 +- .../constantConditionIf/expressionElseIfBlock.kt | 2 +- .../constantConditionIf/expressionElseIfBlock.kt.after | 2 +- .../constantConditionIf/expressionElseIfBlock2.kt | 2 +- .../constantConditionIf/expressionElseIfBlock2.kt.after | 2 +- .../controlFlowWithEmptyBody/also/anonymousFunction.kt | 2 +- .../also/anonymousFunctionHasStatement.kt | 2 +- .../controlFlowWithEmptyBody/also/block.kt | 2 +- .../controlFlowWithEmptyBody/also/block2.kt | 2 +- .../controlFlowWithEmptyBody/also/blockHasComment.kt | 2 +- .../controlFlowWithEmptyBody/also/blockHasStatement.kt | 2 +- .../controlFlowWithEmptyBody/also/blockHasStatement2.kt | 2 +- .../controlFlowWithEmptyBody/also/functionReference.kt | 2 +- .../controlFlowWithEmptyBody/also/implicitReceiver.kt | 2 +- .../testData/inspectionsLocal/convertNaNEquality/float.kt | 2 +- .../inspectionsLocal/convertNaNEquality/float.kt.after | 2 +- .../convertNaNEquality/importedProperty.kt | 2 +- .../convertNaNEquality/importedProperty.kt.after | 2 +- .../inspectionsLocal/convertNaNEquality/inequality.kt | 2 +- .../convertNaNEquality/inequality.kt.after | 2 +- .../inspectionsLocal/convertNaNEquality/negative.kt | 2 +- .../inspectionsLocal/convertNaNEquality/simple.kt | 2 +- .../inspectionsLocal/convertNaNEquality/simple.kt.after | 2 +- .../convertPairConstructorToToFunction/invalidArgs.kt | 2 +- .../convertPairConstructorToToFunction/simple.kt | 2 +- .../convertPairConstructorToToFunction/simple.kt.after | 2 +- .../convertSubClassWithSecondaryConstructor.kt | 2 +- .../convertSubClassWithSecondaryConstructor.kt.after | 2 +- .../convertSealedSubClassToObject/fakeState.kt | 2 +- .../convertSealedSubClassToObject/fakeState.kt.after | 2 +- .../convertSealedSubClassToObject/ownState.kt | 2 +- .../compareToComparableSameType.kt | 2 +- .../compareToComparableSameType.kt.after | 2 +- .../compareToDifferentTypes.kt | 2 +- .../compareToSameType.kt | 2 +- .../convertTwoComparisonsToRangeCheck/double.kt | 2 +- .../convertTwoComparisonsToRangeCheck/doubleToInt1.kt | 2 +- .../doubleToInt1.kt.after | 2 +- .../convertTwoComparisonsToRangeCheck/doubleToInt2.kt | 2 +- .../doubleToInt2.kt.after | 2 +- .../convertTwoComparisonsToRangeCheck/gtDouble.kt | 2 +- .../convertTwoComparisonsToRangeCheck/gtDouble2.kt | 2 +- .../convertTwoComparisonsToRangeCheck/nonConstants.kt | 2 +- .../nonConstants.kt.after | 2 +- .../convertTwoComparisonsToRangeCheck/recursiveCall.kt | 2 +- .../convertTwoComparisonsToRangeCheck/until.kt | 2 +- .../convertTwoComparisonsToRangeCheck/until.kt.after | 2 +- .../coroutines/deferredIsResult/abstract.kt | 2 +- .../coroutines/deferredIsResult/abstract.kt.after | 2 +- .../coroutines/deferredIsResult/complex.kt | 2 +- .../coroutines/deferredIsResult/complex.kt.after | 2 +- .../coroutines/deferredIsResult/lambda.kt | 2 +- .../coroutines/deferredIsResult/rename.kt | 2 +- .../coroutines/deferredIsResult/rename.kt.after | 2 +- .../coroutines/deferredIsResult/simple.kt | 2 +- .../coroutines/deferredIsResult/simple.kt.after | 2 +- .../coroutines/directUseOfResultType/complexBlock.kt | 2 +- .../directUseOfResultType/complexBlock.kt.after | 2 +- .../coroutines/redundantAsync/experimental.kt | 2 +- .../coroutines/redundantAsync/experimental.kt.after | 2 +- .../coroutines/redundantAsync/explicitScope.kt | 2 +- .../coroutines/redundantAsync/explicitScope.kt.after | 2 +- .../coroutines/redundantAsync/explicitScopeNamed.kt | 2 +- .../coroutines/redundantAsync/explicitScopeNamed.kt.after | 2 +- .../coroutines/redundantAsync/explicitScopeNoContext.kt | 2 +- .../redundantAsync/explicitScopeNoContext.kt.after | 2 +- .../coroutines/redundantAsync/globalScope.kt | 2 +- .../coroutines/redundantAsync/globalScope.kt.after | 2 +- .../coroutines/redundantAsync/globalScopeNoContext.kt | 2 +- .../redundantAsync/globalScopeNoContext.kt.after | 2 +- .../redundantAsync/globalScopeNoContextNoPackage.kt | 2 +- .../redundantAsync/globalScopeNoContextNoPackage.kt.after | 2 +- .../inspectionsLocal/coroutines/redundantAsync/simple.kt | 2 +- .../coroutines/redundantAsync/simple.kt.after | 2 +- .../coroutines/redundantAsync/simplest.kt | 2 +- .../coroutines/redundantAsync/simplest.kt.after | 2 +- .../coroutines/redundantAsync/withStartAndContext.kt | 2 +- .../coroutines/redundantAsync/withStartNoContext.kt | 2 +- .../coroutines/redundantRunCatching/simple.kt | 2 +- .../coroutines/redundantRunCatching/simple.kt.after | 2 +- .../deprecatedCallableAddReplaceWith/NoDefaultImport.kt | 2 +- .../NoDefaultImport.kt.after | 2 +- .../destructuringWithLambdaInScript.kts | 2 +- .../justLambdaInScript.kts | 2 +- .../tests/testData/inspectionsLocal/emptyRange/char.kt | 2 +- .../testData/inspectionsLocal/emptyRange/char.kt.after | 2 +- .../tests/testData/inspectionsLocal/emptyRange/downTo.kt | 2 +- .../testData/inspectionsLocal/emptyRange/downTo.kt.after | 2 +- .../tests/testData/inspectionsLocal/emptyRange/downTo2.kt | 2 +- .../tests/testData/inspectionsLocal/emptyRange/simple.kt | 2 +- .../testData/inspectionsLocal/emptyRange/simple.kt.after | 2 +- .../testData/inspectionsLocal/emptyRange/unsignedByte.kt | 2 +- .../inspectionsLocal/emptyRange/unsignedByte.kt.after | 2 +- .../testData/inspectionsLocal/emptyRange/unsignedInt.kt | 2 +- .../inspectionsLocal/emptyRange/unsignedInt.kt.after | 2 +- .../testData/inspectionsLocal/emptyRange/unsignedLong.kt | 2 +- .../inspectionsLocal/emptyRange/unsignedLong.kt.after | 2 +- .../testData/inspectionsLocal/emptyRange/unsignedShort.kt | 2 +- .../inspectionsLocal/emptyRange/unsignedShort.kt.after | 2 +- .../tests/testData/inspectionsLocal/emptyRange/until.kt | 2 +- .../testData/inspectionsLocal/emptyRange/until.kt.after | 2 +- .../tests/testData/inspectionsLocal/emptyRange/until2.kt | 2 +- .../testData/inspectionsLocal/emptyRange/until2.kt.after | 2 +- .../explicitThis/differentReceiverInstance.kt | 2 +- .../explicitThis/differentReceiverInstanceExtension.kt | 2 +- .../explicitThis/differentReceiverInstanceExtension2.kt | 2 +- .../explicitThis/differentReceiverInstanceExtension3.kt | 2 +- .../explicitThis/differentReceiverInstanceExtension4.kt | 2 +- .../differentReceiverInstanceExtension4.kt.after | 2 +- .../explicitThis/differentReceiverType.kt | 2 +- .../explicitThis/differentReceiverTypeExtension.kt | 2 +- .../inspectionsLocal/explicitThis/multipleReceivers.kt | 2 +- .../explicitThis/multipleReceivers.kt.after | 2 +- .../explicitThis/multipleReceiversExtension.kt | 2 +- .../explicitThis/multipleReceiversExtension.kt.after | 2 +- .../inspectionsLocal/explicitThis/nestedReceivers.kt | 2 +- .../explicitThis/nestedReceiversDifferentParameters.kt | 2 +- .../explicitThis/nestedReceiversExtension.kt | 2 +- .../nestedReceiversExtensionDifferentParameters.kt | 2 +- .../explicitThis/syntheticJavaProperty.kt | 2 +- .../explicitThis/syntheticJavaProperty.kt.after | 2 +- .../explicitThis/syntheticJavaProperty_nestedReceiver.kt | 2 +- .../syntheticJavaProperty_sameClassNestedReceiver.kt | 2 +- .../syntheticJavaProperty_sameNameJavaProperty.kt | 2 +- .../syntheticJavaProperty_sameNameJavaProperty.kt.after | 2 +- .../syntheticJavaProperty_sameNameVariable.kt | 2 +- .../inspectionsLocal/explicitThis/variableWithSameName.kt | 2 +- .../floatingPointLiteralPrecision/doublePi11.kt | 2 +- .../floatingPointLiteralPrecision/doubleRounding1.kt | 2 +- .../floatingPointLiteralPrecision/doubleRounding2.kt | 2 +- .../floatingPointLiteralPrecision/doubleRounding3.kt | 2 +- .../doubleRounding3.kt.after | 2 +- .../floatingPointLiteralPrecision/doubleRounding4.kt | 2 +- .../floatingPointLiteralPrecision/doubleRounding5.kt | 2 +- .../floatingPointLiteralPrecision/doubleRounding6.kt | 2 +- .../doubleRounding6.kt.after | 2 +- .../floatingPointLiteralPrecision/doubleRounding7.kt | 2 +- .../floatingPointLiteralPrecision/doubleRounding8.kt | 2 +- .../doubleRounding8.kt.after | 2 +- .../floatingPointLiteralPrecision/doubleRounding9.kt | 2 +- .../doubleRounding9.kt.after | 2 +- .../floatingPointLiteralPrecision/floatKeepSuffixCase1.kt | 2 +- .../floatKeepSuffixCase1.kt.after | 2 +- .../floatingPointLiteralPrecision/floatKeepSuffixCase2.kt | 2 +- .../floatKeepSuffixCase2.kt.after | 2 +- .../floatingPointLiteralPrecision/floatLargeInteger.kt | 2 +- .../floatLargeInteger.kt.after | 2 +- .../floatingPointLiteralPrecision/floatPi6Digits.kt | 2 +- .../floatingPointLiteralPrecision/floatPi7Digits.kt | 2 +- .../floatingPointLiteralPrecision/floatPi7Digits.kt.after | 2 +- .../floatingPointLiteralPrecision/floatRounding1.kt | 2 +- .../floatingPointLiteralPrecision/floatRounding1.kt.after | 2 +- .../floatingPointLiteralPrecision/floatRounding2.kt | 2 +- .../floatingPointLiteralPrecision/floatRounding2.kt.after | 2 +- .../floatingPointLiteralPrecision/floatRounding3.kt | 2 +- .../floatingPointLiteralPrecision/floatRounding3.kt.after | 2 +- .../floatingPointLiteralPrecision/floatRounding4.kt | 2 +- .../floatingPointLiteralPrecision/floatRounding4.kt.after | 2 +- .../floatingPointLiteralPrecision/floatRounding5.kt | 2 +- .../floatingPointLiteralPrecision/floatRounding5.kt.after | 2 +- .../floatingPointLiteralPrecision/floatRounding6.kt | 2 +- .../foldInitializerAndIfToElvis/ExplicitValType.kt | 2 +- .../foldInitializerAndIfToElvis/ExplicitValType.kt.after | 2 +- .../foldInitializerAndIfToElvis/ExplicitVarType.kt | 2 +- .../foldInitializerAndIfToElvis/ExplicitVarType.kt.after | 2 +- .../foldInitializerAndIfToElvis/ThrowInBlock.kt | 2 +- .../foldInitializerAndIfToElvis/ThrowInBlock.kt.after | 2 +- .../foldInitializerAndIfToElvis/ifStatementPriority.kt | 2 +- .../ifStatementPriority.kt.after | 2 +- .../inspectionsLocal/forEachParameterNotUsed/invoke.kt | 2 +- .../inspectionsLocal/forEachParameterNotUsed/normal.kt | 2 +- .../forEachParameterNotUsed/normal.kt.after | 2 +- .../inspectionsLocal/forEachParameterNotUsed/repeat.kt | 2 +- .../forEachParameterNotUsed/repeat.kt.after | 2 +- .../inspectionsLocal/forEachParameterNotUsed/safe.kt | 2 +- .../forEachParameterNotUsed/safe.kt.after | 2 +- .../inspectionsLocal/forEachParameterNotUsed/sequence.kt | 2 +- .../forEachParameterNotUsed/sequence.kt.after | 2 +- .../inspectionsLocal/forEachParameterNotUsed/string.kt | 2 +- .../forEachParameterNotUsed/string.kt.after | 2 +- .../removeBraces/functionReturnsNothing.kt | 2 +- .../removeBraces/functionReturnsNothing.kt.after | 2 +- .../removeBraces/getterReturnsNothing.kt | 2 +- .../removeBraces/getterReturnsNothing.kt.after | 2 +- .../functionWithLambdaExpressionBody/wrapRun/body.kt | 2 +- .../wrapRun/body.kt.after | 2 +- .../functionWithLambdaExpressionBody/wrapRun/function.kt | 2 +- .../wrapRun/function.kt.after | 2 +- .../wrapRun/functionReturnsNothing.kt | 2 +- .../wrapRun/functionReturnsNothing.kt.after | 2 +- .../functionWithLambdaExpressionBody/wrapRun/getter.kt | 2 +- .../wrapRun/getter.kt.after | 2 +- .../wrapRun/getterReturnsNothing.kt | 2 +- .../wrapRun/getterReturnsNothing.kt.after | 2 +- .../functionWithLambdaExpressionBody/wrapRun/kt32580.kt | 2 +- .../wrapRun/kt32580.kt.after | 2 +- .../inspectionsLocal/implicitThis/multipleReceivers.kt | 2 +- .../implicitThis/multipleReceivers.kt.after | 2 +- .../testData/inspectionsLocal/implicitThis/nested.kt | 2 +- .../inspectionsLocal/implicitThis/nested.kt.after | 2 +- .../incompleteDestructuringInspection/lambdaParameter.kt | 2 +- .../lambdaParameter.kt.after | 2 +- .../testData/inspectionsLocal/javaMapForEach/kotlin.kt | 2 +- .../testData/inspectionsLocal/javaMapForEach/kotlin2.kt | 2 +- .../inspectionsLocal/liftOut/ifToAssignment/cascadeIf.kt | 2 +- .../liftOut/ifToAssignment/cascadeIf.kt.after | 2 +- .../liftOut/ifToAssignment/nullableMutableList.kt | 2 +- .../liftOut/ifToAssignment/nullableMutableList.kt.after | 2 +- .../liftOut/ifToAssignment/typeMismatchMutableList.kt | 2 +- .../liftOut/ifToAssignment/typeMismatchMutableList2.kt | 2 +- .../liftOut/ifToAssignment/typeMismatchMutableList2_ni.kt | 2 +- .../inspectionsLocal/liftOut/ifToReturn/cascadeIf.kt | 2 +- .../liftOut/ifToReturn/cascadeIf.kt.after | 2 +- .../inspectionsLocal/liftOut/tryToAssignment/cascade.kt | 2 +- .../liftOut/tryToAssignment/cascade.kt.after | 2 +- .../inspectionsLocal/liftOut/tryToReturn/cascade.kt | 2 +- .../inspectionsLocal/liftOut/tryToReturn/cascade.kt.after | 2 +- .../liftOut/whenToAssignment/cascadeWhen.kt | 2 +- .../liftOut/whenToAssignment/cascadeWhen.kt.after | 2 +- .../whenToAssignment/differentVariablesWithSame.kt | 2 +- .../inspectionsLocal/liftOut/whenToReturn/cascadeWhen.kt | 2 +- .../liftOut/whenToReturn/cascadeWhen.kt.after | 2 +- .../inspectionsLocal/liftOut/whenToReturn/localReturns.kt | 2 +- .../commons/canonicalName.kt | 2 +- .../commons/canonicalName.kt.after | 2 +- .../commons/getCanonicalName.kt | 2 +- .../commons/getCanonicalName.kt.after | 2 +- .../loggerInitializedWithForeignClass/commons/getName.kt | 2 +- .../commons/getName.kt.after | 2 +- .../commons/getSimpleName.kt | 2 +- .../commons/getSimpleName.kt.after | 2 +- .../commons/kclassQualiiedName.kt | 2 +- .../commons/kclassQualiiedName.kt.after | 2 +- .../commons/kclassSimpleName.kt | 2 +- .../commons/kclassSimpleName.kt.after | 2 +- .../loggerInitializedWithForeignClass/commons/name.kt | 2 +- .../commons/name.kt.after | 2 +- .../commons/nonForeignClass.kt | 2 +- .../loggerInitializedWithForeignClass/commons/simple.kt | 2 +- .../commons/simple.kt.after | 2 +- .../commons/simpleName.kt | 2 +- .../commons/simpleName.kt.after | 2 +- .../loggerInitializedWithForeignClass/log4j/simple.kt | 2 +- .../log4j/simple.kt.after | 2 +- .../loggerInitializedWithForeignClass/log4j2/simple.kt | 2 +- .../log4j2/simple.kt.after | 2 +- .../loggerInitializedWithForeignClass/slf4j/simple.kt | 2 +- .../slf4j/simple.kt.after | 2 +- .../mapGetWithNotNullAssertionOperator/get.kt | 2 +- .../mapGetWithNotNullAssertionOperator/get.kt.after | 2 +- .../mapGetWithNotNullAssertionOperator/getValue.kt | 2 +- .../mapGetWithNotNullAssertionOperator/indexedAccess.kt | 2 +- .../indexedAccess.kt.after | 2 +- .../mapGetWithNotNullAssertionOperator/list.kt | 2 +- .../noNotNullAssersion.kt | 2 +- .../replaceWithElvisError.kt | 2 +- .../replaceWithElvisError.kt.after | 2 +- .../replaceWithGetOrElse.kt | 2 +- .../replaceWithGetOrElse.kt.after | 2 +- .../testData/inspectionsLocal/mayBeConstant/array.kt | 2 +- .../inspectionsLocal/mayBeConstant/cascadeConst.kt | 2 +- .../inspectionsLocal/mayBeConstant/cascadeConst.kt.after | 2 +- .../testData/inspectionsLocal/mayBeConstant/const.kt | 2 +- .../testData/inspectionsLocal/mayBeConstant/inClass.kt | 2 +- .../mayBeConstant/nonJvmFieldAnnotated.kt | 2 +- .../testData/inspectionsLocal/mayBeConstant/object.kt | 2 +- .../inspectionsLocal/mayBeConstant/object.kt.after | 2 +- .../testData/inspectionsLocal/mayBeConstant/simple.kt | 2 +- .../inspectionsLocal/mayBeConstant/simple.kt.after | 2 +- .../memberVisibilityCanBePrivate/JvmFieldOnParameter.kt | 2 +- .../memberVisibilityCanBePrivate/JvmFieldOnProperty.kt | 2 +- .../memberVisibilityCanBePrivate/annotation.kt | 2 +- .../usedInAnnotationOnContainingObject.kt | 2 +- .../scopeFunction.kt | 2 +- .../scopeFunction2.kt | 2 +- .../scopeFunction3.kt | 2 +- .../scopeFunction4.kt | 2 +- .../scopeFunction5.kt | 2 +- .../scopeFunction5.kt.after | 2 +- .../simple.kt | 2 +- .../simple.kt.after | 2 +- .../testData/inspectionsLocal/redundantElseInIf/empty.kt | 2 +- .../inspectionsLocal/redundantElseInIf/inLambda.kt | 2 +- .../inspectionsLocal/redundantElseInIf/inLambda.kt.after | 2 +- .../testData/inspectionsLocal/redundantElseInIf/noElse.kt | 2 +- .../inspectionsLocal/redundantElseInIf/notReturn.kt | 2 +- .../inspectionsLocal/redundantElseInIf/redundant.kt | 2 +- .../inspectionsLocal/redundantElseInIf/redundant.kt.after | 2 +- .../inspectionsLocal/redundantElseInIf/redundant3.kt | 2 +- .../redundantElseInIf/redundant3.kt.after | 2 +- .../inspectionsLocal/redundantElseInIf/redundant4.kt | 2 +- .../redundantElseInIf/redundant4.kt.after | 2 +- .../redundantElseInIf/redundantSingleLine.kt | 2 +- .../redundantElseInIf/redundantSingleLine.kt.after | 2 +- .../redundantElseInIf/redundantSingleLine2.kt | 2 +- .../redundantElseInIf/redundantSingleLine2.kt.after | 2 +- .../redundantElseInIf/usedAsExpression.kt | 2 +- .../hasOuterClassMemberReferenceFromNotThis5.kt | 2 +- .../hasOuterClassMemberReferenceFromNotThis5.kt.after | 2 +- .../inspectionsLocal/redundantLambdaArrow/forEach.kt | 2 +- .../redundantLambdaArrow/forEachWithIt.kt | 2 +- .../redundantLambdaArrow/forEachWithIt.kt.after | 2 +- .../inspectionsLocal/redundantLambdaArrow/nestedLambda.kt | 2 +- .../redundantLambdaArrow/nestedLambda2.kt | 2 +- .../redundantLambdaArrow/nestedLambda3.kt | 2 +- .../redundantLambdaArrow/nestedLambda3.kt.after | 2 +- .../notApplicableGenericConstructor.kt | 2 +- .../notApplicableGenericConstructor2.kt | 2 +- .../redundantLambdaArrow/notApplicableOverload.kt | 2 +- .../redundantLambdaArrow/notApplicableOverload2.kt | 2 +- .../redundantLambdaArrow/notApplicableOverload3.kt | 2 +- .../redundantLambdaArrow/notApplicableOverload5.kt | 2 +- .../redundantLambdaArrow/notApplicableVararg.kt | 2 +- .../redundantLambdaArrow/notApplicableVararg2.kt | 2 +- .../redundantLambdaArrow/notApplicableVararg2_ni.kt | 2 +- .../redundantLambdaArrow/notApplicableVararg2_ni.kt.after | 2 +- .../redundantLambdaArrow/notApplicableVararg_ni.kt | 2 +- .../redundantLambdaArrow/notApplicableVararg_ni.kt.after | 2 +- .../inspectionsLocal/redundantLambdaArrow/overload4.kt | 2 +- .../redundantLambdaArrow/overload4.kt.after | 2 +- .../redundantLambdaArrow/typeParameter3.kt | 2 +- .../redundantLambdaArrow/typeParameter3_ni.kt | 2 +- .../redundantLambdaArrow/typeParameter3_ni.kt.after | 2 +- .../anonymousFunction/inWith.kt | 2 +- .../anonymousFunction/lambdaWithReceiverAsParameter.kt | 2 +- .../lambdaWithReceiverAsParameter.kt.after | 2 +- .../anonymousFunction/lambdaWithReceiverAsParameter2.kt | 2 +- .../lambdaWithReceiverAsParameter2.kt.after | 2 +- .../anonymousFunction/lambdaWithReceiverAsParameter3.kt | 2 +- .../lambdaWithReceiverAsParameter3.kt.after | 2 +- .../anonymousFunction/withReceiver2.kt | 2 +- .../anonymousFunction/withReceiver2.kt.after | 2 +- .../lambdaExpression/inWith.kt | 2 +- .../lambdaExpression/lambdaWithReceiverAsParameter.kt | 2 +- .../lambdaWithReceiverAsParameter.kt.after | 2 +- .../lambdaExpression/lambdaWithReceiverAsParameter2.kt | 2 +- .../lambdaWithReceiverAsParameter2.kt.after | 2 +- .../lambdaExpression/lambdaWithReceiverAsParameter3.kt | 2 +- .../lambdaWithReceiverAsParameter3.kt.after | 2 +- .../redundantNullableReturnType/function/blockBody.kt | 2 +- .../function/blockBody.kt.after | 2 +- .../function/blockBodyReturnsNullable.kt | 2 +- .../function/returnNullableForLambda.kt | 2 +- .../function/returnNullableForLambda.kt.after | 2 +- .../returnNullableFromLambdaInSingleExpressionBody.kt | 2 +- .../function/singleExpressionBody.kt | 2 +- .../function/singleExpressionBody.kt.after | 2 +- .../function/singleExpressionBodyReturnsNullable.kt | 2 +- .../property/hasTransientAnnotation.kt | 2 +- .../property/returnNullableFromLambdaInGetter.kt | 2 +- .../inspectionsLocal/redundantOverride/boxedParameters.kt | 2 +- .../redundantRequireNotNullCall/checkNotNull.kt | 2 +- .../redundantRequireNotNullCall/checkNotNull.kt.after | 2 +- .../redundantRequireNotNullCall/notNull.kt | 2 +- .../redundantRequireNotNullCall/notNull.kt.after | 2 +- .../redundantRequireNotNullCall/notNull2.kt | 2 +- .../redundantRequireNotNullCall/notNull2.kt.after | 2 +- .../redundantRequireNotNullCall/notNull3.kt | 2 +- .../redundantRequireNotNullCall/notNull3.kt.after | 2 +- .../redundantRequireNotNullCall/nullable.kt | 2 +- .../redundantRequireNotNullCall/nullable2.kt | 2 +- .../redundantRequireNotNullCall/require.kt | 2 +- .../redundantRequireNotNullCall/usedAsExpression.kt | 2 +- .../redundantRequireNotNullCall/usedAsExpression.kt.after | 2 +- .../redundantRequireNotNullCall/usedAsExpression2.kt | 2 +- .../usedAsExpression2.kt.after | 2 +- .../redundantRequireNotNullCall/usedAsExpression3.kt | 2 +- .../usedAsExpression3.kt.after | 2 +- .../inspectionsLocal/redundantSemicolon/ifElse.kt | 2 +- .../startOfLineBeforeFunctionReference.kt | 2 +- .../startOfLineBeforeFunctionReference.kt.after | 2 +- .../inspectionsLocal/redundantSuspend/coroutineContext.kt | 2 +- .../inspectionsLocal/redundantSuspend/parenthesized.kt | 2 +- .../redundantUnitExpression/notRedundant4.kt | 2 +- .../redundantUnitExpression/notRedundant5.kt | 2 +- .../redundantUnitExpression/notRedundant7.kt | 2 +- .../redundantUnitExpression/redundant5.kt | 2 +- .../redundantUnitExpression/redundant5.kt.after | 2 +- .../redundantUnitExpression/unitReturnType.kt | 2 +- .../redundantUnitExpression/unitReturnType.kt.after | 2 +- .../redundantUnitExpression/unitReturnType2.kt | 2 +- .../redundantUnitExpression/unitReturnType2.kt.after | 2 +- .../redundantUnitExpression/unitReturnType3.kt | 2 +- .../redundantUnitExpression/unitReturnType4.kt | 2 +- .../redundantUnitExpression/unitReturnType4.kt.after | 2 +- .../redundantUnitExpression/unitReturnType5.kt | 2 +- .../redundantUnitExpression/unitReturnType5.kt.after | 2 +- .../inspectionsLocal/redundantWith/asInitializer.kt | 2 +- .../inspectionsLocal/redundantWith/asInitializer.kt.after | 2 +- .../redundantWith/asInitializerWithSingleReturn.kt | 2 +- .../redundantWith/asInitializerWithSingleReturn.kt.after | 2 +- .../redundantWith/emptyExpressionInReturn.kt | 2 +- .../redundantWith/emptyExpressionInReturn.kt.after | 2 +- .../testData/inspectionsLocal/redundantWith/nested.kt | 2 +- .../inspectionsLocal/redundantWith/nested.kt.after | 2 +- .../redundantWith/notApplicable_explicitThis.kt | 2 +- .../redundantWith/notApplicable_explicitThis2.kt | 2 +- .../redundantWith/notApplicable_functionCall.kt | 2 +- .../redundantWith/notApplicable_implicitThis.kt | 2 +- .../redundantWith/notApplicable_inBinaryExpression.kt | 2 +- .../redundantWith/notApplicable_inFunctionBody.kt | 2 +- .../redundantWith/notApplicable_inProperty.kt | 2 +- .../redundantWith/notApplicable_inPropertyGetter.kt | 2 +- .../redundantWith/notApplicable_inReturn.kt | 2 +- .../redundantWith/notApplicable_inValueArgument.kt | 2 +- .../redundantWith/notApplicable_labeledReturn.kt | 2 +- .../redundantWith/notApplicable_labeledReturn2.kt | 2 +- .../redundantWith/notApplicable_labeledThis.kt | 2 +- .../redundantWith/notApplicable_labeledThis2.kt | 2 +- .../redundantWith/notApplicable_variableFunctionCall.kt | 2 +- .../testData/inspectionsLocal/redundantWith/simple.kt | 2 +- .../inspectionsLocal/redundantWith/simple.kt.after | 2 +- .../testData/inspectionsLocal/redundantWith/simple2.kt | 2 +- .../inspectionsLocal/redundantWith/simple2.kt.after | 2 +- .../redundantWith/singleExpressionInReturn.kt | 2 +- .../redundantWith/singleExpressionInReturn.kt.after | 2 +- .../removeTypeArgumentsFromFunction.kt | 2 +- .../removeTypeArgumentsFromFunction.kt.after | 2 +- .../removeTypeArgumentsFromProperty.kt | 2 +- .../removeTypeArgumentsFromProperty.kt.after | 2 +- .../removeExplicitTypeArguments/removeTypeFromFunction.kt | 2 +- .../removeTypeFromFunction.kt.after | 2 +- .../removeExplicitTypeArguments/removeTypeFromProperty.kt | 2 +- .../removeTypeFromProperty.kt.after | 2 +- .../removeRedundantBackticks/functionArgument.kt | 2 +- .../removeRedundantBackticks/functionArgument.kt.after | 2 +- .../removeRedundantBackticks/functionCall.kt | 2 +- .../removeRedundantBackticks/functionCall.kt.after | 2 +- .../inspectionsLocal/removeRedundantBackticks/property.kt | 2 +- .../removeRedundantBackticks/property.kt.after | 2 +- .../removeRedundantQualifierName/asReceiver.kt | 2 +- .../removeRedundantQualifierName/asReceiver.kt.after | 2 +- .../removeRedundantQualifierName/classLiteral.kt | 2 +- .../removeRedundantQualifierName/classLiteral.kt.after | 2 +- .../removeRedundantQualifierName/classLiteral2.kt | 2 +- .../removeRedundantQualifierName/classLiteral2.kt.after | 2 +- .../removeRedundantQualifierName/classLiteral3.kt | 2 +- .../removeRedundantQualifierName/classLiteral3.kt.after | 2 +- .../removeRedundantQualifierName/classLiteral4.kt | 2 +- .../removeRedundantQualifierName/classLiteral4.kt.after | 2 +- .../removeRedundantQualifierName/classLiteral5.kt | 2 +- .../removeRedundantQualifierName/classLiteral5.kt.after | 2 +- .../removeRedundantQualifierName/companionCollision.kt | 2 +- .../companionCollision.kt.after | 2 +- .../removeRedundantQualifierName/enumEntry.kt | 2 +- .../removeRedundantQualifierName/enumEntry.kt.after | 2 +- .../removeRedundantQualifierName/expression2.kt | 2 +- .../removeRedundantQualifierName/expression2.kt.after | 2 +- .../removeRedundantQualifierName/expression3.kt | 2 +- .../removeRedundantQualifierName/expression3.kt.after | 2 +- .../removeRedundantQualifierName/expression4.kt | 2 +- .../removeRedundantQualifierName/expression4.kt.after | 2 +- .../removeRedundantQualifierName/expression5.kt | 2 +- .../removeRedundantQualifierName/expression5.kt.after | 2 +- .../removeRedundantQualifierName/javaConstructor.kt | 2 +- .../removeRedundantQualifierName/javaConstructor.kt.after | 2 +- .../notApplicableAsReceiver.kt | 2 +- .../notApplicableCollisionTopLevelClass.kt | 2 +- .../notApplicableEnumEntry.kt | 2 +- .../notApplicableEnumEntryInEnumEntry.kt | 2 +- .../notApplicableEnumEntryInEnumEntry2.kt | 2 +- .../notApplicableEnumInEnum.kt | 2 +- .../notApplicableEnumInEnum2.kt | 2 +- .../notApplicableEnumInEnum3.kt | 2 +- .../notApplicableEnumInEnum4.kt | 2 +- .../notApplicableEnumInEnum5.kt | 2 +- .../notApplicableEnumValueOf.kt | 2 +- .../notApplicableEnumValues.kt | 2 +- .../notApplicableExpression.kt | 2 +- .../notApplicableExpression2.kt | 2 +- .../removeRedundantQualifierName/notApplicableObject.kt | 2 +- .../removeRedundantQualifierName/notApplicableObject2.kt | 2 +- .../removeRedundantQualifierName/notApplicableObject3.kt | 2 +- .../notApplicableSameNameVariable2.kt | 2 +- .../notApplicableTypeWithRuntime.kt | 2 +- .../notApplicableTypeWithRuntime2.kt | 2 +- .../removeRedundantQualifierName/secondaryConstructor.kt | 2 +- .../secondaryConstructor.kt.after | 2 +- .../removeRedundantQualifierName/superClass.kt | 2 +- .../removeRedundantQualifierName/superClass.kt.after | 2 +- .../removeRedundantQualifierName/superClass2.kt | 2 +- .../removeRedundantQualifierName/superClass2.kt.after | 2 +- .../removeRedundantQualifierName/type2.kt | 2 +- .../removeRedundantQualifierName/type2.kt.after | 2 +- .../removeRedundantQualifierName/typeWithAlias.kt | 2 +- .../removeRedundantQualifierName/typeWithAlias.kt.after | 2 +- .../removeRedundantQualifierName/typeWithRuntime.kt | 2 +- .../removeRedundantQualifierName/typeWithRuntime.kt.after | 2 +- .../userTypeWithTypeParameter.kt | 2 +- .../userTypeWithTypeParameter.kt.after | 2 +- .../removeRedundantQualifierName/withTypeParameter.kt | 2 +- .../withTypeParameter.kt.after | 2 +- .../replaceArrayEqualityOpWithArraysEquals/arrayEQEQ.kt | 2 +- .../arrayEQEQ.kt.after | 2 +- .../replaceArrayEqualityOpWithArraysEquals/arrayEXCLEQ.kt | 2 +- .../arrayEXCLEQ.kt.after | 2 +- .../primitiveArrayEQEQ.kt | 2 +- .../primitiveArrayEQEQ.kt.after | 2 +- .../replaceAssociateFunction/associateBy/array.kt | 2 +- .../replaceAssociateFunction/associateBy/array.kt.after | 2 +- .../replaceAssociateFunction/associateBy/basic.kt | 2 +- .../replaceAssociateFunction/associateBy/basic.kt.after | 2 +- .../associateByKeyAndValue/array.kt | 2 +- .../associateByKeyAndValue/array.kt.after | 2 +- .../associateByKeyAndValue/basic.kt | 2 +- .../associateByKeyAndValue/basic.kt.after | 2 +- .../associateByKeyAndValue/basic2.kt | 2 +- .../associateByKeyAndValue/basic2.kt.after | 2 +- .../associateByKeyAndValue/basic3.kt | 2 +- .../associateByKeyAndValue/basic3.kt.after | 2 +- .../associateByKeyAndValue/basic4.kt | 2 +- .../associateByKeyAndValue/basic4.kt.after | 2 +- .../associateByKeyAndValue/basic5.kt | 2 +- .../associateByKeyAndValue/basic5.kt.after | 2 +- .../associateByKeyAndValue/notSingle.kt | 2 +- .../replaceAssociateFunction/associateByTo/array.kt | 2 +- .../replaceAssociateFunction/associateByTo/array.kt.after | 2 +- .../replaceAssociateFunction/associateByTo/basic.kt | 2 +- .../replaceAssociateFunction/associateByTo/basic.kt.after | 2 +- .../associateByToKeyAndValue/array.kt | 2 +- .../associateByToKeyAndValue/array.kt.after | 2 +- .../associateByToKeyAndValue/basic.kt | 2 +- .../associateByToKeyAndValue/basic.kt.after | 2 +- .../associateByToKeyAndValue/basic2.kt | 2 +- .../associateByToKeyAndValue/basic2.kt.after | 2 +- .../associateByToKeyAndValue/basic3.kt | 2 +- .../associateByToKeyAndValue/basic3.kt.after | 2 +- .../associateByToKeyAndValue/basic4.kt | 2 +- .../associateByToKeyAndValue/basic4.kt.after | 2 +- .../replaceAssociateFunction/associateWith/array.kt | 2 +- .../replaceAssociateFunction/associateWith/array.kt.after | 2 +- .../associateWith/arrayVersion13.kt | 2 +- .../replaceAssociateFunction/associateWith/basic.kt | 2 +- .../replaceAssociateFunction/associateWith/basic.kt.after | 2 +- .../replaceAssociateFunction/associateWith/basic2.kt | 2 +- .../associateWith/basic2.kt.after | 2 +- .../replaceAssociateFunction/associateWith/basic3.kt | 2 +- .../associateWith/basic3.kt.after | 2 +- .../replaceAssociateFunction/associateWith/basic4.kt | 2 +- .../associateWith/basic4.kt.after | 2 +- .../replaceAssociateFunction/associateWith/basic5.kt | 2 +- .../associateWith/basic5.kt.after | 2 +- .../replaceAssociateFunction/associateWith/intArray.kt | 2 +- .../associateWith/intArray.kt.after | 2 +- .../associateWith/intArrayVersion13.kt | 2 +- .../associateWith/labeledReturn.kt | 2 +- .../replaceAssociateFunction/associateWith/multiLine.kt | 2 +- .../associateWith/multiLine.kt.after | 2 +- .../replaceAssociateFunction/associateWith/notPair.kt | 2 +- .../replaceAssociateFunction/associateWith/sequence.kt | 2 +- .../associateWith/sequence.kt.after | 2 +- .../replaceAssociateFunction/associateWith/set.kt | 2 +- .../replaceAssociateFunction/associateWith/set.kt.after | 2 +- .../replaceAssociateFunction/associateWithTo/array.kt | 2 +- .../associateWithTo/array.kt.after | 2 +- .../associateWithTo/arrayVersion13.kt | 2 +- .../replaceAssociateFunction/associateWithTo/basic.kt | 2 +- .../associateWithTo/basic.kt.after | 2 +- .../replaceAssociateFunction/associateWithTo/basic2.kt | 2 +- .../associateWithTo/basic2.kt.after | 2 +- .../replaceAssociateFunction/associateWithTo/basic3.kt | 2 +- .../associateWithTo/basic3.kt.after | 2 +- .../replaceAssociateFunction/associateWithTo/basic4.kt | 2 +- .../associateWithTo/basic4.kt.after | 2 +- .../replaceAssociateFunction/associateWithTo/basic5.kt | 2 +- .../associateWithTo/basic5.kt.after | 2 +- .../replaceAssociateFunction/version1_2.kt | 2 +- .../replaceCollectionCountWithSize/countOfArray.kt | 2 +- .../replaceCollectionCountWithSize/countOfArray.kt.after | 2 +- .../countOfArrayWithPredicate.kt | 2 +- .../replaceCollectionCountWithSize/countOfCollection.kt | 2 +- .../countOfCollection.kt.after | 2 +- .../replaceCollectionCountWithSize/countOfIterable.kt | 2 +- .../replaceCollectionCountWithSize/countOfIterable2.kt | 2 +- .../replaceCollectionCountWithSize/countOfIterable3.kt | 2 +- .../replaceCollectionCountWithSize/countOfMap.kt | 2 +- .../replaceCollectionCountWithSize/countOfMap.kt.after | 2 +- .../replaceGuardClauseWithFunctionCall/check/basic.kt | 2 +- .../check/basic.kt.after | 2 +- .../checkNotNull/basic.kt | 2 +- .../checkNotNull/basic.kt.after | 2 +- .../notStringArgument.kt | 2 +- .../notTargetException.kt | 2 +- .../replaceGuardClauseWithFunctionCall/require/basic.kt | 2 +- .../require/basic.kt.after | 2 +- .../replaceGuardClauseWithFunctionCall/require/basic2.kt | 2 +- .../require/basic2.kt.after | 2 +- .../replaceGuardClauseWithFunctionCall/require/comment.kt | 2 +- .../require/comment.kt.after | 2 +- .../require/comment2.kt | 2 +- .../require/comment2.kt.after | 2 +- .../replaceGuardClauseWithFunctionCall/require/hasElse.kt | 2 +- .../require/hasElse.kt.after | 2 +- .../require/hasElse2.kt | 2 +- .../require/hasElse2.kt.after | 2 +- .../require/hasElse3.kt | 2 +- .../require/hasElse3.kt.after | 2 +- .../replaceGuardClauseWithFunctionCall/require/not.kt | 2 +- .../require/not.kt.after | 2 +- .../replaceGuardClauseWithFunctionCall/require/notEq.kt | 2 +- .../require/notEq.kt.after | 2 +- .../requireNotNull/basic.kt | 2 +- .../requireNotNull/basic.kt.after | 2 +- .../requireNotNull/hasElse.kt | 2 +- .../requireNotNull/hasElse.kt.after | 2 +- .../usedAsExpression.kt | 2 +- .../replaceGuardClauseWithFunctionCall/version12.kt | 2 +- .../replaceIsEmptyWithIfEmpty/array/isEmpty.kt | 2 +- .../replaceIsEmptyWithIfEmpty/array/isNotEmpty.kt | 2 +- .../replaceIsEmptyWithIfEmpty/collection/isEmpty.kt | 2 +- .../replaceIsEmptyWithIfEmpty/collection/isEmpty.kt.after | 2 +- .../replaceIsEmptyWithIfEmpty/collection/isNotEmpty.kt | 2 +- .../collection/isNotEmpty.kt.after | 2 +- .../defaultValueBlockHasBreak.kt | 2 +- .../defaultValueBlockHasBreak2.kt | 2 +- .../defaultValueBlockHasBreak2.kt.after | 2 +- .../defaultValueBlockHasContinue.kt | 2 +- .../defaultValueBlockHasContinue2.kt | 2 +- .../defaultValueBlockHasContinue2.kt.after | 2 +- .../defaultValueBlockHasLabeledBreak.kt | 2 +- .../defaultValueBlockHasLabeledBreak2.kt | 2 +- .../defaultValueBlockHasLabeledContinue.kt | 2 +- .../defaultValueBlockHasLabeledContinue2.kt | 2 +- .../defaultValueBlockHasMultiStatement.kt | 2 +- .../defaultValueBlockHasMultiStatement.kt.after | 2 +- .../defaultValueBlockHasMultiStatement2.kt | 2 +- .../defaultValueBlockHasMultiStatement2.kt.after | 2 +- .../inspectionsLocal/replaceIsEmptyWithIfEmpty/elseIf.kt | 2 +- .../replaceIsEmptyWithIfEmpty/implicitReceiver.kt | 2 +- .../replaceIsEmptyWithIfEmpty/implicitReceiver.kt.after | 2 +- .../replaceIsEmptyWithIfEmpty/intArray/isEmpty.kt | 2 +- .../replaceIsEmptyWithIfEmpty/intArray/isNotEmpty.kt | 2 +- .../replaceIsEmptyWithIfEmpty/list/isEmpty.kt | 2 +- .../replaceIsEmptyWithIfEmpty/list/isEmpty.kt.after | 2 +- .../replaceIsEmptyWithIfEmpty/list/isNotEmpty.kt | 2 +- .../replaceIsEmptyWithIfEmpty/list/isNotEmpty.kt.after | 2 +- .../replaceIsEmptyWithIfEmpty/map/isEmpty.kt | 2 +- .../replaceIsEmptyWithIfEmpty/map/isEmpty.kt.after | 2 +- .../replaceIsEmptyWithIfEmpty/map/isNotEmpty.kt | 2 +- .../replaceIsEmptyWithIfEmpty/map/isNotEmpty.kt.after | 2 +- .../inspectionsLocal/replaceIsEmptyWithIfEmpty/negated.kt | 2 +- .../inspectionsLocal/replaceIsEmptyWithIfEmpty/noElse.kt | 2 +- .../replaceIsEmptyWithIfEmpty/notSelfValue.kt | 2 +- .../replaceIsEmptyWithIfEmpty/notSelfValue2.kt | 2 +- .../replaceIsEmptyWithIfEmpty/set/isEmpty.kt | 2 +- .../replaceIsEmptyWithIfEmpty/set/isEmpty.kt.after | 2 +- .../replaceIsEmptyWithIfEmpty/set/isNotEmpty.kt | 2 +- .../replaceIsEmptyWithIfEmpty/set/isNotEmpty.kt.after | 2 +- .../replaceIsEmptyWithIfEmpty/str/isBlank.kt | 2 +- .../replaceIsEmptyWithIfEmpty/str/isBlank.kt.after | 2 +- .../replaceIsEmptyWithIfEmpty/str/isEmpty.kt | 2 +- .../replaceIsEmptyWithIfEmpty/str/isEmpty.kt.after | 2 +- .../replaceIsEmptyWithIfEmpty/str/isNotBlank.kt | 2 +- .../replaceIsEmptyWithIfEmpty/str/isNotBlank.kt.after | 2 +- .../replaceIsEmptyWithIfEmpty/str/isNotEmpty.kt | 2 +- .../replaceIsEmptyWithIfEmpty/str/isNotEmpty.kt.after | 2 +- .../collections/asList.kt | 2 +- .../collections/asList.kt.after | 2 +- .../collections/copyOf.kt | 2 +- .../collections/copyOf.kt.after | 2 +- .../collections/copyOfRange.kt | 2 +- .../collections/copyOfRange.kt.after | 2 +- .../collections/deepEquals.kt | 2 +- .../collections/deepEquals.kt.after | 2 +- .../collections/deepEqualsWithNullOther.kt | 2 +- .../collections/deepHashCode.kt | 2 +- .../collections/deepHashCode.kt.after | 2 +- .../collections/deepToString.kt | 2 +- .../collections/deepToString.kt.after | 2 +- .../collections/equals.kt | 2 +- .../collections/equals.kt.after | 2 +- .../collections/equals2.kt | 2 +- .../collections/equals2.kt.after | 2 +- .../collections/equalsWithBlockComment.kt | 2 +- .../collections/equalsWithBlockComment.kt.after | 2 +- .../collections/equalsWithEOLComment.kt | 2 +- .../collections/equalsWithEOLComment.kt.after | 2 +- .../collections/equalsWithNullOther.kt | 2 +- .../collections/hashCode.kt | 2 +- .../collections/hashCode.kt.after | 2 +- .../collections/hashCodeWithImport.kt | 2 +- .../collections/hashCodeWithImport.kt.after | 2 +- .../collections/mutableListOf.kt | 2 +- .../collections/mutableListOf.kt.after | 2 +- .../collections/mutableSetOf.kt | 2 +- .../collections/mutableSetOf.kt.after | 2 +- .../collections/notCopyOf.kt | 2 +- .../collections/qualified.kt | 2 +- .../collections/qualified.kt.after | 2 +- .../collections/setOf.kt | 2 +- .../collections/setOf.kt.after | 2 +- .../collections/setOf2.kt | 2 +- .../collections/setOf2.kt.after | 2 +- .../collections/toString.kt | 2 +- .../collections/toString.kt.after | 2 +- .../collections/toStringWithNullableReceiver.kt | 2 +- .../compare/byte.kt | 2 +- .../compare/byte.kt.after | 2 +- .../compare/character.kt | 2 +- .../compare/character.kt.after | 2 +- .../compare/double.kt | 2 +- .../compare/double.kt.after | 2 +- .../compare/float.kt | 2 +- .../compare/float.kt.after | 2 +- .../compare/integer.kt | 2 +- .../compare/integer.kt.after | 2 +- .../compare/long.kt | 2 +- .../compare/long.kt.after | 2 +- .../compare/short.kt | 2 +- .../compare/short.kt.after | 2 +- .../io/notApplicablePrint.kt | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/io/print.kt | 2 +- .../io/print.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/io/print2.kt | 2 +- .../io/print2.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/io/print3.kt | 2 +- .../io/print3.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/io/print4.kt | 2 +- .../io/print4.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/io/println.kt | 2 +- .../io/println.kt.after | 2 +- .../io/println_2.kt | 2 +- .../io/println_2.kt.after | 2 +- .../io/println_3.kt | 2 +- .../io/println_3.kt.after | 2 +- .../math/IEEEremainder.kt | 2 +- .../math/IEEEremainder.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/abs.kt | 2 +- .../math/abs.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/abs2.kt | 2 +- .../math/abs2.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/abs3.kt | 2 +- .../math/abs3.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/abs4.kt | 2 +- .../math/abs4.kt.after | 2 +- .../math/absWithBlockComment.kt | 2 +- .../math/absWithBlockComment.kt.after | 2 +- .../math/absWithEOLComment.kt | 2 +- .../math/absWithEOLComment.kt.after | 2 +- .../math/absWithEOLComment2.kt | 2 +- .../math/absWithEOLComment2.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/acos.kt | 2 +- .../math/acos.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/asin.kt | 2 +- .../math/asin.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/atan.kt | 2 +- .../math/atan.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/atan2.kt | 2 +- .../math/atan2.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/ceil.kt | 2 +- .../math/ceil.kt.after | 2 +- .../math/coerceAtLeast.kt | 2 +- .../math/coerceAtLeast.kt.after | 2 +- .../math/coerceAtMost.kt | 2 +- .../math/coerceAtMost.kt.after | 2 +- .../math/copySign.kt | 2 +- .../math/copySign.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/cos.kt | 2 +- .../math/cos.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/cosh.kt | 2 +- .../math/cosh.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/exp.kt | 2 +- .../math/exp.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/expm1.kt | 2 +- .../math/expm1.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/floor.kt | 2 +- .../math/floor.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/hypot.kt | 2 +- .../math/hypot.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/log.kt | 2 +- .../math/log.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/log10.kt | 2 +- .../math/log10.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/log1p.kt | 2 +- .../math/log1p.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/max.kt | 2 +- .../math/max.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/min.kt | 2 +- .../math/min.kt.after | 2 +- .../math/nextAfter.kt | 2 +- .../math/nextAfter.kt.after | 2 +- .../math/nextUp.kt | 2 +- .../math/nextUp.kt.after | 2 +- .../math/notApplicableAbs.kt | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/pow.kt | 2 +- .../math/pow.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/rint.kt | 2 +- .../math/rint.kt.after | 2 +- .../math/roundToInt.kt | 2 +- .../math/roundToInt.kt.after | 2 +- .../math/roundToLong.kt | 2 +- .../math/roundToLong.kt.after | 2 +- .../math/signum.kt | 2 +- .../math/signum.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/sin.kt | 2 +- .../math/sin.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/sinh.kt | 2 +- .../math/sinh.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/sqrt.kt | 2 +- .../math/sqrt.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/tan.kt | 2 +- .../math/tan.kt.after | 2 +- .../replaceJavaStaticMethodWithKotlinAnalog/math/tanh.kt | 4 ++-- .../math/tanh.kt.after | 4 ++-- .../system/exit.kt | 2 +- .../system/exit.kt.after | 2 +- .../toString/byteToString.kt | 2 +- .../toString/byteToString.kt.after | 2 +- .../toString/charToString.kt | 2 +- .../toString/charToString.kt.after | 2 +- .../toString/doubleToString.kt | 2 +- .../toString/doubleToString.kt.after | 2 +- .../toString/floatToString.kt | 2 +- .../toString/floatToString.kt.after | 2 +- .../toString/intToString.kt | 2 +- .../toString/intToString.kt.after | 2 +- .../toString/intToString2.kt | 2 +- .../toString/intToString2.kt.after | 2 +- .../toString/longToString.kt | 2 +- .../toString/longToString.kt.after | 2 +- .../toString/longToString2.kt | 2 +- .../toString/longToString2.kt.after | 2 +- .../toString/nullableIntToString.kt | 2 +- .../toString/nullableIntToString.kt.after | 2 +- .../toString/nullableIntToString2.kt | 2 +- .../toString/replaceIntToString.kt | 2 +- .../toString/replaceIntToString.kt.after | 2 +- .../toString/replaceListElementToString.kt | 2 +- .../toString/replaceListElementToString.kt.after | 2 +- .../toString/replaceToStringBase.kt | 2 +- .../toString/replaceToStringBase.kt.after | 2 +- .../toString/replaceToStringWithRadix.kt | 2 +- .../toString/replaceToStringWithRadix.kt.after | 2 +- .../toString/shortToString.kt | 2 +- .../toString/shortToString.kt.after | 2 +- .../toString/toExtension.kt | 2 +- .../toString/toExtension.kt.after | 2 +- .../replaceManualRangeWithIndicesCalls/forNotTarget.kt | 2 +- .../implicitReceiver.kt | 2 +- .../implicitReceiver.kt.after | 2 +- .../implicitReceiverFor.kt | 2 +- .../implicitReceiverFor.kt.after | 2 +- .../implicitReceiverUntil.kt | 2 +- .../implicitReceiverUntil.kt.after | 2 +- .../replaceManualRangeWithIndicesCalls/indexInLvalue.kt | 2 +- .../indexInLvalue.kt.after | 2 +- .../replaceManualRangeWithIndicesCalls/map.kt | 2 +- .../multidimensionalArray.kt | 2 +- .../multidimensionalArray2.kt | 2 +- .../multidimensionalArray2.kt.after | 2 +- .../replaceManualRangeWithIndicesCalls/notUsedAsIndex.kt | 2 +- .../notUsedAsIndex.kt.after | 2 +- .../replaceManualRangeWithIndicesCalls/rangeTo.kt | 2 +- .../replaceManualRangeWithIndicesCalls/rangeTo.kt.after | 2 +- .../simpleExpression.kt | 2 +- .../simpleExpression.kt.after | 2 +- .../simpleExpressionUntil.kt | 2 +- .../simpleExpressionUntil.kt.after | 2 +- .../replaceManualRangeWithIndicesCalls/simpleFor.kt | 2 +- .../replaceManualRangeWithIndicesCalls/simpleFor.kt.after | 2 +- .../usedForOtherArray.kt | 2 +- .../usedForOtherArray.kt.after | 2 +- .../anonymousFunction.kt | 2 +- .../anonymousFunction.kt.after | 2 +- .../replaceMapIndexedWithListGenerator/basic.kt | 2 +- .../replaceMapIndexedWithListGenerator/basic.kt.after | 2 +- .../replaceMapIndexedWithListGenerator/basic2.kt | 2 +- .../replaceMapIndexedWithListGenerator/basic2.kt.after | 2 +- .../replaceMapIndexedWithListGenerator/basic3.kt | 2 +- .../replaceMapIndexedWithListGenerator/basic3.kt.after | 2 +- .../destructingDeclarationParameter.kt | 2 +- .../implicitReceiver.kt | 2 +- .../implicitReceiver.kt.after | 2 +- .../implicitReceiver2.kt | 2 +- .../implicitReceiver2.kt.after | 2 +- .../replaceMapIndexedWithListGenerator/importAlias.kt | 2 +- .../importAlias.kt.after | 2 +- .../insideLambdaParameter.kt | 2 +- .../insideLambdaParameter.kt.after | 2 +- .../replaceMapIndexedWithListGenerator/iterable.kt | 2 +- .../replaceMapIndexedWithListGenerator/labeledReturn.kt | 2 +- .../labeledReturn.kt.after | 2 +- .../replaceMapIndexedWithListGenerator/labeledReturn2.kt | 2 +- .../labeledReturn2.kt.after | 2 +- .../replaceMapIndexedWithListGenerator/labeledReturn3.kt | 2 +- .../labeledReturn3.kt.after | 2 +- .../replaceMapIndexedWithListGenerator/thisReceiver.kt | 2 +- .../thisReceiver.kt.after | 2 +- .../replaceMapIndexedWithListGenerator/usedValue.kt | 2 +- .../replaceMapIndexedWithListGenerator/usedValue2.kt | 2 +- .../replaceNegatedIsEmptyWithIsNotEmpty/notNegateBlank.kt | 2 +- .../replaceNegatedIsEmptyWithIsNotEmpty/notNegateEmpty.kt | 2 +- .../replaceNegatedIsEmptyWithIsNotEmpty/simple.kt | 2 +- .../replaceNegatedIsEmptyWithIsNotEmpty/simple.kt.after | 2 +- .../replaceNegatedIsEmptyWithIsNotEmpty/stringIsBlank.kt | 2 +- .../stringIsBlank.kt.after | 2 +- .../replaceNegatedIsEmptyWithIsNotEmpty/stringIsEmpty.kt | 2 +- .../stringIsEmpty.kt.after | 2 +- .../stringIsNotBlank.kt | 2 +- .../stringIsNotBlank.kt.after | 2 +- .../stringIsNotEmpty.kt | 2 +- .../stringIsNotEmpty.kt.after | 2 +- .../replaceNotNullAssertionWithElvisReturn/inLambda.kt | 2 +- .../inLambda.kt.after | 2 +- .../replaceNotNullAssertionWithElvisReturn/inLambda2.kt | 2 +- .../replacePutWithAssignment/afterElvis.kt | 2 +- .../replacePutWithAssignment/afterElvis2.kt | 2 +- .../replacePutWithAssignment/beforeElvis.kt | 2 +- .../inspectionsLocal/replacePutWithAssignment/hasSet2.kt | 2 +- .../replacePutWithAssignment/notMutableMapPut.kt | 2 +- .../replacePutWithAssignment/notMutableMapPut2.kt | 2 +- .../replacePutWithAssignment/putAsExpression.kt | 2 +- .../replacePutWithAssignment/putLambdaHasLabeledReturn.kt | 2 +- .../putLambdaHasLabeledReturn.kt.after | 2 +- .../putLambdaHasLabeledReturn2.kt | 2 +- .../putLambdaHasLabeledReturn2.kt.after | 2 +- .../putLambdaHasLabeledReturn3.kt | 2 +- .../putLambdaHasLabeledReturn3.kt.after | 2 +- .../replacePutWithAssignment/putOnParameter.kt | 2 +- .../replacePutWithAssignment/putOnParameter.kt.after | 2 +- .../replacePutWithAssignment/putOnThis.kt | 2 +- .../replacePutWithAssignment/putOnThis.kt.after | 2 +- .../inspectionsLocal/replacePutWithAssignment/putOnVal.kt | 2 +- .../replacePutWithAssignment/putOnVal.kt.after | 2 +- .../inspectionsLocal/replacePutWithAssignment/putOnVar.kt | 2 +- .../replacePutWithAssignment/putOnVar.kt.after | 2 +- .../endInclusiveCharRange.kt | 2 +- .../endInclusiveCharRange.kt.after | 2 +- .../endInclusiveIntRange.kt | 2 +- .../endInclusiveIntRange.kt.after | 2 +- .../endInclusiveLongRange.kt | 2 +- .../endInclusiveLongRange.kt.after | 2 +- .../startCharRange.kt | 2 +- .../startCharRange.kt.after | 2 +- .../startIntRange.kt | 2 +- .../startIntRange.kt.after | 2 +- .../startLongRange.kt | 2 +- .../startLongRange.kt.after | 2 +- .../replaceRangeToWithUntil/closedRange.kt | 2 +- .../inspectionsLocal/replaceRangeToWithUntil/minusTwo.kt | 2 +- .../replaceRangeToWithUntil/notMinusOne.kt | 2 +- .../inspectionsLocal/replaceRangeToWithUntil/operator.kt | 2 +- .../replaceRangeToWithUntil/operator.kt.after | 2 +- .../replaceRangeToWithUntil/operatorLong.kt | 2 +- .../replaceRangeToWithUntil/operatorLong.kt.after | 2 +- .../replaceRangeToWithUntil/parentheses.kt | 2 +- .../replaceRangeToWithUntil/parentheses.kt.after | 2 +- .../inspectionsLocal/replaceRangeToWithUntil/plusOne.kt | 2 +- .../inspectionsLocal/replaceRangeToWithUntil/rangeTo.kt | 2 +- .../replaceRangeToWithUntil/rangeTo.kt.after | 2 +- .../replaceStringFormatWithLiteral/curlyBraces.kt | 2 +- .../replaceStringFormatWithLiteral/curlyBraces.kt.after | 2 +- .../replaceStringFormatWithLiteral/invalidArgs.kt | 2 +- .../replaceStringFormatWithLiteral/noArgs.kt | 2 +- .../notStringPlaceFolder.kt | 2 +- .../notStringPlaceFolder2.kt | 2 +- .../replaceStringFormatWithLiteral/rawStringFormat.kt | 2 +- .../replaceStringFormatWithLiteral/simple.kt | 2 +- .../replaceStringFormatWithLiteral/simple.kt.after | 2 +- .../replaceSubstring/withDropLast/immutableProperty.kt | 2 +- .../withDropLast/immutableProperty.kt.after | 2 +- .../replaceSubstring/withDropLast/methodCallReceiver.kt | 2 +- .../replaceSubstring/withDropLast/nonZeroFirstArgument.kt | 2 +- .../replaceSubstring/withDropLast/replaceWithDropLast.kt | 2 +- .../withDropLast/replaceWithDropLast.kt.after | 2 +- .../replaceSubstring/withDropLast/semicolon.kt | 2 +- .../replaceSubstring/withDropLast/semicolon.kt.after | 2 +- .../withIndexingOperation/oneFirstTwoSecondArgument.kt | 2 +- .../oneFirstTwoSecondArgument.kt.after | 2 +- .../replaceSubstring/withIndexingOperation/simple.kt | 2 +- .../withIndexingOperation/simple.kt.after | 2 +- .../withIndexingOperation/zeroFirstTenSecondArgument.kt | 2 +- .../withSubstringAfter/immutableProperty.kt | 2 +- .../withSubstringAfter/immutableProperty.kt.after | 2 +- .../withSubstringAfter/methodCallReceiver.kt | 2 +- .../withSubstringAfter/replaceWithSubstringAfter.kt | 2 +- .../withSubstringAfter/replaceWithSubstringAfter.kt.after | 2 +- .../replaceSubstring/withSubstringAfter/semicolon.kt | 2 +- .../withSubstringAfter/semicolon.kt.after | 2 +- .../withSubstringBefore/immutableProperty.kt | 2 +- .../withSubstringBefore/immutableProperty.kt.after | 2 +- .../withSubstringBefore/methodCallReceiver.kt | 2 +- .../withSubstringBefore/nonZeroFirstArgument.kt | 2 +- .../withSubstringBefore/replaceWithSubstringBefore.kt | 2 +- .../replaceWithSubstringBefore.kt.after | 2 +- .../replaceSubstring/withSubstringBefore/semicolon.kt | 2 +- .../withSubstringBefore/semicolon.kt.after | 2 +- .../replaceSubstring/withTake/constantAsFirstArgument.kt | 2 +- .../withTake/expressionAsFirstArgument.kt | 2 +- .../replaceSubstring/withTake/nonZeroFirstArgument.kt | 2 +- .../replaceSubstring/withTake/replaceWithTake.kt | 2 +- .../replaceSubstring/withTake/replaceWithTake.kt.after | 2 +- .../replaceSubstring/withTake/semicolon.kt | 2 +- .../replaceSubstring/withTake/semicolon.kt.after | 2 +- .../replaceToStringWithStringTemplate/nonReference.kt | 2 +- .../replaceToStringWithStringTemplate/simple.kt | 2 +- .../replaceToStringWithStringTemplate/simple.kt.after | 2 +- .../replaceToStringWithStringTemplate/stringTemplate.kt | 2 +- .../inspectionsLocal/replaceToWithInfixForm/base.kt | 2 +- .../inspectionsLocal/replaceToWithInfixForm/base.kt.after | 2 +- .../replaceToWithInfixForm/typeArguments.kt | 2 +- .../inspectionsLocal/replaceWithEnumMap/noInfer.kt | 2 +- .../inspectionsLocal/replaceWithEnumMap/withArguments.kt | 2 +- .../replaceWithIgnoreCaseEquals/extension.kt | 2 +- .../replaceWithIgnoreCaseEquals/extension.kt.after | 2 +- .../replaceWithIgnoreCaseEquals/extension2.kt | 2 +- .../replaceWithIgnoreCaseEquals/extension2.kt.after | 2 +- .../replaceWithIgnoreCaseEquals/notApplicable.kt | 2 +- .../replaceWithIgnoreCaseEquals/notApplicable2.kt | 2 +- .../replaceWithIgnoreCaseEquals/notApplicable3.kt | 2 +- .../replaceWithIgnoreCaseEquals/notApplicable4.kt | 2 +- .../replaceWithIgnoreCaseEquals/nullable.kt | 2 +- .../replaceWithIgnoreCaseEquals/nullable.kt.after | 2 +- .../replaceWithIgnoreCaseEquals/nullable2.kt | 2 +- .../replaceWithIgnoreCaseEquals/nullable2.kt.after | 2 +- .../replaceWithIgnoreCaseEquals/nullable3.kt | 2 +- .../replaceWithIgnoreCaseEquals/nullable3.kt.after | 2 +- .../replaceWithIgnoreCaseEquals/toLowerCase.kt | 2 +- .../replaceWithIgnoreCaseEquals/toLowerCase.kt.after | 2 +- .../replaceWithIgnoreCaseEquals/toUpperCase.kt | 2 +- .../replaceWithIgnoreCaseEquals/toUpperCase.kt.after | 2 +- .../replaceWithOperatorAssignment/flexibleTypeBug.kt | 2 +- .../replaceWithOperatorAssignment/list.kt | 2 +- .../replaceWithOperatorAssignment/list.kt.after | 2 +- .../replaceWithOperatorAssignment/mutableList.kt | 2 +- .../replaceWithOperatorAssignment/mutableList.kt.after | 2 +- .../inspectionsLocal/safeCastWithReturn/labeledReturn.kt | 2 +- .../safeCastWithReturn/labeledReturn.kt.after | 2 +- .../safeCastWithReturn/lambdaLastStatement.kt | 2 +- .../safeCastWithReturn/lambdaLastStatement2.kt | 2 +- .../safeCastWithReturn/lambdaLastStatement2.kt.after | 2 +- .../safeCastWithReturn/lambdaLastStatement3.kt | 2 +- .../safeCastWithReturn/lambdaLastStatement3.kt.after | 2 +- .../inspectionsLocal/scopeFunctions/alsoToApply/simple.kt | 2 +- .../scopeFunctions/alsoToApply/simple.kt.after | 2 +- .../inspectionsLocal/scopeFunctions/applyToAlso/arrow.kt | 2 +- .../scopeFunctions/applyToAlso/arrow.kt.after | 2 +- .../scopeFunctions/applyToAlso/capturedIt.kt | 2 +- .../scopeFunctions/applyToAlso/capturedIt.kt.after | 2 +- .../scopeFunctions/applyToAlso/doubleNestedLambdas.kt | 2 +- .../applyToAlso/doubleNestedLambdas.kt.after | 2 +- .../scopeFunctions/applyToAlso/innerLambda.kt | 2 +- .../scopeFunctions/applyToAlso/innerLambda.kt.after | 2 +- .../scopeFunctions/applyToAlso/itInNestedLambda.kt | 2 +- .../scopeFunctions/applyToAlso/itInNestedLambda.kt.after | 2 +- .../inspectionsLocal/scopeFunctions/applyToAlso/method.kt | 2 +- .../scopeFunctions/applyToAlso/method.kt.after | 2 +- .../scopeFunctions/applyToAlso/methodWithThis.kt | 2 +- .../scopeFunctions/applyToAlso/methodWithThis.kt.after | 2 +- .../scopeFunctions/applyToAlso/outerLambda.kt | 2 +- .../scopeFunctions/applyToAlso/outerLambda.kt.after | 2 +- .../inspectionsLocal/scopeFunctions/applyToAlso/simple.kt | 2 +- .../scopeFunctions/applyToAlso/simple.kt.after | 2 +- .../scopeFunctions/applyToAlso/thisInOperation.kt | 2 +- .../scopeFunctions/applyToAlso/thisInOperation.kt.after | 2 +- .../scopeFunctions/applyToAlso/thisQualifier.kt | 2 +- .../scopeFunctions/applyToAlso/thisQualifier.kt.after | 2 +- .../scopeFunctions/letToRun/nestedLambda.kt | 2 +- .../scopeFunctions/letToRun/nestedLambda.kt.after | 2 +- .../inspectionsLocal/scopeFunctions/letToRun/outerThis.kt | 2 +- .../scopeFunctions/letToRun/outerThis.kt.after | 2 +- .../scopeFunctions/letToRun/qualifyThis.kt | 2 +- .../scopeFunctions/letToRun/qualifyThis.kt.after | 2 +- .../scopeFunctions/letToRun/qualifyThisNoConflict.kt | 2 +- .../letToRun/qualifyThisNoConflict.kt.after | 2 +- .../scopeFunctions/letToRun/qualifyThisWithLambda.kt | 2 +- .../letToRun/qualifyThisWithLambda.kt.after | 2 +- .../letToRun/qualifyThisWithLambdaNoConflict.kt | 2 +- .../letToRun/qualifyThisWithLambdaNoConflict.kt.after | 2 +- .../inspectionsLocal/scopeFunctions/letToRun/simple.kt | 2 +- .../scopeFunctions/letToRun/simple.kt.after | 2 +- .../scopeFunctions/letToRun/thisInStringTemplate.kt | 2 +- .../scopeFunctions/letToRun/thisInStringTemplate.kt.after | 2 +- .../scopeFunctions/runToLet/capturedIt.kt | 2 +- .../scopeFunctions/runToLet/capturedIt.kt.after | 2 +- .../scopeFunctions/runToLet/noReceiver.kt | 2 +- .../inspectionsLocal/scopeFunctions/runToLet/simple.kt | 2 +- .../scopeFunctions/runToLet/simple.kt.after | 2 +- .../inspectionsLocal/selfAssignment/applyCorrect.kt | 2 +- .../inspectionsLocal/selfAssignment/applyIncorrect.kt | 2 +- .../selfAssignment/applyIncorrect.kt.after | 2 +- .../inspectionsLocal/selfAssignment/differentThese.kt | 2 +- .../inspectionsLocal/selfAssignment/differentThis.kt | 2 +- .../testData/inspectionsLocal/selfAssignment/list.kt | 2 +- .../testData/inspectionsLocal/selfAssignment/notSelf.kt | 2 +- .../selfAssignment/propertyHasDelegate.kt | 2 +- .../inspectionsLocal/selfAssignment/propertyHasGetter.kt | 2 +- .../inspectionsLocal/selfAssignment/propertyHasSetter.kt | 2 +- .../testData/inspectionsLocal/selfAssignment/sameThis.kt | 2 +- .../inspectionsLocal/selfAssignment/sameThis.kt.after | 2 +- .../inspectionsLocal/simpleRedundantLet/assignment.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/binarySafeCall.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/callChain.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/callChain2.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/callChain3.kt | 2 +- .../simpleRedundantLet/callChainWithLineBreak.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/comparisons.kt | 2 +- .../simpleRedundantLet/destructuringDeclaration.kt | 2 +- .../simpleRedundantLet/destructuringDeclaration2.kt | 2 +- .../simpleRedundantLet/destructuringDeclaration3.kt | 2 +- .../simpleRedundantLet/destructuringDeclaration4.kt | 2 +- .../simpleRedundantLet/destructuringDeclaration5.kt | 2 +- .../simpleRedundantLet/dotWithComparison.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/extensionCall.kt | 2 +- .../simpleRedundantLet/extensionCall.kt.after | 2 +- .../extensionWithNullableReceiverCall.kt | 2 +- .../extensionWithNullableReceiverCall2.kt | 2 +- .../extensionWithNullableReceiverCall3.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/functionCall1.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/functionCall2.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/functionCall3.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/functionCall4.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/functionCall5.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/functionCall6.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/functionCall7.kt | 2 +- .../simpleRedundantLet/functionCallInExtension.kt | 2 +- .../simpleRedundantLet/functionCallOnSafeCall.kt | 2 +- .../simpleRedundantLet/functionInVariableCall.kt | 2 +- .../simpleRedundantLet/functionInVariableInvokeCall.kt | 2 +- .../functionInVariableInvokeCall.kt.after | 2 +- .../testData/inspectionsLocal/simpleRedundantLet/in.kt | 2 +- .../simpleRedundantLet/inWithMultipleParam.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/inWithRange.kt | 2 +- .../simpleRedundantLet/inWithRangeMultipleParam.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/invokeCall.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/invokeCall2.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/invokeCall3.kt | 2 +- .../simpleRedundantLet/invokeCall3.kt.after | 2 +- .../inspectionsLocal/simpleRedundantLet/invokeCall4.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/invokeCall5.kt | 2 +- .../simpleRedundantLet/lambdaWithBinaryExpression.kt | 2 +- .../simpleRedundantLet/lambdaWithBinaryExpression2.kt | 2 +- .../testData/inspectionsLocal/simpleRedundantLet/let.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/let.kt.after | 2 +- .../simpleRedundantLet/letMultipleLines.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/letNoSafeCall.kt | 2 +- .../simpleRedundantLet/letNoSafeCall.kt.after | 2 +- .../simpleRedundantLet/letNotUseParameterReceiver.kt | 2 +- .../simpleRedundantLet/letNotUseReceiver.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/letUseIt.kt | 2 +- .../letUseItAsParamWithBinaryExpression.kt | 2 +- .../simpleRedundantLet/letUseItWithBinaryExpression.kt | 2 +- .../simpleRedundantLet/letUseItWithBinaryExpression2.kt | 2 +- .../simpleRedundantLet/letUseItWithMultipleMethodCall1.kt | 2 +- .../simpleRedundantLet/letUseItWithMultipleMethodCall2.kt | 2 +- .../simpleRedundantLet/letUseItWithMultipleMethodCall3.kt | 2 +- .../simpleRedundantLet/letUseParameter.kt | 2 +- .../simpleRedundantLet/letWithBinaryExpression.kt | 2 +- .../simpleRedundantLet/letWithMethodCall.kt | 2 +- .../simpleRedundantLet/letWithMethodCall.kt.after | 2 +- .../simpleRedundantLet/letWithMultipleMethodCall.kt | 2 +- .../simpleRedundantLet/letWithMultipleMethodCall.kt.after | 2 +- .../simpleRedundantLet/letWithParameter.kt | 2 +- .../simpleRedundantLet/letWithParameter.kt.after | 2 +- .../simpleRedundantLet/letWithSimpleBinaryExpression.kt | 2 +- .../simpleRedundantLet/letWithThisBinaryExpression.kt | 2 +- .../letWithThisShortBinaryExpression.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/longCallChain.kt | 2 +- .../simpleRedundantLet/multipleReceiver.kt | 2 +- .../simpleRedundantLet/multipleReceiver2.kt | 2 +- .../simpleRedundantLet/multipleReceiver3.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/multipleUsages.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/noReceiver.kt | 2 +- .../simpleRedundantLet/noReceiver.kt.after | 2 +- .../inspectionsLocal/simpleRedundantLet/plusNullable.kt | 2 +- .../simpleRedundantLet/receiverWithLambda.kt | 2 +- .../simpleRedundantLet/receiverWithLambda2.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/reference.kt | 2 +- .../simpleRedundantLet/reference.kt.after | 2 +- .../inspectionsLocal/simpleRedundantLet/reference2.kt | 2 +- .../simpleRedundantLet/reference2.kt.after | 2 +- .../inspectionsLocal/simpleRedundantLet/reference3.kt | 2 +- .../simpleRedundantLet/reference3.kt.after | 2 +- .../inspectionsLocal/simpleRedundantLet/reference4.kt | 2 +- .../simpleRedundantLet/reference4.kt.after | 2 +- .../inspectionsLocal/simpleRedundantLet/reference5.kt | 2 +- .../simpleRedundantLet/reference5.kt.after | 2 +- .../inspectionsLocal/simpleRedundantLet/sameLets.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/sameLets.kt.after | 2 +- .../inspectionsLocal/simpleRedundantLet/simple.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/simple.kt.after | 2 +- .../simpleRedundantLet/smartCastInBody.kt | 2 +- .../testData/inspectionsLocal/simpleRedundantLet/this.kt | 2 +- .../inspectionsLocal/simpleRedundantLet/this.kt.after | 2 +- .../inspectionsLocal/simpleRedundantLet/thisShort.kt | 2 +- .../simpleRedundantLet/thisShort.kt.after | 2 +- .../inspectionsLocal/simpleRedundantLet/typeChecks.kt | 2 +- .../inspectionsLocal/simplifyAssertNotNull/comments.kt | 2 +- .../simplifyAssertNotNull/comments.kt.after | 2 +- .../simplifyAssertNotNull/commentsNoMessage.kt | 2 +- .../simplifyAssertNotNull/commentsNoMessage.kt.after | 2 +- .../simplifyAssertNotNull/complicatedMessageLambda.kt | 2 +- .../inspectionsLocal/simplifyAssertNotNull/eqNull.kt | 2 +- .../simplifyAssertNotNull/errorFunctionInContext.kt | 2 +- .../simplifyAssertNotNull/errorFunctionInContext.kt.after | 2 +- .../inspectionsLocal/simplifyAssertNotNull/falseAssert.kt | 2 +- .../inspectionsLocal/simplifyAssertNotNull/noMessage.kt | 2 +- .../simplifyAssertNotNull/noMessage.kt.after | 2 +- .../simplifyAssertNotNull/otherVariable.kt | 2 +- .../simplifyAssertNotNull/qualifiedAccess.kt | 2 +- .../inspectionsLocal/simplifyAssertNotNull/withMessage.kt | 2 +- .../simplifyAssertNotNull/withMessage.kt.after | 2 +- .../simplifyAssertNotNull/withMessageLambdaOutside.kt | 2 +- .../withMessageLambdaOutside.kt.after | 2 +- .../inspectionsLocal/simplifyNestedEachInScope/also.kt | 2 +- .../simplifyNestedEachInScope/also.kt.after | 2 +- .../inspectionsLocal/simplifyNestedEachInScope/also2.kt | 2 +- .../inspectionsLocal/simplifyNestedEachInScope/also3.kt | 2 +- .../simplifyNestedEachInScope/also3.kt.after | 2 +- .../inspectionsLocal/simplifyNestedEachInScope/also4.kt | 2 +- .../inspectionsLocal/simplifyNestedEachInScope/also5.kt | 2 +- .../simplifyNestedEachInScope/alsoFunctionReference.kt | 2 +- .../alsoFunctionReference.kt.after | 2 +- .../simplifyNestedEachInScope/alsoLabel.kt | 2 +- .../simplifyNestedEachInScope/alsoLabel2.kt | 2 +- .../simplifyNestedEachInScope/alsoLabel3.kt | 2 +- .../simplifyNestedEachInScope/alsoLabel3.kt.after | 2 +- .../inspectionsLocal/simplifyNestedEachInScope/apply.kt | 2 +- .../simplifyNestedEachInScope/apply.kt.after | 2 +- .../inspectionsLocal/simplifyNestedEachInScope/apply2.kt | 2 +- .../inspectionsLocal/simplifyNestedEachInScope/apply3.kt | 2 +- .../simplifyNestedEachInScope/apply3.kt.after | 2 +- .../simplifyNestedEachInScope/applyFunctionReference.kt | 2 +- .../applyFunctionReference.kt.after | 2 +- .../applyFunctionReferenceWithParentheses.kt | 2 +- .../applyFunctionReferenceWithParentheses.kt.after | 2 +- .../simplifyNestedEachInScope/applyLabel.kt | 2 +- .../simplifyNestedEachInScope/applyLabel2.kt | 2 +- .../simplifyNestedEachInScope/applyLabel2.kt.after | 2 +- .../falseAndElse2.kt | 2 +- .../falseAndElse2.kt.after | 2 +- .../falseAndElse3.kt | 2 +- .../falseAndElse3.kt.after | 2 +- .../falseOnly2.kt | 2 +- .../falseOnly2.kt.after | 2 +- .../falseOnly3.kt | 2 +- .../falseOnly3.kt.after | 2 +- .../hasSubject.kt | 2 +- .../simplifyWhenWithBooleanConstantCondition/noBoolean.kt | 2 +- .../trueIsNotTop2.kt | 2 +- .../trueIsNotTop2.kt.after | 2 +- .../trueIsNotTop3.kt | 2 +- .../trueIsNotTop3.kt.after | 2 +- .../trueIsTop2.kt | 2 +- .../trueIsTop2.kt.after | 2 +- .../trueIsTop3.kt | 2 +- .../trueIsTop3.kt.after | 2 +- .../defaultParameter.kt | 2 +- .../defaultParameter.kt.after | 2 +- .../expectedFunction.kt | 2 +- .../explicitThisReceiver.kt | 2 +- .../explicitThisReceiver.kt.after | 2 +- .../implicitThisReceiver.kt | 2 +- .../implicitThisReceiver.kt.after | 2 +- .../invalidFunctionReference.kt | 2 +- .../invalidFunctionReference2.kt | 2 +- .../invalidFunctionReference3.kt | 2 +- .../invalidFunctionReference4.kt | 2 +- .../suspiciousCallableReferenceInLambda/it.kt | 2 +- .../suspiciousCallableReferenceInLambda/it.kt.after | 2 +- .../suspiciousCallableReferenceInLambda/lambdaInvoke.kt | 2 +- .../suspiciousCallableReferenceInLambda/lambdaWithArg.kt | 2 +- .../lambdaWithArg.kt.after | 2 +- .../suspiciousCallableReferenceInLambda/multipleLines.kt | 2 +- .../suspiciousCallableReferenceInLambda/noBody.kt | 2 +- .../noneCallableRef.kt | 2 +- .../suspiciousCallableReferenceInLambda/normal.kt | 2 +- .../suspiciousCallableReferenceInLambda/normal.kt.after | 2 +- .../suspiciousCallableReferenceInLambda/parameter.kt | 2 +- .../parameter.kt.after | 2 +- .../suspiciousCallableReferenceInLambda/parameter2.kt | 2 +- .../parameter2.kt.after | 2 +- .../suspiciousCallableReferenceInLambda/parameterOuter.kt | 2 +- .../parameterOuter.kt.after | 2 +- .../variableReceiver.kt | 2 +- .../variableReceiver.kt.after | 2 +- .../suspiciousCollectionReassignment/hasError.kt | 2 +- .../suspiciousCollectionReassignment/hasError_ni.kt | 2 +- .../suspiciousCollectionReassignment/minus.kt | 2 +- .../suspiciousCollectionReassignment/mutableList.kt | 2 +- .../suspiciousCollectionReassignment/mutableMap.kt | 2 +- .../suspiciousCollectionReassignment/mutableSet.kt | 2 +- .../suspiciousCollectionReassignment/plus.kt | 2 +- .../suspiciousCollectionReassignment/simple.kt | 2 +- .../suspiciousCollectionReassignment/simple.kt.after | 2 +- .../suspiciousCollectionReassignment/val.kt | 2 +- .../inspectionsLocal/throwableNotThrown/resultOfLambda.kt | 2 +- .../throwableNotThrown/resultOfLambda2.kt | 2 +- .../unnecessaryVariable/copyOfValInLambda.kt | 2 +- .../unnecessaryVariable/copyOfValInLambda2.kt | 2 +- .../unnecessaryVariable/copyOfValInLambda3.kt | 2 +- .../unnecessaryVariable/copyOfValInLambda3.kt.after | 2 +- .../inspectionsLocal/unnecessaryVariable/delegated.kt | 2 +- .../testData/inspectionsLocal/unnecessaryVariable/it.kt | 2 +- .../inspectionsLocal/unusedDataClassCopyResult/basic.kt | 2 +- .../inspectionsLocal/unusedDataClassCopyResult/basic2.kt | 2 +- .../inspectionsLocal/unusedDataClassCopyResult/used.kt | 2 +- .../inspectionsLocal/unusedDataClassCopyResult/used2.kt | 2 +- .../inspectionsLocal/unusedMainParameter/object.kt | 2 +- .../testData/inspectionsLocal/unusedSymbol/inAnonymous.kt | 2 +- .../inspectionsLocal/unusedSymbol/inAnonymousDeeply.kt | 2 +- .../unusedSymbol/inAnonymousDeeplyInTopLevel.kt | 2 +- .../unusedSymbol/inAnonymousRunWrapped.kt | 2 +- .../inspectionsLocal/unusedSymbol/privateProperty.kt | 2 +- .../unusedSymbol/privateProperty.kt.after | 2 +- .../unusedSymbol/privatePropertyViaGetter.kt | 2 +- .../unusedSymbol/privatePropertyViaSetter.kt | 2 +- .../unusedSymbol/propertyOfInlineClassType.kt | 2 +- .../unusedSymbol/secondaryLocalClassConstructor.kt | 2 +- .../unusedSymbol/withJvmNameUsedFromKotlin.kt | 2 +- .../convertToExpressionBody/emptyList.kt | 2 +- .../convertToExpressionBody/emptyList.kt.after | 2 +- .../funWithImplicitUnitTypeWithThrow.kt | 2 +- .../funWithImplicitUnitTypeWithThrow.kt.after | 2 +- .../convertToExpressionBody/funWithNothingType.kt | 2 +- .../convertToExpressionBody/funWithNothingType.kt.after | 2 +- .../convertToExpressionBody/funWithUnitTypeWithThrow.kt | 2 +- .../funWithUnitTypeWithThrow.kt.after | 2 +- .../convertToExpressionBody/returnFromLambda.kt | 2 +- .../convertToExpressionBody/returnFromLambda.kt.after | 2 +- .../convertToExpressionBody/returnFromLambda2.kt | 2 +- .../convertToExpressionBody/returnFromLambda2.kt.after | 2 +- .../usePropertyAccessSyntax/caretOnValueArgumentList.kt | 2 +- .../inspectionsLocal/usePropertyAccessSyntax/get.kt | 2 +- .../inspectionsLocal/usePropertyAccessSyntax/get.kt.after | 2 +- .../inspectionsLocal/usePropertyAccessSyntax/set.kt | 2 +- .../inspectionsLocal/usePropertyAccessSyntax/set.kt.after | 2 +- .../whenWithOnlyElse/complexExpression.kt | 2 +- .../whenWithOnlyElse/complexExpression.kt.after | 2 +- .../subjectVariable/blockElse/multiReference.kt | 2 +- .../subjectVariable/blockElse/multiReference.kt.after | 2 +- .../subjectVariable/blockElse/noReference.kt | 2 +- .../subjectVariable/blockElse/noReference.kt.after | 2 +- .../subjectVariable/blockElse/noReference2.kt | 2 +- .../subjectVariable/blockElse/noReference2.kt.after | 2 +- .../subjectVariable/blockElse/singleReference.kt | 2 +- .../subjectVariable/blockElse/singleReference.kt.after | 2 +- .../blockElseUsedAsExpression/multiReference.kt | 2 +- .../blockElseUsedAsExpression/multiReference.kt.after | 2 +- .../blockElseUsedAsExpression/noReference.kt | 2 +- .../blockElseUsedAsExpression/noReference.kt.after | 2 +- .../blockElseUsedAsExpression/noReference2.kt | 2 +- .../blockElseUsedAsExpression/noReference2.kt.after | 2 +- .../blockElseUsedAsExpression/singleReference.kt | 2 +- .../blockElseUsedAsExpression/singleReference.kt.after | 2 +- .../whenWithOnlyElse/subjectVariable/hasAnnotation.kt | 2 +- .../subjectVariable/hasAnnotation.kt.after | 2 +- .../subjectVariable/hasSameNameVariable.kt | 2 +- .../subjectVariable/hasSameNameVariable.kt.after | 2 +- .../subjectVariable/hasSameNameVariable2.kt | 2 +- .../subjectVariable/hasSameNameVariable2.kt.after | 2 +- .../subjectVariable/hasSameNameVariable4.kt | 2 +- .../subjectVariable/hasSameNameVariable4.kt.after | 2 +- .../subjectVariable/singleElse/multiReference.kt | 2 +- .../subjectVariable/singleElse/multiReference.kt.after | 2 +- .../singleElse/multiReferenceUsedAsExpression.kt | 2 +- .../singleElse/multiReferenceUsedAsExpression.kt.after | 2 +- .../subjectVariable/singleElse/noReference.kt | 2 +- .../subjectVariable/singleElse/noReference.kt.after | 2 +- .../singleElse/noReferenceUsedAsExpression.kt | 2 +- .../singleElse/noReferenceUsedAsExpression.kt.after | 2 +- .../singleElse/noReferenceUsedAsExpression2.kt | 2 +- .../singleElse/noReferenceUsedAsExpression2.kt.after | 2 +- .../subjectVariable/singleElse/singleReference.kt | 2 +- .../subjectVariable/singleElse/singleReference.kt.after | 2 +- .../singleElse/singleReferenceUsedAsExpression.kt | 2 +- .../singleElse/singleReferenceUsedAsExpression.kt.after | 2 +- .../property/delegate/delegate.kt | 2 +- .../property/delegate/delegate.kt.after | 2 +- .../addAnnotationUseSiteTarget/property/delegate/field.kt | 2 +- .../addAnnotationUseSiteTarget/property/delegate/file.kt | 2 +- .../addAnnotationUseSiteTarget/property/delegate/get.kt | 2 +- .../property/delegate/get.kt.after | 2 +- .../addAnnotationUseSiteTarget/property/delegate/param.kt | 2 +- .../property/delegate/property.kt | 2 +- .../property/delegate/property.kt.after | 2 +- .../property/delegate/receiver.kt | 2 +- .../addAnnotationUseSiteTarget/property/delegate/set.kt | 2 +- .../property/delegate/setparam.kt | 2 +- .../intentions/addConstModifier/removeJvmField.kt | 2 +- .../intentions/addConstModifier/removeJvmField.kt.after | 2 +- .../intentions/addConstModifier/removeJvmStatic.kt | 2 +- .../intentions/addConstModifier/removeJvmStatic.kt.after | 2 +- .../intentions/addForLoopIndices/explicitParamType.kt | 2 +- .../addForLoopIndices/explicitParamType.kt.after | 2 +- .../inapplicableDestructuringDeclaration.kt | 2 +- .../addForLoopIndices/inapplicableExistingIndices.kt | 2 +- .../intentions/addForLoopIndices/inapplicableInBody.kt | 2 +- .../intentions/addForLoopIndices/inapplicableOnMap.kt | 2 +- .../addForLoopIndices/inapplicableOverridenFunction.kt | 2 +- .../testData/intentions/addForLoopIndices/intArray.kt | 2 +- .../intentions/addForLoopIndices/intArray.kt.after | 2 +- .../testData/intentions/addForLoopIndices/iterable.kt | 2 +- .../intentions/addForLoopIndices/iterable.kt.after | 2 +- .../tests/testData/intentions/addForLoopIndices/noBody.kt | 2 +- .../testData/intentions/addForLoopIndices/noBody.kt.after | 2 +- .../testData/intentions/addForLoopIndices/objectArray.kt | 2 +- .../intentions/addForLoopIndices/objectArray.kt.after | 2 +- .../testData/intentions/addForLoopIndices/sequence.kt | 2 +- .../intentions/addForLoopIndices/sequence.kt.after | 2 +- .../intentions/addForLoopIndices/simpleIntList.kt | 2 +- .../intentions/addForLoopIndices/simpleIntList.kt.after | 2 +- .../tests/testData/intentions/addForLoopIndices/string.kt | 2 +- .../testData/intentions/addForLoopIndices/string.kt.after | 2 +- .../intentions/addFullQualifier/userTypes/TypeAlias.kt | 2 +- .../addFullQualifier/userTypes/TypeAlias.kt.after | 2 +- .../intentions/addJvmOverloads/alreadyHasAnnotation.kt | 2 +- .../tests/testData/intentions/addJvmOverloads/method.kt | 2 +- .../testData/intentions/addJvmOverloads/method.kt.after | 2 +- .../intentions/addJvmOverloads/primaryConstructor.kt | 2 +- .../addJvmOverloads/primaryConstructor.kt.after | 2 +- .../primaryConstructorWithConstructorKeyword.kt | 2 +- .../primaryConstructorWithConstructorKeyword.kt.after | 2 +- .../intentions/addJvmOverloads/secondaryConstructor.kt | 2 +- .../addJvmOverloads/secondaryConstructor.kt.after | 2 +- .../tests/testData/intentions/addJvmStatic/abstractVal.kt | 2 +- .../tests/testData/intentions/addJvmStatic/constVal.kt | 2 +- .../testData/intentions/addJvmStatic/funWithJvmStatic.kt | 2 +- .../tests/testData/intentions/addJvmStatic/openVal.kt | 2 +- .../tests/testData/intentions/addJvmStatic/overrideVal.kt | 2 +- .../testData/intentions/addJvmStatic/valWithJvmField.kt | 2 +- .../testData/intentions/addJvmStatic/valWithJvmStatic.kt | 2 +- .../addLabeledReturnInLambda/insideParenthesis.kt | 2 +- .../addLabeledReturnInLambda/insideParenthesis.kt.after | 2 +- .../intentions/addLabeledReturnInLambda/labeledLambda.kt | 2 +- .../addLabeledReturnInLambda/labeledLambda.kt.after | 2 +- .../testData/intentions/addLabeledReturnInLambda/loop.kt | 2 +- .../intentions/addLabeledReturnInLambda/multipleBlocks.kt | 2 +- .../addLabeledReturnInLambda/multipleBlocks.kt.after | 2 +- .../addLabeledReturnInLambda/multipleHighOrderFun.kt | 2 +- .../multipleHighOrderFun.kt.after | 2 +- .../addLabeledReturnInLambda/multipleHighOrderFun2.kt | 2 +- .../multipleHighOrderFun2.kt.after | 2 +- .../intentions/addLabeledReturnInLambda/normal.kt | 2 +- .../intentions/addLabeledReturnInLambda/normal.kt.after | 2 +- .../intentions/addLabeledReturnInLambda/notLast.kt | 2 +- .../addLabeledReturnInLambda/returnStatement.kt | 2 +- .../addLabeledReturnInLambda/returnStatement.kt.after | 2 +- .../intentions/addLabeledReturnInLambda/suspend.kt | 2 +- .../testData/intentions/addLabeledReturnInLambda/unit.kt | 2 +- .../addLabeledReturnInLambda/withLabeledReturn.kt | 2 +- .../intentions/addLabeledReturnInLambda/withReturn.kt | 2 +- .../testData/intentions/addNameToArgument/javaMethod.kt | 2 +- .../addNameToArgument/mixingPositionedAndNamed.kt | 2 +- .../addNameToArgument/mixingPositionedAndNamed.kt.after | 2 +- .../intentions/addNamesToCallArguments/javaMethod.kt | 2 +- .../intentions/addPropertyAccessors/both/jvmField.kt | 2 +- .../intentions/addPropertyAccessors/getter/jvmField.kt | 2 +- .../intentions/addPropertyAccessors/setter/jvmField.kt | 2 +- .../testData/intentions/addThrowsAnnotation/backticks.kt | 2 +- .../intentions/addThrowsAnnotation/backticks.kt.after | 2 +- .../intentions/addThrowsAnnotation/backticksWithThrows.kt | 2 +- .../addThrowsAnnotation/backticksWithThrows.kt.after | 2 +- .../backticksWithThrowsExceptionClasses.kt | 2 +- .../backticksWithThrowsExceptionClasses.kt.after | 2 +- .../intentions/addThrowsAnnotation/functionCall.kt | 2 +- .../intentions/addThrowsAnnotation/functionCall.kt.after | 2 +- .../hasThrowsWithDifferentClassArgument.kt | 2 +- .../hasThrowsWithDifferentClassArgument.kt.after | 2 +- .../hasThrowsWithDifferentClassArgument2.kt | 2 +- .../hasThrowsWithDifferentClassArgument2.kt.after | 2 +- .../hasThrowsWithDifferentClassArgument3.kt | 2 +- .../hasThrowsWithDifferentClassArgument3.kt.after | 2 +- .../hasThrowsWithDifferentClassArgument4.kt | 2 +- .../hasThrowsWithDifferentClassArgument4.kt.after | 2 +- .../hasThrowsWithDifferentClassArgument5.kt | 2 +- .../addThrowsAnnotation/hasThrowsWithEmptyArgument.kt | 2 +- .../hasThrowsWithEmptyArgument.kt.after | 2 +- .../addThrowsAnnotation/hasThrowsWithNoArgument.kt | 2 +- .../addThrowsAnnotation/hasThrowsWithNoArgument.kt.after | 2 +- .../addThrowsAnnotation/hasThrowsWithSameClassArgument.kt | 2 +- .../hasThrowsWithSameClassArgument2.kt | 2 +- .../hasThrowsWithSameClassArgument3.kt | 2 +- .../hasThrowsWithSameClassArgument4.kt | 2 +- .../tests/testData/intentions/addThrowsAnnotation/if.kt | 2 +- .../testData/intentions/addThrowsAnnotation/if.kt.after | 2 +- .../testData/intentions/addThrowsAnnotation/if_ni.kt | 2 +- .../intentions/addThrowsAnnotation/if_ni.kt.after | 2 +- .../intentions/addThrowsAnnotation/inConstructor.kt | 2 +- .../intentions/addThrowsAnnotation/inConstructor.kt.after | 2 +- .../testData/intentions/addThrowsAnnotation/inFunction.kt | 2 +- .../intentions/addThrowsAnnotation/inFunction.kt.after | 2 +- .../testData/intentions/addThrowsAnnotation/inGetter.kt | 2 +- .../intentions/addThrowsAnnotation/inGetter.kt.after | 2 +- .../testData/intentions/addThrowsAnnotation/inGetter2.kt | 2 +- .../intentions/addThrowsAnnotation/inGetter2.kt.after | 2 +- .../testData/intentions/addThrowsAnnotation/inInit.kt | 2 +- .../testData/intentions/addThrowsAnnotation/inLambda.kt | 2 +- .../testData/intentions/addThrowsAnnotation/inSetter.kt | 2 +- .../intentions/addThrowsAnnotation/inSetter.kt.after | 2 +- .../testData/intentions/addThrowsAnnotation/inSetter2.kt | 2 +- .../intentions/addThrowsAnnotation/inSetter2.kt.after | 2 +- .../intentions/addThrowsAnnotation/localException.kt | 2 +- .../intentions/addWhenRemainingBranches/emptyWhen.kt | 2 +- .../addWhenRemainingBranches/emptyWhen.kt.after | 2 +- .../intentions/addWhenRemainingBranches/noElse.kt | 2 +- .../intentions/addWhenRemainingBranches/noElse.kt.after | 2 +- .../intentions/addWhenRemainingBranches/simple.kt | 2 +- .../intentions/addWhenRemainingBranches/simple.kt.after | 2 +- .../branched/doubleBangToIfThen/callExpression.kt | 2 +- .../branched/doubleBangToIfThen/callExpression.kt.after | 2 +- .../branched/doubleBangToIfThen/callExpressionParens.kt | 2 +- .../doubleBangToIfThen/callExpressionParens.kt.after | 2 +- .../doubleBangToIfThen/exceptionTextEscapesQuotes.kt | 2 +- .../exceptionTextEscapesQuotes.kt.after | 2 +- .../doubleBangToIfThen/exceptionTextHandlesMultiline.kt | 2 +- .../exceptionTextHandlesMultiline.kt.after | 2 +- .../intentions/branched/doubleBangToIfThen/localVal.kt | 2 +- .../branched/doubleBangToIfThen/localVal.kt.after | 2 +- .../intentions/branched/doubleBangToIfThen/localVar.kt | 2 +- .../branched/doubleBangToIfThen/localVar.kt.after | 2 +- .../doubleBangToIfThen/replaceParentExpression.kt | 2 +- .../doubleBangToIfThen/replaceParentExpression.kt.after | 2 +- .../doubleBangToIfThen/replaceParentExpression2.kt | 2 +- .../doubleBangToIfThen/replaceParentExpression2.kt.after | 2 +- .../doubleBangToIfThen/replaceParentExpression3.kt | 2 +- .../doubleBangToIfThen/replaceParentExpression3.kt.after | 2 +- .../doubleBangToIfThen/simpleNameExpressionInParens.kt | 2 +- .../simpleNameExpressionInParens.kt.after | 2 +- .../intentions/branched/doubleBangToIfThen/topLevelVal.kt | 2 +- .../branched/doubleBangToIfThen/topLevelVal.kt.after | 2 +- .../doubleBangToIfThen/topLevelValCustomGetter.kt | 2 +- .../doubleBangToIfThen/topLevelValCustomGetter.kt.after | 2 +- .../intentions/branched/doubleBangToIfThen/topLevelVar.kt | 2 +- .../branched/doubleBangToIfThen/topLevelVar.kt.after | 2 +- .../doubleBangToIfThen/topLevelVarCustomGetter.kt | 2 +- .../doubleBangToIfThen/topLevelVarCustomGetter.kt.after | 2 +- .../branched/doubleBangToIfThen/usedInAssignment.kt | 2 +- .../branched/doubleBangToIfThen/usedInAssignment.kt.after | 2 +- .../branched/elvisToIfThen/assignmentAndError.kt | 2 +- .../branched/elvisToIfThen/assignmentAndError.kt.after | 2 +- .../branched/elvisToIfThen/assignmentAndThrow.kt | 2 +- .../branched/elvisToIfThen/assignmentAndThrow.kt.after | 2 +- .../branched/ifWhen/ifToWhen/withInternalLoop.kt | 2 +- .../branched/ifWhen/ifToWhen/withInternalLoop.kt.after | 2 +- .../branched/ifWhen/ifToWhen/withInternalLoopOnly.kt | 2 +- .../ifWhen/ifToWhen/withInternalLoopOnly.kt.after | 2 +- .../branched/ifWhen/ifToWhen/withLoopOriginal.kt | 2 +- .../branched/ifWhen/ifToWhen/withLoopOriginal.kt.after | 2 +- .../intentions/branched/safeAccessToIfThen/let.kt | 2 +- .../intentions/branched/safeAccessToIfThen/let.kt.after | 2 +- .../intentions/branched/safeAccessToIfThen/let2.kt | 2 +- .../intentions/branched/safeAccessToIfThen/let2.kt.after | 2 +- .../intentions/branched/safeAccessToIfThen/let3.kt | 2 +- .../intentions/branched/safeAccessToIfThen/let3.kt.after | 2 +- .../branched/safeAccessToIfThen/letNotRedundant.kt | 2 +- .../branched/safeAccessToIfThen/letNotRedundant.kt.after | 2 +- .../branched/safeAccessToIfThen/letTopLevelVar.kt | 2 +- .../branched/safeAccessToIfThen/letTopLevelVar.kt.after | 2 +- .../branched/unfolding/returnToIf/ifWithNothing.kt | 2 +- .../branched/unfolding/returnToIf/ifWithNothing.kt.after | 2 +- .../branched/unfolding/returnToIf/labeledReturn.kt | 2 +- .../branched/unfolding/returnToIf/labeledReturn.kt.after | 2 +- .../branched/unfolding/returnToWhen/labeledReturn.kt | 2 +- .../unfolding/returnToWhen/labeledReturn.kt.after | 2 +- .../branched/unfolding/returnToWhen/whenWithNothing.kt | 2 +- .../unfolding/returnToWhen/whenWithNothing.kt.after | 2 +- .../internal/hasJvmFieldInInterfaceCompanion.kt | 2 +- .../internal/hasJvmFieldInInterfaceObject.kt | 2 +- .../internal/hasJvmFieldInInterfaceObject.kt.after | 2 +- .../intentions/changeVisibility/private/jvmField.kt | 2 +- .../intentions/convertArgumentToSet/infixIntersect.kt | 2 +- .../convertArgumentToSet/infixIntersect.kt.after | 2 +- .../intentions/convertArgumentToSet/infixSubtract.kt | 2 +- .../convertArgumentToSet/infixSubtract.kt.after | 2 +- .../convertArgumentToSet/iterableMinusArrayListOf.kt | 2 +- .../iterableMinusArrayListOf.kt.after | 2 +- .../convertArgumentToSet/iterableMinusArrayOfIndirect.kt | 2 +- .../convertArgumentToSet/iterableMinusArrayOfQualified.kt | 2 +- .../iterableMinusListOfImportAlias.kt | 2 +- .../convertArgumentToSet/iterableMinusListOfIndirect.kt | 2 +- .../convertArgumentToSet/iterableMinusListOfQualified.kt | 2 +- .../convertArgumentToSet/iterableMinusListOfShadowed.kt | 2 +- .../iterableMinusListOfShadowed.kt.after | 2 +- .../convertArgumentToSet/iterableMinusMutableListOf.kt | 2 +- .../iterableMinusMutableListOf.kt.after | 2 +- .../iterableMinusSequenceOfIndirect.kt | 2 +- .../iterableMinusSequenceOfIndirectQualified.kt | 2 +- .../convertArgumentToSet/listOfInferredConstant.kt | 2 +- .../convertArgumentToSet/listOfLargeArgumentCount.kt | 2 +- .../listOfLargeArgumentCount.kt.after | 2 +- .../convertArgumentToSet/listOfThresholdArgumentCount.kt | 2 +- .../listOfWithSomeNonConstantArguments.kt | 2 +- .../listOfWithSomeNonConstantArguments.kt.after | 2 +- .../convertArgumentToSet/outerScopeArgumentValue.kt | 2 +- .../convertArgumentToSet/outerScopeArgumentValue.kt.after | 2 +- .../intentions/convertArgumentToSet/outerScopeListOf.kt | 2 +- .../convertArgumentToSet/outerScopeMutableListOf.kt | 2 +- .../convertArgumentToSet/outerScopeMutableListOf.kt.after | 2 +- .../convertArgumentToSet/shadowedFunctionName.kt | 2 +- .../intentions/convertArrayParameterToVararg/inLambda.kt | 2 +- .../keepArrayListCallWithArgument.kt | 2 +- .../replaceArrayListCall.kt | 2 +- .../replaceArrayListCall.kt.after | 2 +- .../replaceArrayListCallQualified.kt | 2 +- .../replaceArrayListCallQualified.kt.after | 2 +- .../replaceArrayListCallWithType.kt | 2 +- .../replaceArrayListCallWithType.kt.after | 2 +- .../replaceHashMapCall.kt | 2 +- .../replaceHashMapCall.kt.after | 2 +- .../replaceHashSetCall.kt | 2 +- .../replaceHashSetCall.kt.after | 2 +- .../replaceLinkedHashSetCall.kt | 2 +- .../replaceLinkedHashSetCall.kt.after | 2 +- .../intentions/convertConcatenationToBuildString/basic.kt | 2 +- .../convertConcatenationToBuildString/basic.kt.after | 2 +- .../convertConcatenationToBuildString/withComments.kt | 2 +- .../withComments.kt.after | 2 +- .../convertConcatenationToBuildString/withComments2.kt | 2 +- .../withComments2.kt.after | 2 +- .../convertConcatenationToBuildString/withComments3.kt | 2 +- .../withComments3.kt.after | 2 +- .../convertEnumToSealedClass/entriesAndMembers.kt | 2 +- .../convertEnumToSealedClass/entriesAndMembers.kt.after | 2 +- .../intentions/convertEnumToSealedClass/entriesOnly.kt | 2 +- .../convertEnumToSealedClass/entriesOnly.kt.after | 2 +- .../intentions/convertEnumToSealedClass/membersOnly.kt | 2 +- .../convertEnumToSealedClass/membersOnly.kt.after | 2 +- .../anyToAll/toAll/simple.kt | 2 +- .../anyToAll/toAll/simple.kt.after | 2 +- .../anyToAll/toAny/simple.kt | 2 +- .../anyToAll/toAny/simple.kt.after | 2 +- .../anyToNone/toAny/simple.kt | 2 +- .../anyToNone/toAny/simple.kt.after | 2 +- .../anyToNone/toNone/simple.kt | 2 +- .../anyToNone/toNone/simple.kt.after | 2 +- .../callToOpposite/allToNone/array.kt | 2 +- .../callToOpposite/allToNone/array.kt.after | 2 +- .../callToOpposite/allToNone/lambdaInParentheses.kt | 2 +- .../callToOpposite/allToNone/lambdaInParentheses.kt.after | 2 +- .../callToOpposite/allToNone/predicate/isNotEmpty.kt | 2 +- .../allToNone/predicate/isNotEmpty.kt.after | 2 +- .../callToOpposite/allToNone/predicate/not.kt | 2 +- .../callToOpposite/allToNone/predicate/not.kt.after | 2 +- .../callToOpposite/allToNone/predicate/notOr.kt | 2 +- .../callToOpposite/allToNone/predicate/notOr.kt.after | 2 +- .../callToOpposite/allToNone/predicate/or.kt | 2 +- .../callToOpposite/allToNone/predicate/or.kt.after | 2 +- .../callToOpposite/allToNone/predicate/simple.kt | 2 +- .../callToOpposite/allToNone/predicate/simple.kt.after | 2 +- .../callToOpposite/allToNone/sequence.kt | 2 +- .../callToOpposite/allToNone/sequence.kt.after | 2 +- .../callToOpposite/allToNone/simple.kt | 2 +- .../callToOpposite/allToNone/simple.kt.after | 2 +- .../callToOpposite/filterNotToFilter/simple.kt | 2 +- .../callToOpposite/filterNotToFilter/simple.kt.after | 2 +- .../callToOpposite/filterNotToFilter/simple2.kt | 2 +- .../callToOpposite/filterNotToFilter/simple2.kt.after | 2 +- .../callToOpposite/filterNotToToFilterTo/simple.kt | 2 +- .../callToOpposite/filterNotToToFilterTo/simple.kt.after | 2 +- .../callToOpposite/filterToFilterNot/simple.kt | 2 +- .../callToOpposite/filterToFilterNot/simple.kt.after | 2 +- .../callToOpposite/filterToFilterNot/simple2.kt | 2 +- .../callToOpposite/filterToFilterNot/simple2.kt.after | 2 +- .../callToOpposite/filterToToFilterNotTo/simple.kt | 2 +- .../callToOpposite/filterToToFilterNotTo/simple.kt.after | 2 +- .../callToOpposite/noneToAll/simple.kt | 2 +- .../callToOpposite/noneToAll/simple.kt.after | 2 +- .../callToOpposite/takeIfToTakeUnless/simple.kt | 2 +- .../callToOpposite/takeIfToTakeUnless/simple.kt.after | 2 +- .../callToOpposite/takeUnlessToTakeIf/simple.kt | 2 +- .../callToOpposite/takeUnlessToTakeIf/simple.kt.after | 2 +- .../intentions/convertForEachToForLoop/complexReceiver.kt | 2 +- .../convertForEachToForLoop/complexReceiver.kt.after | 2 +- .../convertForEachToForLoop/explicitFunctionLiteral.kt | 2 +- .../explicitFunctionLiteral.kt.after | 2 +- .../intentions/convertForEachToForLoop/extraArguments.kt | 2 +- .../implicitFunctionLiteralParameter.kt | 2 +- .../implicitFunctionLiteralParameter.kt.after | 2 +- .../intentions/convertForEachToForLoop/infixCall.kt | 2 +- .../intentions/convertForEachToForLoop/infixCall.kt.after | 2 +- .../convertForEachToForLoop/infixCallNotAvailable.kt | 2 +- .../intentions/convertForEachToForLoop/keepComments.kt | 2 +- .../convertForEachToForLoop/keepComments.kt.after | 2 +- .../convertForEachToForLoop/parenthesizedExpression.kt | 2 +- .../parenthesizedExpression.kt.after | 2 +- .../testData/intentions/convertForEachToForLoop/simple.kt | 2 +- .../intentions/convertForEachToForLoop/simple.kt.after | 2 +- .../convertForEachToForLoop/simpleCharSequence.kt | 2 +- .../convertForEachToForLoop/simpleCharSequence.kt.after | 2 +- .../intentions/convertForEachToForLoop/simpleSequence.kt | 2 +- .../convertForEachToForLoop/simpleSequence.kt.after | 2 +- .../convertForEachToForLoop/typeArgumentPresent.kt | 2 +- .../convertForEachToForLoop/typeArgumentPresent.kt.after | 2 +- .../intentions/convertForEachToForLoop/userDefined.kt | 2 +- .../convertForEachToForLoop/withNestedReturn.kt | 2 +- .../convertForEachToForLoop/withNestedReturn.kt.after | 2 +- .../intentions/convertForEachToForLoop/withReturn.kt | 2 +- .../convertForEachToForLoop/withReturn.kt.after | 2 +- .../intentions/convertForEachToForLoop/zeroArguments.kt | 2 +- .../intentions/convertFunctionToProperty/invoke.kt | 2 +- .../intentions/convertFunctionToProperty/iterator.kt | 2 +- .../intentions/convertFunctionToProperty/nothingFun.kt | 2 +- .../intentions/convertFunctionToProperty/otherRefs.kt | 2 +- .../convertFunctionToProperty/otherRefs.kt.after | 2 +- .../intentions/convertFunctionToProperty/otherRefsGet.kt | 2 +- .../convertFunctionToProperty/otherRefsGet.kt.after | 2 +- .../intentions/convertFunctionToProperty/otherRefsIs.kt | 2 +- .../convertFunctionToProperty/otherRefsIs.kt.after | 2 +- .../convertFunctionToProperty/recursiveFunction.kt | 2 +- .../convertFunctionToProperty/recursiveFunction.kt.after | 2 +- .../intentions/convertFunctionToProperty/unaryOp.kt | 2 +- .../convertFunctionToProperty/unchangedElements.kt | 2 +- .../convertFunctionToProperty/unchangedElements.kt.after | 2 +- .../intentions/convertFunctionToProperty/unitFun.kt | 2 +- .../intentions/convertLambdaToMultiLine/multiLine.kt | 2 +- .../intentions/convertLambdaToMultiLine/simple.kt | 2 +- .../intentions/convertLambdaToMultiLine/simple.kt.after | 2 +- .../intentions/convertLambdaToMultiLine/simple2.kt | 2 +- .../intentions/convertLambdaToMultiLine/simple2.kt.after | 2 +- .../intentions/convertLambdaToMultiLine/simple3.kt | 2 +- .../intentions/convertLambdaToMultiLine/simple3.kt.after | 2 +- .../intentions/convertLambdaToMultiLine/simple4.kt | 2 +- .../intentions/convertLambdaToMultiLine/simple4.kt.after | 2 +- .../intentions/convertLambdaToMultiLine/simple5.kt | 2 +- .../intentions/convertLambdaToMultiLine/simple5.kt.after | 2 +- .../intentions/convertLambdaToMultiLine/simple6.kt | 2 +- .../intentions/convertLambdaToMultiLine/simple6.kt.after | 2 +- .../convertLambdaToReference/backtickEscaped.kt | 2 +- .../convertLambdaToReference/backtickEscaped.kt.after | 2 +- .../convertLambdaToReference/backtickWithBuck.kt | 2 +- .../convertLambdaToReference/backtickWithBuck.kt.after | 2 +- .../intentions/convertLambdaToReference/companion.kt | 2 +- .../convertLambdaToReference/companion.kt.after | 2 +- .../intentions/convertLambdaToReference/constructor.kt | 2 +- .../convertLambdaToReference/constructor.kt.after | 2 +- .../intentions/convertLambdaToReference/conversion.kt | 2 +- .../convertLambdaToReference/conversion.kt.after | 2 +- .../convertLambdaToReference/defaultBeforeLambda.kt | 2 +- .../convertLambdaToReference/defaultBeforeLambda.kt.after | 2 +- .../intentions/convertLambdaToReference/doubleChained.kt | 2 +- .../convertLambdaToReference/doubleChained.kt.after | 2 +- .../intentions/convertLambdaToReference/emptyBrackets.kt | 2 +- .../convertLambdaToReference/emptyBrackets.kt.after | 2 +- .../convertLambdaToReference/extensionOuterScope.kt | 2 +- .../convertLambdaToReference/extensionOuterScope.kt.after | 2 +- .../intentions/convertLambdaToReference/generic2.kt | 2 +- .../intentions/convertLambdaToReference/generic2.kt.after | 2 +- .../intentions/convertLambdaToReference/generic3.kt | 2 +- .../intentions/convertLambdaToReference/generic3.kt.after | 2 +- .../intentions/convertLambdaToReference/generic4.kt | 2 +- .../intentions/convertLambdaToReference/generic4.kt.after | 2 +- .../testData/intentions/convertLambdaToReference/mapTo.kt | 2 +- .../intentions/convertLambdaToReference/mapTo.kt.after | 2 +- .../intentions/convertLambdaToReference/mapToFqName.kt | 2 +- .../convertLambdaToReference/mapToFqName.kt.after | 2 +- .../convertLambdaToReference/memberInLambdaArgument.kt | 2 +- .../memberInLambdaArgument.kt.after | 2 +- .../convertLambdaToReference/memberInScopeFunction.kt | 2 +- .../memberInScopeFunction.kt.after | 2 +- .../convertLambdaToReference/memberInScopeFunction2.kt | 2 +- .../memberInScopeFunction2.kt.after | 2 +- .../convertLambdaToReference/memberOuterScope.kt | 2 +- .../convertLambdaToReference/memberOuterScope.kt.after | 2 +- .../intentions/convertLambdaToReference/nestedLambda.kt | 2 +- .../convertLambdaToReference/nestedLambdaWithReceiver.kt | 2 +- .../nestedLambdaWithReceiver.kt.after | 2 +- .../intentions/convertLambdaToReference/platformType.kt | 2 +- .../convertLambdaToReference/platformType.kt.after | 2 +- .../convertLambdaToReference/receiverParameter3.kt | 2 +- .../intentions/convertLambdaToReference/suspendFun.kt | 2 +- .../convertLambdaToReference/syntheticProperty.kt | 2 +- .../intentions/convertLambdaToReference/typeAlias.kt | 2 +- .../convertLambdaToReference/typeAlias.kt.after | 2 +- .../convertLambdaToReference/typeAliasGenericInstance.kt | 2 +- .../typeAliasGenericInstance.kt.after | 2 +- .../intentions/convertLambdaToReference/typeFromJava.kt | 2 +- .../convertLambdaToReference/typeFromJava.kt.after | 2 +- .../typeFromJavaFlexibleRecursive.kt | 2 +- .../typeFromJavaFlexibleRecursive.kt.after | 2 +- .../intentions/convertLambdaToReference/unwrap.kt | 2 +- .../intentions/convertLambdaToReference/unwrap.kt.after | 2 +- .../intentions/convertLambdaToReference/varargFunction.kt | 2 +- .../convertLambdaToReference/varargFunction2.kt | 2 +- .../convertLambdaToReference/varargFunction2.kt.after | 2 +- .../version1_1/extensionOuterScope.kt | 2 +- .../version1_1/extensionOuterScope.kt.after | 2 +- .../version1_1/memberInLambdaArgument.kt | 2 +- .../version1_1/memberInLambdaArgument.kt.after | 2 +- .../version1_1/memberInScopeFunction.kt | 2 +- .../version1_1/memberInScopeFunction.kt.after | 2 +- .../version1_1/memberInScopeFunction2.kt | 2 +- .../version1_1/memberInScopeFunction2.kt.after | 2 +- .../version1_1/memberOuterScope.kt | 2 +- .../version1_1/memberOuterScope.kt.after | 2 +- .../intentions/convertLambdaToSingleLine/hasEolComment.kt | 2 +- .../intentions/convertLambdaToSingleLine/multiLineBody.kt | 2 +- .../convertLambdaToSingleLine/multiLineBody2.kt | 2 +- .../convertLambdaToSingleLine/multiLineBody2.kt.after | 2 +- .../convertLambdaToSingleLine/multiLineBody3.kt | 2 +- .../convertLambdaToSingleLine/multiLineBody3.kt.after | 2 +- .../intentions/convertLambdaToSingleLine/simple.kt | 2 +- .../intentions/convertLambdaToSingleLine/simple.kt.after | 2 +- .../intentions/convertLambdaToSingleLine/simple2.kt | 2 +- .../intentions/convertLambdaToSingleLine/simple2.kt.after | 2 +- .../intentions/convertLambdaToSingleLine/simple3.kt | 2 +- .../intentions/convertLambdaToSingleLine/simple3.kt.after | 2 +- .../intentions/convertLambdaToSingleLine/simple4.kt | 2 +- .../intentions/convertLambdaToSingleLine/simple4.kt.after | 2 +- .../intentions/convertLambdaToSingleLine/simple5.kt | 2 +- .../intentions/convertLambdaToSingleLine/simple5.kt.after | 2 +- .../intentions/convertLambdaToSingleLine/simple6.kt | 2 +- .../intentions/convertLambdaToSingleLine/simple6.kt.after | 2 +- .../intentions/convertLambdaToSingleLine/singleLine.kt | 2 +- .../intentions/convertLazyPropertyToOrdinary/comment.kt | 2 +- .../convertLazyPropertyToOrdinary/comment.kt.after | 2 +- .../convertLazyPropertyToOrdinary/multiStatement.kt | 2 +- .../convertLazyPropertyToOrdinary/multiStatement.kt.after | 2 +- .../convertLazyPropertyToOrdinary/noStatement.kt | 2 +- .../convertLazyPropertyToOrdinary/singleStatement.kt | 2 +- .../singleStatement.kt.after | 2 +- .../convertLazyPropertyToOrdinary/singleStatement2.kt | 2 +- .../singleStatement2.kt.after | 2 +- .../intentions/convertLazyPropertyToOrdinary/var.kt | 2 +- .../intentions/convertLazyPropertyToOrdinary/var.kt.after | 2 +- .../convertNullablePropertyToLateinit/unsignedInt.kt | 2 +- .../intentions/convertOrdinaryPropertyToLazy/basic.kt | 2 +- .../convertOrdinaryPropertyToLazy/basic.kt.after | 2 +- .../intentions/convertOrdinaryPropertyToLazy/run.kt | 2 +- .../intentions/convertOrdinaryPropertyToLazy/run.kt.after | 2 +- .../explicitThisForAnonymousObject.kt | 2 +- .../explicitThisForAnonymousObject.kt.after | 2 +- .../explicitThisForExtension.kt | 2 +- .../explicitThisForExtension.kt.after | 2 +- .../intentions/convertParameterToReceiver/memberFun.kt | 2 +- .../convertParameterToReceiver/memberFun.kt.after | 2 +- .../parameterOfObjectFunction.kt | 2 +- .../parameterOfObjectFunction.kt.after | 2 +- .../convertPrimaryConstructorToSecondary/vararg.kt | 2 +- .../convertPrimaryConstructorToSecondary/vararg.kt.after | 2 +- .../convertPrimaryConstructorToSecondary/varargVal.kt | 2 +- .../varargVal.kt.after | 2 +- .../intentions/convertPropertyGetterToInitializer/run.kt | 2 +- .../convertPropertyGetterToInitializer/run.kt.after | 2 +- .../convertPropertyInitializerToGetter/jvmField.kt | 2 +- .../convertPropertyInitializerToGetter/notInLambda.kt | 2 +- .../convertPropertyToFunction/delegatingProperty.kt | 2 +- .../intentions/convertPropertyToFunction/jvmField.kt | 2 +- .../intentions/convertPropertyToFunction/otherRefs.kt | 2 +- .../convertPropertyToFunction/otherRefs.kt.after | 2 +- .../convertPropertyToFunction/recursiveAccessor.kt | 2 +- .../convertPropertyToFunction/recursiveAccessor.kt.after | 2 +- .../convertPropertyToFunction/sameNameFunAsStdlibFun.kt | 2 +- .../sameNameFunAsStdlibFun.kt.after | 2 +- .../convertPropertyToFunction/unchangedElements.kt | 2 +- .../convertPropertyToFunction/unchangedElements.kt.after | 2 +- .../convertRangeCheckToTwoComparisons/double.kt | 2 +- .../convertRangeCheckToTwoComparisons/double.kt.after | 2 +- .../convertRangeCheckToTwoComparisons/otherOp.kt | 2 +- .../explicitThisForExtension.kt | 2 +- .../explicitThisForExtension.kt.after | 2 +- .../intentions/convertReceiverToParameter/memberFun.kt | 2 +- .../convertReceiverToParameter/memberFun.kt.after | 2 +- .../intentions/convertReceiverToParameter/replaceThis.kt | 2 +- .../convertReceiverToParameter/replaceThis.kt.after | 2 +- .../intentions/convertReceiverToParameter/thisCall.kt | 2 +- .../convertReceiverToParameter/thisCall.kt.after | 2 +- .../testData/intentions/convertReferenceToLambda/apply.kt | 2 +- .../intentions/convertReferenceToLambda/apply.kt.after | 2 +- .../intentions/convertReferenceToLambda/companion.kt | 2 +- .../convertReferenceToLambda/companion.kt.after | 2 +- .../convertReferenceToLambda/companionNoImport.kt | 2 +- .../convertReferenceToLambda/companionNoImport.kt.after | 2 +- .../intentions/convertReferenceToLambda/constructor.kt | 2 +- .../convertReferenceToLambda/constructor.kt.after | 2 +- .../intentions/convertReferenceToLambda/conversion.kt | 2 +- .../convertReferenceToLambda/conversion.kt.after | 2 +- .../convertReferenceToLambda/extensionWithoutQualifier.kt | 2 +- .../extensionWithoutQualifier.kt.after | 2 +- .../extensionWithoutQualifier2.kt | 2 +- .../extensionWithoutQualifier2.kt.after | 2 +- .../extensionWithoutQualifier3.kt | 2 +- .../extensionWithoutQualifier3.kt.after | 2 +- .../extensionWithoutReferenceToThis.kt | 2 +- .../extensionWithoutReferenceToThis.kt.after | 2 +- .../intentions/convertReferenceToLambda/itClash.kt | 2 +- .../intentions/convertReferenceToLambda/itClash.kt.after | 2 +- .../intentions/convertReferenceToLambda/length.kt | 2 +- .../intentions/convertReferenceToLambda/length.kt.after | 2 +- .../convertReferenceToLambda/nestedLambdaWithReceiver.kt | 2 +- .../nestedLambdaWithReceiver.kt.after | 2 +- .../intentions/convertReferenceToLambda/object.kt | 2 +- .../intentions/convertReferenceToLambda/object.kt.after | 2 +- .../intentions/convertReferenceToLambda/static.kt | 2 +- .../intentions/convertReferenceToLambda/static.kt.after | 2 +- .../intentions/convertReferenceToLambda/unwrap.kt | 2 +- .../intentions/convertReferenceToLambda/unwrap.kt.after | 2 +- .../convertSealedClassToEnum/instancesAndMembers.kt | 2 +- .../convertSealedClassToEnum/instancesAndMembers.kt.after | 2 +- .../intentions/convertSealedClassToEnum/instancesOnly.kt | 2 +- .../convertSealedClassToEnum/instancesOnly.kt.after | 2 +- .../convertSecondaryConstructorToPrimary/varArg.kt | 2 +- .../convertSecondaryConstructorToPrimary/varArg.kt.after | 2 +- .../convertSecondaryConstructorToPrimary/varargVal.kt | 2 +- .../varargVal.kt.after | 2 +- .../convertStringTemplateToBuildString/argument.kt | 2 +- .../convertStringTemplateToBuildString/argument.kt.after | 2 +- .../convertStringTemplateToBuildString/basic.kt | 2 +- .../convertStringTemplateToBuildString/basic.kt.after | 2 +- .../convertStringTemplateToBuildString/basic2.kt | 2 +- .../convertStringTemplateToBuildString/basic2.kt.after | 2 +- .../convertStringTemplateToBuildString/basic3.kt | 2 +- .../convertStringTemplateToBuildString/basic3.kt.after | 2 +- .../convertStringTemplateToBuildString/empty.kt | 2 +- .../convertStringTemplateToBuildString/empty.kt.after | 2 +- .../convertStringTemplateToBuildString/slashBuck.kt | 2 +- .../convertStringTemplateToBuildString/slashBuck.kt.after | 2 +- .../intentions/convertToBlockBody/funWithThrow.kt | 2 +- .../intentions/convertToBlockBody/funWithThrow.kt.after | 2 +- .../intentions/convertToBlockBody/getterWithThrow.kt | 2 +- .../convertToBlockBody/getterWithThrow.kt.after | 2 +- .../intentions/convertToBlockBody/implicitlyNonUnitFun.kt | 2 +- .../convertToBlockBody/implicitlyNonUnitFun.kt.after | 2 +- .../testData/intentions/convertToBlockBody/nothingFun.kt | 2 +- .../intentions/convertToBlockBody/nothingFun.kt.after | 2 +- .../convertToBlockBody/overrideWithPlatformType.kt | 2 +- .../convertToBlockBody/overrideWithPlatformType.kt.after | 2 +- .../convertToBlockBody/valueIsAnonymousObject4.kt | 2 +- .../convertToBlockBody/valueIsAnonymousObject4.kt.after | 2 +- .../convertToConcatenatedString/interpolateMapAccess.kt | 2 +- .../interpolateMapAccess.kt.after | 2 +- .../interpolateMethodInvoke.kt | 2 +- .../interpolateMethodInvoke.kt.after | 2 +- .../convertToConcatenatedString/withAndWithoutBraces.kt | 2 +- .../withAndWithoutBraces.kt.after | 2 +- .../binaryExpressionLoopRange.kt | 2 +- .../binaryExpressionLoopRange.kt.after | 2 +- .../convertToForEachFunctionCall/blockBodyExpression.kt | 2 +- .../blockBodyExpression.kt.after | 2 +- .../convertToForEachFunctionCall/blockCommentOnly.kt | 2 +- .../blockCommentOnly.kt.after | 2 +- .../convertToForEachFunctionCall/commentsInBody.kt | 2 +- .../convertToForEachFunctionCall/commentsInBody.kt.after | 2 +- .../convertToForEachFunctionCall/commentsInBody2.kt | 2 +- .../convertToForEachFunctionCall/commentsInBody2.kt.after | 2 +- .../convertToForEachFunctionCall/commentsOutsideBody.kt | 2 +- .../commentsOutsideBody.kt.after | 2 +- .../continueToReturnWithLabel.kt | 2 +- .../continueToReturnWithLabel.kt.after | 2 +- .../continueToReturnWithoutLabel.kt | 2 +- .../continueToReturnWithoutLabel.kt.after | 2 +- .../intentions/convertToForEachFunctionCall/emptyBody.kt | 2 +- .../convertToForEachFunctionCall/emptyBody.kt.after | 2 +- .../convertToForEachFunctionCall/endOfLineComment1.kt | 2 +- .../endOfLineComment1.kt.after | 2 +- .../convertToForEachFunctionCall/endOfLineComment2.kt | 2 +- .../endOfLineComment2.kt.after | 2 +- .../convertToForEachFunctionCall/endOfLineComment3.kt | 2 +- .../endOfLineComment3.kt.after | 2 +- .../iterativeElementTypeSpecified.kt | 2 +- .../iterativeElementTypeSpecified.kt.after | 2 +- .../convertToForEachFunctionCall/noCurlyBraces.kt | 2 +- .../convertToForEachFunctionCall/noCurlyBraces.kt.after | 2 +- .../convertToForEachFunctionCall/noStatements.kt | 2 +- .../convertToForEachFunctionCall/noStatements.kt.after | 2 +- .../intentions/convertToForEachFunctionCall/simple.kt | 2 +- .../convertToForEachFunctionCall/simple.kt.after | 2 +- .../typeAnnotatedWithNonBlockBody.kt | 2 +- .../typeAnnotatedWithNonBlockBody.kt.after | 2 +- .../convertToIndexedFunctionCall/basic/filter.kt | 2 +- .../convertToIndexedFunctionCall/basic/filter.kt.after | 2 +- .../convertToIndexedFunctionCall/basic/filterTo.kt | 2 +- .../convertToIndexedFunctionCall/basic/filterTo.kt.after | 2 +- .../intentions/convertToIndexedFunctionCall/basic/fold.kt | 2 +- .../convertToIndexedFunctionCall/basic/fold.kt.after | 2 +- .../convertToIndexedFunctionCall/basic/foldRight.kt | 2 +- .../convertToIndexedFunctionCall/basic/foldRight.kt.after | 2 +- .../convertToIndexedFunctionCall/basic/forEach.kt | 2 +- .../convertToIndexedFunctionCall/basic/forEach.kt.after | 2 +- .../intentions/convertToIndexedFunctionCall/basic/map.kt | 2 +- .../convertToIndexedFunctionCall/basic/map.kt.after | 2 +- .../convertToIndexedFunctionCall/basic/mapNotNull.kt | 2 +- .../basic/mapNotNull.kt.after | 2 +- .../convertToIndexedFunctionCall/basic/mapNotNullTo.kt | 2 +- .../basic/mapNotNullTo.kt.after | 2 +- .../convertToIndexedFunctionCall/basic/mapTo.kt | 2 +- .../convertToIndexedFunctionCall/basic/mapTo.kt.after | 2 +- .../convertToIndexedFunctionCall/basic/onEach.kt | 2 +- .../convertToIndexedFunctionCall/basic/onEach.kt.after | 2 +- .../convertToIndexedFunctionCall/basic/reduce.kt | 2 +- .../convertToIndexedFunctionCall/basic/reduce.kt.after | 2 +- .../convertToIndexedFunctionCall/basic/reduceOrNull.kt | 2 +- .../basic/reduceOrNull.kt.after | 2 +- .../convertToIndexedFunctionCall/basic/reduceRight.kt | 2 +- .../basic/reduceRight.kt.after | 2 +- .../basic/reduceRightOrNull.kt | 2 +- .../basic/reduceRightOrNull.kt.after | 2 +- .../convertToIndexedFunctionCall/basic/runningFold.kt | 2 +- .../basic/runningFold.kt.after | 2 +- .../convertToIndexedFunctionCall/basic/runningReduce.kt | 2 +- .../basic/runningReduce.kt.after | 2 +- .../intentions/convertToIndexedFunctionCall/basic/scan.kt | 2 +- .../convertToIndexedFunctionCall/basic/scan.kt.after | 2 +- .../convertToIndexedFunctionCall/basic/scanReduce.kt | 2 +- .../basic/scanReduce.kt.after | 2 +- .../intentions/convertToIndexedFunctionCall/extension.kt | 2 +- .../convertToIndexedFunctionCall/extension.kt.after | 2 +- .../convertToIndexedFunctionCall/hasIndexParameter.kt | 2 +- .../hasIndexParameter.kt.after | 2 +- .../convertToIndexedFunctionCall/hasIndexVariable.kt | 2 +- .../hasIndexVariable.kt.after | 2 +- .../hasIndexVariableInLambda.kt | 2 +- .../hasIndexVariableInLambda.kt.after | 2 +- .../convertToIndexedFunctionCall/labeledReturn.kt | 2 +- .../convertToIndexedFunctionCall/labeledReturn.kt.after | 2 +- .../convertToIndexedFunctionCall/labeledReturn2.kt | 2 +- .../convertToIndexedFunctionCall/labeledReturn2.kt.after | 2 +- .../convertToIndexedFunctionCall/lambdaInParentheses.kt | 2 +- .../lambdaInParentheses.kt.after | 2 +- .../convertToIndexedFunctionCall/noLambdaParameter.kt | 2 +- .../noLambdaParameter.kt.after | 2 +- .../convertToScope/convertToAlso/callExpression.kt | 2 +- .../convertToScope/convertToAlso/callExpression.kt.after | 2 +- .../convertToScope/convertToAlso/callExpression2.kt | 2 +- .../convertToScope/convertToAlso/callExpression2.kt.after | 2 +- .../convertToScope/convertToAlso/callExpression3.kt | 2 +- .../convertToScope/convertToAlso/callExpression3.kt.after | 2 +- .../convertToScope/convertToAlso/callExpression4.kt | 2 +- .../convertToScope/convertToAlso/callExpression5.kt | 2 +- .../convertToScope/convertToAlso/callExpression5.kt.after | 2 +- .../convertToScope/convertToAlso/itParameter.kt | 2 +- .../convertToScope/convertToAlso/itParameter2.kt | 2 +- .../convertToScope/convertToAlso/methodChain.kt | 2 +- .../convertToScope/convertToAlso/methodChain.kt.after | 2 +- .../convertToAlso/methodChainWithItParameter.kt | 2 +- .../convertToAlso/methodChainWithThisParameter.kt | 2 +- .../convertToAlso/methodChainWithThisParameter.kt.after | 2 +- .../intentions/convertToScope/convertToAlso/normal.kt | 2 +- .../convertToScope/convertToAlso/normal.kt.after | 2 +- .../intentions/convertToScope/convertToAlso/normal2.kt | 2 +- .../convertToScope/convertToAlso/normal2.kt.after | 2 +- .../intentions/convertToScope/convertToAlso/normal3.kt | 2 +- .../convertToScope/convertToAlso/normal3.kt.after | 2 +- .../intentions/convertToScope/convertToAlso/normal4.kt | 2 +- .../convertToScope/convertToAlso/normal4.kt.after | 2 +- .../intentions/convertToScope/convertToAlso/onProperty.kt | 2 +- .../convertToScope/convertToAlso/onProperty.kt.after | 2 +- .../intentions/convertToScope/convertToAlso/singleCall.kt | 2 +- .../convertToScope/convertToAlso/singleCall.kt.after | 2 +- .../convertToScope/convertToAlso/untilItParameter.kt | 2 +- .../convertToAlso/untilItParameter.kt.after | 2 +- .../intentions/convertToScope/convertToAlso/var.kt | 2 +- .../intentions/convertToScope/convertToAlso/var.kt.after | 2 +- .../convertToScope/convertToAlso/withCommentAndSpaces.kt | 2 +- .../convertToAlso/withCommentAndSpaces.kt.after | 2 +- .../convertToScope/convertToAlso/withDifficultRenaming.kt | 2 +- .../convertToAlso/withDifficultRenaming.kt.after | 2 +- .../convertToAlso/withNotSimpleInitializer.kt | 2 +- .../convertToAlso/withNotSimpleInitializer.kt.after | 2 +- .../convertToAlso/withNotSimpleInitializer2.kt | 2 +- .../convertToAlso/withNotSimpleInitializer2.kt.after | 2 +- .../convertToScope/convertToApply/binaryExpression.kt | 2 +- .../convertToApply/binaryExpression.kt.after | 2 +- .../convertToScope/convertToApply/binaryExpression2.kt | 2 +- .../convertToApply/binaryExpression2.kt.after | 2 +- .../convertToScope/convertToApply/callExpression.kt | 2 +- .../convertToScope/convertToApply/callExpression.kt.after | 2 +- .../convertToScope/convertToApply/callExpression2.kt | 2 +- .../convertToApply/callExpression2.kt.after | 2 +- .../convertToScope/convertToApply/callExpression3.kt | 2 +- .../convertToApply/callExpression3.kt.after | 2 +- .../convertToScope/convertToApply/callExpression4.kt | 2 +- .../convertToScope/convertToApply/callExpression5.kt | 2 +- .../convertToApply/callExpression5.kt.after | 2 +- .../convertToScope/convertToApply/methodChain.kt | 2 +- .../convertToScope/convertToApply/methodChain.kt.after | 2 +- .../convertToApply/methodChainWithItParameter.kt | 2 +- .../convertToApply/methodChainWithItParameter.kt.after | 2 +- .../convertToApply/methodChainWithThisParameter.kt | 2 +- .../intentions/convertToScope/convertToApply/normal.kt | 2 +- .../convertToScope/convertToApply/normal.kt.after | 2 +- .../intentions/convertToScope/convertToApply/normal2.kt | 2 +- .../convertToScope/convertToApply/normal2.kt.after | 2 +- .../intentions/convertToScope/convertToApply/normal3.kt | 2 +- .../convertToScope/convertToApply/normal3.kt.after | 2 +- .../intentions/convertToScope/convertToApply/normal4.kt | 2 +- .../convertToScope/convertToApply/normal4.kt.after | 2 +- .../convertToScope/convertToApply/onProperty.kt | 2 +- .../convertToScope/convertToApply/onProperty.kt.after | 2 +- .../convertToScope/convertToApply/singleCall.kt | 2 +- .../convertToScope/convertToApply/singleCall.kt.after | 2 +- .../convertToScope/convertToApply/thisParameter.kt | 2 +- .../convertToScope/convertToApply/thisParameter2.kt | 2 +- .../convertToScope/convertToApply/untilThisParameter.kt | 2 +- .../convertToApply/untilThisParameter.kt.after | 2 +- .../intentions/convertToScope/convertToApply/var.kt | 2 +- .../intentions/convertToScope/convertToApply/var.kt.after | 2 +- .../convertToScope/convertToApply/withCommentAndSpaces.kt | 2 +- .../convertToApply/withCommentAndSpaces.kt.after | 2 +- .../convertToApply/withDifficultRenaming.kt | 2 +- .../convertToApply/withDifficultRenaming.kt.after | 2 +- .../convertToApply/withNotSimpleInitializer.kt | 2 +- .../convertToApply/withNotSimpleInitializer.kt.after | 2 +- .../convertToApply/withNotSimpleInitializer2.kt | 2 +- .../convertToApply/withNotSimpleInitializer2.kt.after | 2 +- .../convertToScope/convertToRun/binaryExpression.kt | 2 +- .../convertToScope/convertToRun/binaryExpression.kt.after | 2 +- .../convertToScope/convertToRun/binaryExpression2.kt | 2 +- .../convertToRun/binaryExpression2.kt.after | 2 +- .../convertToScope/convertToRun/binaryExpression3.kt | 2 +- .../convertToRun/binaryExpression3.kt.after | 2 +- .../convertToScope/convertToRun/callExpression.kt | 2 +- .../convertToScope/convertToRun/callExpression.kt.after | 2 +- .../convertToScope/convertToRun/callExpression2.kt | 2 +- .../intentions/convertToScope/convertToRun/itReceiver.kt | 2 +- .../convertToScope/convertToRun/itReceiver.kt.after | 2 +- .../intentions/convertToScope/convertToRun/javaMethod.kt | 2 +- .../convertToScope/convertToRun/javaMethod.kt.after | 2 +- .../intentions/convertToScope/convertToRun/methodChain.kt | 2 +- .../convertToScope/convertToRun/methodChain.kt.after | 2 +- .../convertToRun/methodChainWithItParameter.kt | 2 +- .../convertToRun/methodChainWithItParameter.kt.after | 2 +- .../convertToRun/methodChainWithThisParameter.kt | 2 +- .../convertToRun/methodChainWithThisParameter.kt.after | 2 +- .../intentions/convertToScope/convertToRun/normal.kt | 2 +- .../convertToScope/convertToRun/normal.kt.after | 2 +- .../intentions/convertToScope/convertToRun/normal2.kt | 2 +- .../convertToScope/convertToRun/normal2.kt.after | 2 +- .../intentions/convertToScope/convertToRun/normal3.kt | 2 +- .../convertToScope/convertToRun/normal3.kt.after | 2 +- .../intentions/convertToScope/convertToRun/normal4.kt | 2 +- .../convertToScope/convertToRun/normal4.kt.after | 2 +- .../intentions/convertToScope/convertToRun/normal5.kt | 2 +- .../convertToScope/convertToRun/normal5.kt.after | 2 +- .../intentions/convertToScope/convertToRun/package.kt | 2 +- .../intentions/convertToScope/convertToRun/singleCall.kt | 2 +- .../convertToScope/convertToRun/singleCall.kt.after | 2 +- .../convertToScope/convertToRun/thisParameter.kt | 2 +- .../convertToScope/convertToRun/thisReceiver.kt | 2 +- .../convertToScope/convertToRun/untilThisParameter.kt | 2 +- .../convertToRun/untilThisParameter.kt.after | 2 +- .../convertToScope/convertToRun/withCommentAndSpaces.kt | 2 +- .../convertToRun/withCommentAndSpaces.kt.after | 2 +- .../convertToScope/convertToRun/withDifficultRenaming.kt | 2 +- .../convertToRun/withDifficultRenaming.kt.after | 2 +- .../convertToRun/withNotSimpleInitializer.kt | 2 +- .../convertToRun/withNotSimpleInitializer2.kt | 2 +- .../convertToScope/convertToWith/callExpression.kt | 2 +- .../convertToScope/convertToWith/callExpression.kt.after | 2 +- .../convertToScope/convertToWith/callExpression2.kt | 2 +- .../intentions/convertToScope/convertToWith/itReceiver.kt | 2 +- .../convertToScope/convertToWith/itReceiver.kt.after | 2 +- .../intentions/convertToScope/convertToWith/javaMethod.kt | 2 +- .../convertToScope/convertToWith/javaMethod.kt.after | 2 +- .../convertToScope/convertToWith/methodChain.kt | 2 +- .../convertToScope/convertToWith/methodChain.kt.after | 2 +- .../convertToWith/methodChainWithItParameter.kt | 2 +- .../convertToWith/methodChainWithItParameter.kt.after | 2 +- .../convertToWith/methodChainWithThisParameter.kt | 2 +- .../convertToWith/methodChainWithThisParameter.kt.after | 2 +- .../intentions/convertToScope/convertToWith/normal.kt | 2 +- .../convertToScope/convertToWith/normal.kt.after | 2 +- .../intentions/convertToScope/convertToWith/normal2.kt | 2 +- .../convertToScope/convertToWith/normal2.kt.after | 2 +- .../intentions/convertToScope/convertToWith/normal3.kt | 2 +- .../convertToScope/convertToWith/normal3.kt.after | 2 +- .../intentions/convertToScope/convertToWith/normal4.kt | 2 +- .../convertToScope/convertToWith/normal4.kt.after | 2 +- .../intentions/convertToScope/convertToWith/normal5.kt | 2 +- .../convertToScope/convertToWith/normal5.kt.after | 2 +- .../intentions/convertToScope/convertToWith/package.kt | 2 +- .../convertToScope/convertToWith/parameterExpression.kt | 2 +- .../convertToWith/parameterExpression.kt.after | 2 +- .../intentions/convertToScope/convertToWith/singleCall.kt | 2 +- .../convertToScope/convertToWith/singleCall.kt.after | 2 +- .../convertToScope/convertToWith/thisParameter.kt | 2 +- .../convertToScope/convertToWith/thisReceiver.kt | 2 +- .../convertToScope/convertToWith/untilThisParameter.kt | 2 +- .../convertToWith/untilThisParameter.kt.after | 2 +- .../convertToScope/convertToWith/withCommentAndSpaces.kt | 2 +- .../convertToWith/withCommentAndSpaces.kt.after | 2 +- .../convertToScope/convertToWith/withDifficultRenaming.kt | 2 +- .../convertToWith/withDifficultRenaming.kt.after | 2 +- .../convertToWith/withNotSimpleInitializer.kt | 2 +- .../convertToWith/withNotSimpleInitializer2.kt | 2 +- .../convertToStringTemplate/consecutiveNewlines.kt | 2 +- .../doesNotCorruptExistingTemplateWithBraces.kt | 2 +- .../doesNotCorruptExistingTemplateWithBraces.kt.after | 2 +- .../convertToStringTemplate/interpolateMapAccess.kt | 2 +- .../convertToStringTemplate/interpolateMapAccess.kt.after | 2 +- .../convertToStringTemplate/interpolateMethodInvoke.kt | 2 +- .../interpolateMethodInvoke.kt.after | 2 +- .../convertToStringTemplate/interpolateMultiline.kt | 2 +- .../intentions/convertTryFinallyToUseCall/catch.kt | 2 +- .../intentions/convertTryFinallyToUseCall/example.kt | 2 +- .../convertTryFinallyToUseCall/example.kt.after | 2 +- .../convertTryFinallyToUseCall/implicitReceiver.kt | 2 +- .../convertTryFinallyToUseCall/implicitReceiver.kt.after | 2 +- .../intentions/convertTryFinallyToUseCall/notClose.kt | 2 +- .../intentions/convertTryFinallyToUseCall/notOnlyClose.kt | 2 +- .../intentions/convertTryFinallyToUseCall/parameter.kt | 2 +- .../convertTryFinallyToUseCall/parameter.kt.after | 2 +- .../intentions/convertTryFinallyToUseCall/safeCall.kt | 2 +- .../convertTryFinallyToUseCall/safeCall.kt.after | 2 +- .../intentions/convertTryFinallyToUseCall/simple.kt | 2 +- .../intentions/convertTryFinallyToUseCall/simple.kt.after | 2 +- .../intentions/convertTryFinallyToUseCall/this.kt | 2 +- .../intentions/convertTryFinallyToUseCall/this.kt.after | 2 +- .../intentions/convertTryFinallyToUseCall/thisLabeled.kt | 2 +- .../convertTryFinallyToUseCall/thisLabeled.kt.after | 2 +- .../intentions/convertTryFinallyToUseCall/triple.kt | 2 +- .../intentions/convertTryFinallyToUseCall/triple.kt.after | 2 +- .../intentions/convertTryFinallyToUseCall/wrongCaret.kt | 2 +- .../convertVariableAssignmentToExpression/complexLhs.kt | 2 +- .../complexLhs.kt.after | 2 +- .../convertVariableAssignmentToExpression/complexRhs.kt | 2 +- .../complexRhs.kt.after | 2 +- .../convertVariableAssignmentToExpression/simple.kt | 2 +- .../convertVariableAssignmentToExpression/simple.kt.after | 2 +- .../declarations/convertMemberToExtension/abstract.kt | 2 +- .../convertMemberToExtension/abstract.kt.after | 2 +- .../convertMemberToExtension/abstractProperty.kt | 2 +- .../convertMemberToExtension/abstractProperty.kt.after | 2 +- .../convertMemberToExtension/delegatedProperty.kt | 2 +- .../declarations/convertMemberToExtension/final.kt | 2 +- .../declarations/convertMemberToExtension/final.kt.after | 2 +- .../genericClassWithOutVariance.kt | 2 +- .../genericClassWithOutVariance.kt.after | 2 +- .../genericClassWithVarianceAndReified.kt | 2 +- .../genericClassWithVarianceAndReified.kt.after | 2 +- .../declarations/convertMemberToExtension/open.kt | 2 +- .../declarations/convertMemberToExtension/open.kt.after | 2 +- .../convertMemberToExtension/valWithDefaultGetter.kt | 2 +- .../valWithDefaultGetter.kt.after | 2 +- .../varWithDefaultGetterAndSetter.kt | 2 +- .../varWithDefaultGetterAndSetter.kt.after | 2 +- .../convertMemberToExtension/varWithDefaultSetter.kt | 2 +- .../varWithDefaultSetter.kt.after | 2 +- .../convertMemberToExtension/varWithGetter.kt | 2 +- .../convertMemberToExtension/varWithGetter.kt.after | 2 +- .../convertMemberToExtension/varWithSetter.kt | 2 +- .../convertMemberToExtension/varWithSetter.kt.after | 2 +- .../intentions/destructuringInLambda/dependentLocal.kt | 2 +- .../destructuringInLambda/dependentLocal.kt.after | 2 +- .../intentions/destructuringInLambda/firstProperties.kt | 2 +- .../destructuringInLambda/firstProperties.kt.after | 2 +- .../testData/intentions/destructuringInLambda/fold.kt | 2 +- .../intentions/destructuringInLambda/fold.kt.after | 2 +- .../destructuringInLambda/hasSameNameParameter.kt | 2 +- .../destructuringInLambda/hasSameNameParameter.kt.after | 2 +- .../destructuringInLambda/hasShadowedVariable.kt | 2 +- .../destructuringInLambda/hasShadowedVariable.kt.after | 2 +- .../destructuringInLambda/hasShadowedVariable2.kt | 2 +- .../destructuringInLambda/hasShadowedVariable2.kt.after | 2 +- .../destructuringInLambda/inspectionData/inspections.test | 2 +- .../testData/intentions/destructuringInLambda/last.kt | 2 +- .../intentions/destructuringInLambda/last.kt.after | 2 +- .../testData/intentions/destructuringInLambda/list.kt | 2 +- .../intentions/destructuringInLambda/list.kt.after | 2 +- .../testData/intentions/destructuringInLambda/mapEntry.kt | 2 +- .../intentions/destructuringInLambda/mapEntry.kt.after | 2 +- .../intentions/destructuringInLambda/mapEntry2.kt | 2 +- .../intentions/destructuringInLambda/mapEntry2.kt.after | 2 +- .../destructuringInLambda/mapIndexedExceptFirst.kt | 2 +- .../destructuringInLambda/mapIndexedExceptFirst.kt.after | 2 +- .../intentions/destructuringInLambda/mapIndexedLast.kt | 2 +- .../destructuringInLambda/mapIndexedLast.kt.after | 2 +- .../intentions/destructuringInLambda/noItVariables.kt | 2 +- .../destructuringInLambda/noItVariables.kt.after | 2 +- .../testData/intentions/destructuringInLambda/nullable.kt | 2 +- .../testData/intentions/destructuringInLambda/pair.kt | 2 +- .../intentions/destructuringInLambda/pair.kt.after | 2 +- .../intentions/destructuringInLambda/twoOfThree.kt | 2 +- .../intentions/destructuringInLambda/twoOfThree.kt.after | 2 +- .../destructuringVariables/hasShadowedVariable.kt | 2 +- .../destructuringVariables/hasShadowedVariable.kt.after | 2 +- .../intentions/destructuringVariables/mapEntry.kt | 2 +- .../intentions/destructuringVariables/mapEntry.kt.after | 2 +- .../implementAbstractMember/function/enumClass.kt | 2 +- .../implementAbstractMember/function/enumClass.kt.after | 2 +- .../function/enumClassWithSemicolon.kt | 2 +- .../function/enumClassWithSemicolon.kt.after | 2 +- .../function/enumClassWithSemicolonAndMembers.kt | 2 +- .../function/enumClassWithSemicolonAndMembers.kt.after | 2 +- .../implementAbstractMember/function/enumEntries.kt | 2 +- .../implementAbstractMember/function/enumEntries.kt.after | 2 +- .../function/enumEntriesWithArgs.kt | 2 +- .../function/enumEntriesWithArgs.kt.after | 2 +- .../implementAbstractMember/function/implementAll.kt | 2 +- .../function/implementAll.kt.after | 2 +- .../implementAbstractMember/property/enumClass.kt | 2 +- .../implementAbstractMember/property/enumClass.kt.after | 2 +- .../property/enumClassWithSemicolon.kt | 2 +- .../property/enumClassWithSemicolon.kt.after | 2 +- .../property/enumClassWithSemicolonAndMembers.kt | 2 +- .../property/enumClassWithSemicolonAndMembers.kt.after | 2 +- .../implementAbstractMember/property/enumEntries.kt | 2 +- .../implementAbstractMember/property/enumEntries.kt.after | 2 +- .../property/enumEntriesWithArgs.kt | 2 +- .../property/enumEntriesWithArgs.kt.after | 2 +- .../implementAbstractMember/property/implementAll.kt | 2 +- .../property/implementAll.kt.after | 2 +- .../implementAsConstructorParameter/enumClass.kt | 2 +- .../implementAsConstructorParameter/enumClass.kt.after | 2 +- .../implementAsConstructorParameter/implementAll.kt | 2 +- .../implementAsConstructorParameter/implementAll.kt.after | 2 +- .../intentions/importAllMembers/AlreadyImported.kt | 2 +- .../intentions/importAllMembers/AlreadyImported.kt.after | 2 +- .../importAllMembers/AlreadyImportedWithStar.kt | 2 +- .../importAllMembers/AlreadyImportedWithStar.kt.after | 2 +- .../intentions/importAllMembers/AmbiguousCalls.kt | 2 +- .../intentions/importAllMembers/AmbiguousCalls.kt.after | 2 +- .../testData/intentions/importAllMembers/EnumMembers.kt | 2 +- .../intentions/importAllMembers/EnumMembers.kt.after | 2 +- .../intentions/importAllMembers/EnumMembersValues.kt.todo | 2 +- .../importAllMembers/ImportAllMembersInImport.kt | 2 +- .../intentions/importAllMembers/NotFromCompanionObject.kt | 2 +- .../testData/intentions/importAllMembers/NotFromObject.kt | 2 +- .../testData/intentions/importAllMembers/QualifiedName.kt | 2 +- .../intentions/importAllMembers/QualifiedName.kt.after | 2 +- .../intentions/importAllMembers/QualifiedName2.kt | 2 +- .../intentions/importAllMembers/QualifiedName2.kt.after | 2 +- .../intentions/importAllMembers/RemoveSingleImports.kt | 2 +- .../importAllMembers/RemoveSingleImports.kt.after | 2 +- .../intentions/importAllMembers/StaticJavaMembers.kt | 2 +- .../importAllMembers/StaticJavaMembers.kt.after | 2 +- .../intentions/importAllMembers/UnresolvedMember.kt | 2 +- .../tests/testData/intentions/importMember/EnumMember.kt | 2 +- .../testData/intentions/importMember/EnumMember.kt.after | 2 +- .../tests/testData/intentions/importMember/FqReference.kt | 2 +- .../testData/intentions/importMember/FqReferenceCall.kt | 2 +- .../intentions/importMember/FromCompanionObject.kt | 2 +- .../intentions/importMember/FromCompanionObject.kt.after | 2 +- .../intentions/importMember/ImportMemberInImport.kt | 2 +- .../importMember/ImportMemberInMiddleOfImport.kt | 2 +- .../testData/intentions/importMember/NestedClass1.kt | 2 +- .../intentions/importMember/NestedClass1.kt.after | 2 +- .../testData/intentions/importMember/NestedClass2.kt | 2 +- .../intentions/importMember/NestedClass2.kt.after | 2 +- .../tests/testData/intentions/importMember/NoTarget.kt | 2 +- .../testData/intentions/importMember/NotForQualifier.kt | 2 +- .../testData/intentions/importMember/ObjectMethod.kt | 2 +- .../intentions/importMember/ObjectMethod.kt.after | 2 +- .../testData/intentions/importMember/StaticJavaField.kt | 2 +- .../intentions/importMember/StaticJavaField.kt.after | 2 +- .../testData/intentions/importMember/StaticJavaMethod.kt | 2 +- .../intentions/importMember/StaticJavaMethod.kt.after | 2 +- .../tests/testData/intentions/indentRawString/receiver.kt | 2 +- .../tests/testData/intentions/indentRawString/simple.kt | 2 +- .../testData/intentions/indentRawString/simple.kt.after | 2 +- .../insertExplicitTypeArguments/insertImportForArg.kt | 2 +- .../insertImportForArg.kt.after | 2 +- .../intentions/introduceBackingProperty/jvmField.kt | 2 +- .../introduceImportAlias/addImportWithDefaultClass.kt | 2 +- .../addImportWithDefaultClass.kt.after | 2 +- .../addImportWithDefaultClassAndFunction.kt | 2 +- .../addImportWithDefaultClassAndFunction.kt.after | 2 +- .../addImportWithDefaultClassCompanion.kt | 2 +- .../addImportWithDefaultClassCompanion.kt.after | 2 +- .../addImportWithDefaultClassCompanion2.kt | 2 +- .../addImportWithDefaultClassCompanion2.kt.after | 2 +- .../intentions/introduceImportAlias/withReceiver2.kt | 2 +- .../introduceImportAlias/withReceiver2.kt.after | 2 +- .../intentions/introduceImportAlias/withReceiver3.kt | 2 +- .../introduceImportAlias/withReceiver3.kt.after | 2 +- .../invertIfCondition/forLoopWithMultipleExpressions.kt | 2 +- .../forLoopWithMultipleExpressions.kt.after | 2 +- .../invertIfCondition/ifExpressionInsideForLoop.kt | 2 +- .../invertIfCondition/ifExpressionInsideForLoop.kt.after | 2 +- .../testData/intentions/invertIfCondition/isBlank.kt | 2 +- .../intentions/invertIfCondition/isBlank.kt.after | 2 +- .../testData/intentions/invertIfCondition/isEmpty.kt | 2 +- .../intentions/invertIfCondition/isEmpty.kt.after | 2 +- .../testData/intentions/invertIfCondition/isNotBlank.kt | 2 +- .../intentions/invertIfCondition/isNotBlank.kt.after | 2 +- .../testData/intentions/invertIfCondition/isNotEmpty.kt | 2 +- .../intentions/invertIfCondition/isNotEmpty.kt.after | 2 +- .../intentions/invertIfCondition/negatedIsBlank.kt | 2 +- .../intentions/invertIfCondition/negatedIsBlank.kt.after | 2 +- .../intentions/invertIfCondition/negatedIsEmpty.kt | 2 +- .../intentions/invertIfCondition/negatedIsEmpty.kt.after | 2 +- .../intentions/invertIfCondition/negatedIsNotBlank.kt | 2 +- .../invertIfCondition/negatedIsNotBlank.kt.after | 2 +- .../intentions/invertIfCondition/negatedIsNotEmpty.kt | 2 +- .../invertIfCondition/negatedIsNotEmpty.kt.after | 2 +- .../intentions/invertIfCondition/unnecessaryContinue.kt | 2 +- .../invertIfCondition/unnecessaryContinue.kt.after | 2 +- .../intentions/invertIfCondition/unnecessaryContinue2.kt | 2 +- .../invertIfCondition/unnecessaryContinue2.kt.after | 2 +- .../intentions/invertIfCondition/unnecessaryContinue3.kt | 2 +- .../invertIfCondition/unnecessaryContinue3.kt.after | 2 +- .../iterateExpression/collectionIteratorWithComponents.kt | 2 +- .../collectionIteratorWithComponents.kt.after | 2 +- .../iterateExpression/dataClassCollectionIterator.kt | 2 +- .../dataClassCollectionIterator.kt.after | 2 +- .../intentions/iterateExpression/extensionIterator.kt | 2 +- .../iterateExpression/extensionIterator.kt.after | 2 +- .../extensionIteratorWithPartialSubstitution1.kt | 2 +- .../extensionIteratorWithPartialSubstitution1.kt.after | 2 +- .../extensionIteratorWithPartialSubstitution2.kt | 2 +- .../testData/intentions/iterateExpression/functionCall.kt | 2 +- .../intentions/iterateExpression/functionCall.kt.after | 2 +- .../testData/intentions/iterateExpression/mapIterator.kt | 2 +- .../intentions/iterateExpression/mapIterator.kt.after | 2 +- .../intentions/iterateExpression/nonOperatorIterator.kt | 2 +- .../iterateExpression/nonOperatotExtensionIterator.kt | 2 +- .../intentions/iterationOverMap/AlreadyDestructing.kt | 2 +- .../testData/intentions/iterationOverMap/CaretOffset.kt | 2 +- .../testData/intentions/iterationOverMap/DataClass.kt | 2 +- .../intentions/iterationOverMap/DataClass.kt.after | 2 +- .../iterationOverMap/DataClassDependentLocal.kt | 2 +- .../iterationOverMap/DataClassDependentLocal.kt.after | 2 +- .../iterationOverMap/DataClassFirstNPropertiesUsed.kt | 2 +- .../DataClassFirstNPropertiesUsed.kt.after | 2 +- .../intentions/iterationOverMap/DataClassFirstVariable.kt | 2 +- .../iterationOverMap/DataClassFirstVariable.kt.after | 2 +- .../testData/intentions/iterationOverMap/DataClassLast.kt | 2 +- .../intentions/iterationOverMap/DataClassLast.kt.after | 2 +- .../intentions/iterationOverMap/DataClassNameConflict.kt | 2 +- .../iterationOverMap/DataClassNameConflict.kt.after | 2 +- .../iterationOverMap/DataClassNoVariablesInside.kt | 2 +- .../iterationOverMap/DataClassNoVariablesInside.kt.after | 2 +- .../iterationOverMap/DataClassNoVariablesMultiUsages.kt | 2 +- .../DataClassNoVariablesMultiUsages.kt.after | 2 +- .../iterationOverMap/DataClassNotAllPropertiesUsed.kt | 2 +- .../DataClassNotAllPropertiesUsed.kt.after | 2 +- .../intentions/iterationOverMap/DataClassNullable.kt | 2 +- .../iterationOverMap/DataClassParametersOrder.kt | 2 +- .../iterationOverMap/DataClassParametersOrder.kt.after | 2 +- .../iterationOverMap/DataClassPropertyBetweenUsages.kt | 2 +- .../DataClassPropertyBetweenUsages.kt.after | 2 +- .../iterationOverMap/DataClassSecondVariable.kt | 2 +- .../iterationOverMap/DataClassSecondVariable.kt.after | 2 +- .../iterationOverMap/DataClassTwoDifferentLocals.kt | 2 +- .../iterationOverMap/DataClassTwoDifferentLocals.kt.after | 2 +- .../intentions/iterationOverMap/DataClassUnused.kt | 2 +- .../intentions/iterationOverMap/DataClassUnused.kt.after | 2 +- .../iterationOverMap/DataClassWithAssignmentInside.kt | 2 +- .../iterationOverMap/DataClassWithDestructuring.kt | 2 +- .../iterationOverMap/DataClassWithDestructuring.kt.after | 2 +- .../DataClassWithDestructuringConflict.kt | 2 +- .../DataClassWithDestructuringFakeConflict.kt | 2 +- .../DataClassWithDestructuringFakeConflict.kt.after | 2 +- .../iterationOverMap/DataClassWithDestructuringPartial.kt | 2 +- .../DataClassWithDestructuringPartial.kt.after | 2 +- .../iterationOverMap/DataClassWithExternalUsage.kt | 2 +- .../iterationOverMap/DataClassWithExternalUsage.kt.after | 2 +- .../iterationOverMap/DataClassWithIncrementInside.kt | 2 +- .../DataClassWithLocalPropertyModified.kt | 2 +- .../intentions/iterationOverMap/EntriesCallIsMissing.kt | 2 +- .../iterationOverMap/EntriesCallIsMissing.kt.after | 2 +- .../testData/intentions/iterationOverMap/FakeEntries.kt | 2 +- .../intentions/iterationOverMap/FakeEntries.kt.after | 2 +- .../tests/testData/intentions/iterationOverMap/Getters.kt | 2 +- .../testData/intentions/iterationOverMap/Getters.kt.after | 2 +- .../tests/testData/intentions/iterationOverMap/KeyOnly.kt | 2 +- .../testData/intentions/iterationOverMap/KeyOnly.kt.after | 2 +- .../iterationOverMap/KeyOnlyWithDestructuring.kt | 2 +- .../iterationOverMap/KeyOnlyWithDestructuring.kt.after | 2 +- .../iterationOverMap/KeyValueWithDestructuring.kt | 2 +- .../iterationOverMap/KeyValueWithDestructuring.kt.after | 2 +- .../intentions/iterationOverMap/MapNoProperties.kt | 2 +- .../intentions/iterationOverMap/MapNoProperties.kt.after | 2 +- .../testData/intentions/iterationOverMap/NoKeyOrValue.kt | 2 +- .../intentions/iterationOverMap/NoKeyOrValue.kt.after | 2 +- .../testData/intentions/iterationOverMap/OnlyKeyUsed.kt | 2 +- .../intentions/iterationOverMap/OnlyKeyUsed.kt.after | 2 +- .../testData/intentions/iterationOverMap/OtherUsages.kt | 2 +- .../testData/intentions/iterationOverMap/OtherUsages2.kt | 2 +- .../intentions/iterationOverMap/PropertiesNames.kt | 2 +- .../intentions/iterationOverMap/PropertiesNames.kt.after | 2 +- .../tests/testData/intentions/iterationOverMap/Simple.kt | 2 +- .../testData/intentions/iterationOverMap/Simple.kt.after | 2 +- .../iterationOverMap/SomeQualifiedExpressionInRange.kt | 2 +- .../SomeQualifiedExpressionInRange.kt.after | 2 +- .../testData/intentions/iterationOverMap/ValueOnly.kt | 2 +- .../intentions/iterationOverMap/ValueOnly.kt.after | 2 +- .../iterationOverMap/inspectionData/inspections.test | 2 +- .../joinDeclarationAndAssignment/assignmentForFlexible.kt | 2 +- .../assignmentForFlexible.kt.after | 2 +- .../joinDeclarationAndAssignment/cannotRemoveType2.kt | 2 +- .../cannotRemoveType2.kt.after | 2 +- .../lambdaToAnonymousFunction/destructuringParameter.kt | 2 +- .../intentions/lambdaToAnonymousFunction/hasReturn4.kt | 2 +- .../lambdaToAnonymousFunction/hasReturn4.kt.after | 2 +- .../intentions/lambdaToAnonymousFunction/withLabel.kt | 2 +- .../lambdaToAnonymousFunction/withLabel.kt.after | 2 +- .../intentions/lambdaToAnonymousFunction/withPackage.kt | 2 +- .../lambdaToAnonymousFunction/withPackage.kt.after | 2 +- .../tests/testData/intentions/loopToCallChain/KT14191.kt | 2 +- .../testData/intentions/loopToCallChain/KT14191.kt.after | 2 +- .../testData/intentions/loopToCallChain/KT14191.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/any/KT13998.kt | 2 +- .../intentions/loopToCallChain/any/KT13998.kt.after | 2 +- .../testData/intentions/loopToCallChain/any/KT13998_1.kt | 2 +- .../intentions/loopToCallChain/any/KT13998_1.kt.after | 2 +- .../testData/intentions/loopToCallChain/any/anyNotNull.kt | 2 +- .../intentions/loopToCallChain/any/anyNotNull.kt.after | 2 +- .../testData/intentions/loopToCallChain/any/ifAssign.kt | 2 +- .../intentions/loopToCallChain/any/ifAssign.kt.after | 2 +- .../loopToCallChain/any/ifAssign_moveDeclaration.kt | 2 +- .../loopToCallChain/any/ifAssign_moveDeclaration.kt.after | 2 +- .../loopToCallChain/any/ifAssign_moveInitialization.kt | 2 +- .../any/ifAssign_moveInitialization.kt.after | 2 +- .../intentions/loopToCallChain/any/ifAssign_noBreak.kt | 2 +- .../loopToCallChain/any/ifAssign_noBreak.kt.after | 2 +- .../loopToCallChain/any/ifAssign_nonBooleanResult.kt | 2 +- .../any/ifAssign_nonBooleanResult.kt.after | 2 +- .../loopToCallChain/any/ifAssign_nonBooleanResult2.kt | 2 +- .../testData/intentions/loopToCallChain/any/ifReturn.kt | 2 +- .../intentions/loopToCallChain/any/ifReturn.kt.after | 2 +- .../loopToCallChain/any/ifReturn_nonBooleanResult.kt | 2 +- .../any/ifReturn_nonBooleanResult.kt.after | 2 +- .../intentions/loopToCallChain/any/indexNeeded.kt | 2 +- .../intentions/loopToCallChain/any/indexNeeded.kt.after | 2 +- .../intentions/loopToCallChain/any/indexNeeded.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/any/kt17730.kt | 2 +- .../intentions/loopToCallChain/any/kt17730.kt.after | 2 +- .../testData/intentions/loopToCallChain/any/kt17730_1.kt | 2 +- .../intentions/loopToCallChain/any/kt17730_1.kt.after | 2 +- .../tests/testData/intentions/loopToCallChain/any/none.kt | 2 +- .../testData/intentions/loopToCallChain/any/none.kt.after | 2 +- .../testData/intentions/loopToCallChain/any/return.kt | 2 +- .../intentions/loopToCallChain/any/return.kt.after | 2 +- .../tests/testData/intentions/loopToCallChain/array.kt | 2 +- .../testData/intentions/loopToCallChain/array.kt.after | 2 +- .../testData/intentions/loopToCallChain/asSequenceOnly.kt | 2 +- .../intentions/loopToCallChain/asSequenceOnly.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/contains/1.kt | 2 +- .../intentions/loopToCallChain/contains/1.kt.after | 2 +- .../testData/intentions/loopToCallChain/contains/2.kt | 2 +- .../intentions/loopToCallChain/contains/2.kt.after | 2 +- .../testData/intentions/loopToCallChain/contains/3.kt | 2 +- .../intentions/loopToCallChain/contains/3.kt.after | 2 +- .../testData/intentions/loopToCallChain/contains/4.kt | 2 +- .../intentions/loopToCallChain/contains/4.kt.after | 2 +- .../tests/testData/intentions/loopToCallChain/count/1.kt | 2 +- .../testData/intentions/loopToCallChain/count/1.kt.after | 2 +- .../tests/testData/intentions/loopToCallChain/count/2.kt | 2 +- .../testData/intentions/loopToCallChain/count/2.kt.after | 2 +- .../intentions/loopToCallChain/count/countIsInstance.kt | 2 +- .../loopToCallChain/count/countIsInstance.kt.after | 2 +- .../intentions/loopToCallChain/count/countNotNull.kt | 2 +- .../loopToCallChain/count/countNotNull.kt.after | 2 +- .../loopToCallChain/count/countSomethingAndNotNull.kt | 2 +- .../count/countSomethingAndNotNull.kt.after | 2 +- .../testData/intentions/loopToCallChain/count/long.kt | 2 +- .../intentions/loopToCallChain/count/long.kt.after | 2 +- .../intentions/loopToCallChain/count/long.kt.after2 | 2 +- .../loopToCallChain/count/nonConstantInitial.kt | 2 +- .../loopToCallChain/count/nonConstantInitial.kt.after | 2 +- .../intentions/loopToCallChain/count/nonZeroInitial.kt | 2 +- .../loopToCallChain/count/nonZeroInitial.kt.after | 2 +- .../testData/intentions/loopToCallChain/count/prefix.kt | 2 +- .../intentions/loopToCallChain/count/prefix.kt.after | 2 +- .../loopToCallChain/count/variableUsedBefore.kt | 2 +- .../loopToCallChain/count/variableUsedBefore.kt.after2 | 2 +- .../intentions/loopToCallChain/customTypeWithIterator.kt | 2 +- .../testData/intentions/loopToCallChain/embeddedBreak1.kt | 2 +- .../testData/intentions/loopToCallChain/embeddedBreak2.kt | 2 +- .../intentions/loopToCallChain/embeddedContinue.kt | 2 +- .../testData/intentions/loopToCallChain/filter/assign.kt | 2 +- .../intentions/loopToCallChain/filter/assign.kt.after | 2 +- .../testData/intentions/loopToCallChain/filter/assign2.kt | 2 +- .../intentions/loopToCallChain/filter/assign2.kt.after | 2 +- .../loopToCallChain/filter/assignFilterIndexed.kt | 2 +- .../loopToCallChain/filter/assignFilterIndexed.kt.after | 2 +- .../loopToCallChain/filter/assignFilterNotNull.kt | 2 +- .../loopToCallChain/filter/assignFilterNotNull.kt.after | 2 +- .../loopToCallChain/filter/assign_ArrayListRequired.kt | 2 +- .../filter/assign_ArrayListRequired.kt.after | 2 +- .../loopToCallChain/filter/assign_ArrayListRequired2.kt | 2 +- .../filter/assign_ArrayListRequired2.kt.after | 2 +- .../loopToCallChain/filter/assign_ArrayListRequired3.kt | 2 +- .../filter/assign_ArrayListRequired3.kt.after | 2 +- .../loopToCallChain/filter/assign_MutableListRequired.kt | 2 +- .../filter/assign_MutableListRequired.kt.after | 2 +- .../filter/assign_MutableListRequired.kt.after2 | 2 +- .../loopToCallChain/filter/assign_breakAndContinue.kt | 2 +- .../filter/assign_breakAndContinue.kt.after | 2 +- .../filter/cannotSplitOutFilterIsInstance.kt | 2 +- .../filter/doNotSplitOutFilterIsInstance.kt | 2 +- .../filter/doNotSplitOutFilterIsInstance.kt.after | 2 +- .../loopToCallChain/filter/doNotSplitOutFilterNotNull.kt | 2 +- .../filter/doNotSplitOutFilterNotNull.kt.after | 2 +- .../filter/doNotSplitOutFilterNotNull.kt.after2 | 2 +- .../intentions/loopToCallChain/filter/filterIndexed.kt | 2 +- .../loopToCallChain/filter/filterIndexed.kt.after | 2 +- .../loopToCallChain/filter/filterIndexed.kt.after2 | 2 +- .../intentions/loopToCallChain/filter/filterIndexed2.kt | 2 +- .../loopToCallChain/filter/filterIndexed2.kt.after | 2 +- .../loopToCallChain/filter/filterIndexed2.kt.after2 | 2 +- .../filter/filterIndexedAndFlatMapWithContinue.kt | 2 +- .../filter/filterIndexedAndFlatMapWithContinue.kt.after | 2 +- .../filter/filterIndexedAndFlatMapWithContinue.kt.after2 | 2 +- .../intentions/loopToCallChain/filter/filterIndexedTo.kt | 2 +- .../loopToCallChain/filter/filterIndexedTo.kt.after | 2 +- .../intentions/loopToCallChain/filter/filterIndexedTo2.kt | 2 +- .../loopToCallChain/filter/filterIndexedTo2.kt.after | 2 +- .../filter/filterIndexed_indexChangedTwice.kt | 2 +- .../filter/filterIndexed_indexStartNotZero.kt | 2 +- .../filter/filterIndexed_indexUsedAfter.kt | 2 +- .../filter/filterIndexed_indexUsedEarlierInLoop.kt | 2 +- .../loopToCallChain/filter/filterIndexed_merge1.kt | 2 +- .../loopToCallChain/filter/filterIndexed_merge1.kt.after | 2 +- .../loopToCallChain/filter/filterIndexed_merge1.kt.after2 | 2 +- .../loopToCallChain/filter/filterIndexed_merge2.kt | 2 +- .../loopToCallChain/filter/filterIndexed_merge2.kt.after | 2 +- .../loopToCallChain/filter/filterIndexed_merge2.kt.after2 | 2 +- .../loopToCallChain/filter/filterIndexed_merge3.kt | 2 +- .../loopToCallChain/filter/filterIndexed_merge3.kt.after | 2 +- .../loopToCallChain/filter/filterIndexed_merge3.kt.after2 | 2 +- .../loopToCallChain/filter/filterIndexed_merge4.kt | 2 +- .../loopToCallChain/filter/filterIndexed_merge4.kt.after | 2 +- .../loopToCallChain/filter/filterIndexed_merge4.kt.after2 | 2 +- .../loopToCallChain/filter/filterIndexed_twoIndices.kt | 2 +- .../filter/filterIndexed_twoIndices.kt.after | 2 +- .../filter/filterIndexed_twoIndices.kt.after2 | 2 +- .../filter/filterIndexed_twoIndicesUsed.kt | 2 +- .../intentions/loopToCallChain/filter/filterIsInstance.kt | 2 +- .../loopToCallChain/filter/filterIsInstance.kt.after | 2 +- .../loopToCallChain/filter/filterIsInstance.kt.after2 | 2 +- .../loopToCallChain/filter/filterIsInstanceTo.kt | 2 +- .../loopToCallChain/filter/filterIsInstanceTo.kt.after | 2 +- .../loopToCallChain/filter/filterIsInstanceTo.kt.after2 | 2 +- .../loopToCallChain/filter/filterIsInstance_ifContinue.kt | 2 +- .../filter/filterIsInstance_ifContinue.kt.after | 2 +- .../filter/filterIsInstance_ifContinue.kt.after2 | 2 +- .../intentions/loopToCallChain/filter/filterNotNull.kt | 2 +- .../loopToCallChain/filter/filterNotNull.kt.after | 2 +- .../loopToCallChain/filter/filterNotNull.kt.after2 | 2 +- .../intentions/loopToCallChain/filter/filterNotNullTo.kt | 2 +- .../loopToCallChain/filter/filterNotNullTo.kt.after | 2 +- .../intentions/loopToCallChain/filter/filterNotNullTo2.kt | 2 +- .../loopToCallChain/filter/filterNotNullTo2.kt.after | 2 +- .../loopToCallChain/filter/filterNotNull_ifContinue.kt | 2 +- .../filter/filterNotNull_ifContinue.kt.after | 2 +- .../filter/filterNotNull_ifContinue.kt.after2 | 2 +- .../intentions/loopToCallChain/filter/filterNotTo.kt | 2 +- .../loopToCallChain/filter/filterNotTo.kt.after | 2 +- .../loopToCallChain/filter/filterNot_ifContinue.kt | 2 +- .../loopToCallChain/filter/filterNot_ifContinue.kt.after | 2 +- .../loopToCallChain/filter/filterNot_ifContinue.kt.after2 | 2 +- .../intentions/loopToCallChain/filter/filterTo.kt | 2 +- .../intentions/loopToCallChain/filter/filterTo.kt.after | 2 +- .../intentions/loopToCallChain/filter/filterTo2.kt | 2 +- .../intentions/loopToCallChain/filter/filterTo2.kt.after | 2 +- .../loopToCallChain/filter/glueTogetherFilterNotNull.kt | 2 +- .../filter/glueTogetherFilterNotNull.kt.after | 2 +- .../filter/glueTogetherFilterNotNull.kt.after2 | 2 +- .../intentions/loopToCallChain/filter/ifContinue.kt | 2 +- .../intentions/loopToCallChain/filter/ifContinue.kt.after | 2 +- .../intentions/loopToCallChain/filter/ifContinue2.kt | 2 +- .../loopToCallChain/filter/ifContinue2.kt.after | 2 +- .../loopToCallChain/filter/ifContinueInBlock.kt | 2 +- .../loopToCallChain/filter/ifContinueInBlock.kt.after | 2 +- .../loopToCallChain/filter/ifContinueWithLabel.kt | 2 +- .../testData/intentions/loopToCallChain/filter/ifElse.kt | 2 +- .../intentions/loopToCallChain/filter/ifElse.kt.after | 2 +- .../intentions/loopToCallChain/filter/inputVarNotUsed.kt | 2 +- .../loopToCallChain/filter/inputVariableNotUsed.kt | 2 +- .../intentions/loopToCallChain/filter/mergeMultiple.kt | 2 +- .../loopToCallChain/filter/mergeMultiple.kt.after | 2 +- .../loopToCallChain/filter/mergeMultiple.kt.after2 | 2 +- .../loopToCallChain/filter/splitOutFilterIsInstance.kt | 2 +- .../filter/splitOutFilterIsInstance.kt.after | 2 +- .../filter/splitOutFilterIsInstance.kt.after2 | 2 +- .../loopToCallChain/filter/splitOutFilterNotNull.kt | 2 +- .../loopToCallChain/filter/splitOutFilterNotNull.kt.after | 2 +- .../filter/splitOutFilterNotNull.kt.after2 | 2 +- .../loopToCallChain/filter/splitOutFilterNotNull2.kt | 2 +- .../filter/splitOutFilterNotNull2.kt.after | 2 +- .../filter/splitOutFilterNotNull2.kt.after2 | 2 +- .../intentions/loopToCallChain/firstOrNull/KT14292.kt | 2 +- .../loopToCallChain/firstOrNull/KT14292.kt.after | 2 +- .../firstOrNull/assignmentInitialization.kt | 2 +- .../firstOrNull/assignmentInitialization.kt.after | 2 +- .../loopToCallChain/firstOrNull/cannotUseLet.kt | 2 +- .../intentions/loopToCallChain/firstOrNull/ifAssign.kt | 2 +- .../loopToCallChain/firstOrNull/ifAssign.kt.after | 2 +- .../firstOrNull/ifAssign_breakWithLabel.kt | 2 +- .../loopToCallChain/firstOrNull/ifAssign_cannotBeVal.kt | 2 +- .../firstOrNull/ifAssign_cannotBeVal.kt.after | 2 +- .../firstOrNull/ifAssign_preserveComments.kt | 2 +- .../firstOrNull/ifAssign_preserveComments.kt.after | 2 +- .../firstOrNull/ifAssign_variableUsedBefore.kt | 2 +- .../intentions/loopToCallChain/firstOrNull/ifReturn.kt | 2 +- .../loopToCallChain/firstOrNull/ifReturn.kt.after | 2 +- .../intentions/loopToCallChain/firstOrNull/let.kt | 2 +- .../intentions/loopToCallChain/firstOrNull/let.kt.after | 2 +- .../intentions/loopToCallChain/firstOrNull/let2.kt | 2 +- .../intentions/loopToCallChain/firstOrNull/let2.kt.after | 2 +- .../loopToCallChain/firstOrNull/letOrNotNull.kt | 2 +- .../loopToCallChain/firstOrNull/letOrNotNull.kt.after | 2 +- .../intentions/loopToCallChain/firstOrNull/return.kt | 2 +- .../loopToCallChain/firstOrNull/return.kt.after | 2 +- .../loopToCallChain/firstOrNull/returnExpression.kt | 2 +- .../loopToCallChain/firstOrNull/returnExpression.kt.after | 2 +- .../firstOrNull/returnExpressionOrNotNull.kt | 2 +- .../firstOrNull/returnExpressionOrNotNull.kt.after | 2 +- .../loopToCallChain/firstOrNull/returnNotNullIfNone.kt | 2 +- .../firstOrNull/returnNotNullIfNone.kt.after | 2 +- .../loopToCallChain/firstOrNull/returnNotNullIfNone2.kt | 2 +- .../loopToCallChain/firstOrNull/return_comment.kt | 2 +- .../loopToCallChain/firstOrNull/return_comment.kt.after | 2 +- .../loopToCallChain/firstOrNull/safeDotExpression.kt | 2 +- .../firstOrNull/safeDotExpression.kt.after | 2 +- .../loopToCallChain/firstOrNull/withMergedFilter.kt | 2 +- .../loopToCallChain/firstOrNull/withMergedFilter.kt.after | 2 +- .../testData/intentions/loopToCallChain/flatMap/break.kt | 2 +- .../intentions/loopToCallChain/flatMap/break.kt.after | 2 +- .../intentions/loopToCallChain/flatMap/break.kt.after2 | 2 +- .../intentions/loopToCallChain/flatMap/continue.kt | 2 +- .../intentions/loopToCallChain/flatMap/continue.kt.after | 2 +- .../intentions/loopToCallChain/flatMap/continue.kt.after2 | 2 +- .../intentions/loopToCallChain/flatMap/flatMapTo.kt | 2 +- .../intentions/loopToCallChain/flatMap/flatMapTo.kt.after | 2 +- .../loopToCallChain/flatMap/flatMapTo.kt.after2 | 2 +- .../intentions/loopToCallChain/flatMap/flatMapTo2.kt | 2 +- .../loopToCallChain/flatMap/flatMapTo2.kt.after | 2 +- .../loopToCallChain/flatMap/flatMapTo2.kt.after2 | 2 +- .../intentions/loopToCallChain/flatMap/flatMapTo3.kt | 2 +- .../loopToCallChain/flatMap/flatMapTo3.kt.after | 2 +- .../loopToCallChain/flatMap/flatMapTo3.kt.after2 | 2 +- .../intentions/loopToCallChain/flatMap/indexUsed.kt | 2 +- .../intentions/loopToCallChain/flatMap/indexUsed.kt.after | 2 +- .../loopToCallChain/flatMap/indexUsed.kt.after2 | 2 +- .../loopToCallChain/flatMap/inputVarStillNeeded.kt | 2 +- .../intentions/loopToCallChain/flatMap/notIterable.kt | 2 +- .../testData/intentions/loopToCallChain/flatMap/simple.kt | 2 +- .../intentions/loopToCallChain/flatMap/simple.kt.after | 2 +- .../intentions/loopToCallChain/flatMap/simple.kt.after2 | 2 +- .../intentions/loopToCallChain/flatMap/wrongBreak.kt | 2 +- .../intentions/loopToCallChain/flatMap/wrongContinue.kt | 2 +- .../intentions/loopToCallChain/forEach/KT14341.kt | 2 +- .../intentions/loopToCallChain/forEach/KT14341.kt.after | 2 +- .../intentions/loopToCallChain/forEach/KT14341.kt.after2 | 2 +- .../intentions/loopToCallChain/forEach/KT21083.kt | 2 +- .../intentions/loopToCallChain/forEach/indexed.kt | 2 +- .../intentions/loopToCallChain/forEach/indexed.kt.after | 2 +- .../intentions/loopToCallChain/forEach/indexed.kt.after2 | 2 +- .../loopToCallChain/forEach/indexed_nothingElse.kt | 2 +- .../intentions/loopToCallChain/forEach/notAvailable.kt | 2 +- .../intentions/loopToCallChain/forEach/notIndexed.kt | 2 +- .../loopToCallChain/forEach/notIndexed.kt.after | 2 +- .../loopToCallChain/forEach/notIndexed.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/forEach/simple.kt | 2 +- .../intentions/loopToCallChain/forEach/simple.kt.after | 2 +- .../intentions/loopToCallChain/forEach/simple.kt.after2 | 2 +- .../intentions/loopToCallChain/indexOf/KT14303.kt | 2 +- .../intentions/loopToCallChain/indexOf/KT14303.kt.after | 2 +- .../intentions/loopToCallChain/indexOf/indexOf.kt | 2 +- .../intentions/loopToCallChain/indexOf/indexOf.kt.after | 2 +- .../loopToCallChain/indexOf/indexOfFirst_ifAssign.kt | 2 +- .../indexOf/indexOfFirst_ifAssign.kt.after | 2 +- .../loopToCallChain/indexOf/indexOfFirst_ifReturn.kt | 2 +- .../indexOf/indexOfFirst_ifReturn.kt.after | 2 +- .../indexOf/indexOfFirst_mustBeNoIndexInCondition.kt | 2 +- .../loopToCallChain/indexOf/indexOfLast_ifAssign.kt | 2 +- .../loopToCallChain/indexOf/indexOfLast_ifAssign.kt.after | 2 +- .../intentions/loopToCallChain/indexOf/lastIndexOf.kt | 2 +- .../loopToCallChain/indexOf/lastIndexOf.kt.after | 2 +- .../tests/testData/intentions/loopToCallChain/intArray.kt | 2 +- .../testData/intentions/loopToCallChain/intArray.kt.after | 2 +- .../introduceIndex/indexPlusPlusInsideExpression.kt | 2 +- .../introduceIndex/indexPlusPlusInsideExpression.kt.after | 2 +- .../indexPlusPlusInsideExpression.kt.after2 | 2 +- ...dexPlusPlusInsideExpression_indexUsedAfterIncrement.kt | 2 +- ...sPlusInsideExpression_indexUsedAfterIncrement.kt.after | 2 +- ...PlusInsideExpression_indexUsedAfterIncrement.kt.after2 | 2 +- ...exPlusPlusInsideExpression_indexUsedBeforeIncrement.kt | 2 +- ...PlusInsideExpression_indexUsedBeforeIncrement.kt.after | 2 +- ...lusInsideExpression_indexUsedBeforeIncrement.kt.after2 | 2 +- ...xPlusPlusInsideExpression_indexUsedBeforeIncrement2.kt | 2 +- ...lusInsideExpression_indexUsedBeforeIncrement2.kt.after | 2 +- ...usInsideExpression_indexUsedBeforeIncrement2.kt.after2 | 2 +- .../introduceIndex/indexPlusPlusIsNotLastStatement.kt | 2 +- .../indexPlusPlusIsNotLastStatement.kt.after | 2 +- .../indexPlusPlusIsNotLastStatement.kt.after2 | 2 +- ...xPlusPlusIsNotLastStatement_indexUsedAfterIncrement.kt | 2 +- .../loopToCallChain/introduceIndex/indexWithNestedLoop.kt | 2 +- .../introduceIndex/indexWithNestedLoop.kt.after | 2 +- .../introduceIndex/indexWithNestedLoop.kt.after2 | 2 +- .../introduceIndex/prefixIndexPlusPlusInsideExpression.kt | 2 +- .../prefixIndexPlusPlusInsideExpression.kt.after | 2 +- .../prefixIndexPlusPlusInsideExpression.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/itAlreadyUsed.kt | 2 +- .../intentions/loopToCallChain/itAlreadyUsed.kt.after | 2 +- .../intentions/loopToCallChain/lastOrNull_ifAssign.kt | 2 +- .../loopToCallChain/lastOrNull_ifAssign.kt.after | 2 +- .../testData/intentions/loopToCallChain/map/KT18816.kt | 2 +- .../testData/intentions/loopToCallChain/map/assignMap.kt | 2 +- .../intentions/loopToCallChain/map/assignMap.kt.after | 2 +- .../intentions/loopToCallChain/map/assignMap.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/map/assignMap2.kt | 2 +- .../intentions/loopToCallChain/map/assignMap2.kt.after | 2 +- .../intentions/loopToCallChain/map/assignMap2.kt.after2 | 2 +- .../tests/testData/intentions/loopToCallChain/map/map.kt | 2 +- .../testData/intentions/loopToCallChain/map/map.kt.after | 2 +- .../testData/intentions/loopToCallChain/map/map.kt.after2 | 2 +- .../intentions/loopToCallChain/map/mapAndFilterIndexed.kt | 2 +- .../loopToCallChain/map/mapAndFilterIndexed.kt.after | 2 +- .../loopToCallChain/map/mapAndFilterIndexed.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/map/mapIndexed.kt | 2 +- .../intentions/loopToCallChain/map/mapIndexed.kt.after | 2 +- .../intentions/loopToCallChain/map/mapIndexed.kt.after2 | 2 +- .../intentions/loopToCallChain/map/mapIndexedNotNull.kt | 2 +- .../loopToCallChain/map/mapIndexedNotNull.kt.after | 2 +- .../loopToCallChain/map/mapIndexedNotNull.kt.after2 | 2 +- .../intentions/loopToCallChain/map/mapIndexedNotNullTo.kt | 2 +- .../loopToCallChain/map/mapIndexedNotNullTo.kt.after | 2 +- .../map/mapIndexedNotNullTo_elvisContinue.kt | 2 +- .../map/mapIndexedNotNullTo_elvisContinue.kt.after | 2 +- .../map/mapIndexedNotNull_elvisContinue.kt | 2 +- .../map/mapIndexedNotNull_elvisContinue.kt.after | 2 +- .../map/mapIndexedNotNull_elvisContinue.kt.after2 | 2 +- .../intentions/loopToCallChain/map/mapIndexedTo.kt | 2 +- .../intentions/loopToCallChain/map/mapIndexedTo.kt.after | 2 +- .../loopToCallChain/map/mapIndexed_afterFilter.kt | 2 +- .../loopToCallChain/map/mapIndexed_afterFilter.kt.after | 2 +- .../loopToCallChain/map/mapIndexed_afterFilter.kt.after2 | 2 +- .../intentions/loopToCallChain/map/mapIndexed_twice.kt | 2 +- .../loopToCallChain/map/mapIndexed_twice.kt.after | 2 +- .../loopToCallChain/map/mapIndexed_twice.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/map/mapNotNull.kt | 2 +- .../intentions/loopToCallChain/map/mapNotNull.kt.after | 2 +- .../intentions/loopToCallChain/map/mapNotNull.kt.after2 | 2 +- .../intentions/loopToCallChain/map/mapNotNullTo.kt | 2 +- .../intentions/loopToCallChain/map/mapNotNullTo.kt.after | 2 +- .../loopToCallChain/map/mapNotNullTo_elvisContinue.kt | 2 +- .../map/mapNotNullTo_elvisContinue.kt.after | 2 +- .../loopToCallChain/map/mapNotNull_elvisContinue.kt | 2 +- .../loopToCallChain/map/mapNotNull_elvisContinue.kt.after | 2 +- .../map/mapNotNull_elvisContinue.kt.after2 | 2 +- .../map/mapNotNull_nestedLoopElvisContinue.kt | 2 +- .../map/mapNotNull_nestedLoopElvisContinue.kt.after | 2 +- .../map/mapNotNull_nestedLoopElvisContinue.kt.after2 | 2 +- .../loopToCallChain/map/mapNotNull_wrongElvisContinue.kt | 2 +- .../testData/intentions/loopToCallChain/map/mapTo.kt | 2 +- .../intentions/loopToCallChain/map/mapTo.kt.after | 2 +- .../intentions/loopToCallChain/map/mapTo.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/map/mapTo2.kt | 2 +- .../intentions/loopToCallChain/map/mapTo2.kt.after | 2 +- .../testData/intentions/loopToCallChain/map/mapTo3.kt | 2 +- .../intentions/loopToCallChain/map/mapTo3.kt.after | 2 +- .../intentions/loopToCallChain/map/mapTo3.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/map/mapTo4.kt | 2 +- .../intentions/loopToCallChain/map/mapTo4.kt.after | 2 +- .../intentions/loopToCallChain/map/mapTo4.kt.after2 | 2 +- .../loopToCallChain/map/mapTo_inputVarNotUsed.kt | 2 +- .../loopToCallChain/map/mapTo_inputVarNotUsed.kt.after | 2 +- .../loopToCallChain/map/mapTo_inputVarNotUsed.kt.after2 | 2 +- .../loopToCallChain/map/mapUsesOldIndexAfterFilter.kt | 2 +- .../testData/intentions/loopToCallChain/map/mapVar.kt | 2 +- .../intentions/loopToCallChain/map/mapVar.kt.after | 2 +- .../intentions/loopToCallChain/map/mapVar.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/map/map_var.kt | 2 +- .../loopToCallChain/map/map_variableStillNeeded.kt | 2 +- .../testData/intentions/loopToCallChain/maxMin/KT14210.kt | 2 +- .../intentions/loopToCallChain/maxMin/KT14210.kt.after | 2 +- .../intentions/loopToCallChain/maxMin/KT14210.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/maxMin/max1.kt | 2 +- .../intentions/loopToCallChain/maxMin/max1.kt.after | 2 +- .../intentions/loopToCallChain/maxMin/max1.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/maxMin/max2.kt | 2 +- .../intentions/loopToCallChain/maxMin/max2.kt.after | 2 +- .../intentions/loopToCallChain/maxMin/max2.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/maxMin/max3.kt | 2 +- .../intentions/loopToCallChain/maxMin/max3.kt.after | 2 +- .../intentions/loopToCallChain/maxMin/max3.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/maxMin/max4.kt | 2 +- .../intentions/loopToCallChain/maxMin/max4.kt.after | 2 +- .../testData/intentions/loopToCallChain/maxMin/max5.kt | 2 +- .../intentions/loopToCallChain/maxMin/max5.kt.after | 2 +- .../intentions/loopToCallChain/maxMin/max5.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/maxMin/max6.kt | 2 +- .../intentions/loopToCallChain/maxMin/max6.kt.after | 2 +- .../intentions/loopToCallChain/maxMin/max6.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/maxMin/max7.kt | 2 +- .../intentions/loopToCallChain/maxMin/max7.kt.after | 2 +- .../intentions/loopToCallChain/maxMin/max7.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/maxMin/min1.kt | 2 +- .../intentions/loopToCallChain/maxMin/min1.kt.after | 2 +- .../intentions/loopToCallChain/maxMin/min1.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/maxMin/min2.kt | 2 +- .../intentions/loopToCallChain/maxMin/min2.kt.after | 2 +- .../intentions/loopToCallChain/maxMin/min2.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/maxMin/min3.kt | 2 +- .../intentions/loopToCallChain/maxMin/min3.kt.after | 2 +- .../intentions/loopToCallChain/maxMin/min3.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/maxMin/min4.kt | 2 +- .../intentions/loopToCallChain/maxMin/min4.kt.after | 2 +- .../intentions/loopToCallChain/maxMin/min4.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/maxMin/min5.kt | 2 +- .../intentions/loopToCallChain/maxMin/min5.kt.after | 2 +- .../intentions/loopToCallChain/maxMin/min5.kt.after2 | 2 +- .../loopToCallChain/moveInitializationsCloserToLoop.kt | 2 +- .../moveInitializationsCloserToLoop.kt.after | 2 +- .../tests/testData/intentions/loopToCallChain/range.kt | 2 +- .../testData/intentions/loopToCallChain/range.kt.after | 2 +- .../loopToCallChain/smartCasts/errorOutsideLoop.kt | 2 +- .../loopToCallChain/smartCasts/errorOutsideLoop.kt.after | 2 +- .../loopToCallChain/smartCasts/errorOutsideLoop.kt.after2 | 2 +- .../loopToCallChain/smartCasts/smartCastNotBroken.kt | 2 +- .../smartCasts/smartCastNotBroken.kt.after | 2 +- .../smartCasts/smartCastNotBroken.kt.after2 | 2 +- .../loopToCallChain/smartCasts/smartCastNotBroken2.kt | 2 +- .../smartCasts/smartCastNotBroken2.kt.after | 2 +- .../smartCasts/smartCastNotBroken2.kt.after2 | 2 +- .../loopToCallChain/smartCasts/smartCastNotBroken3.kt | 2 +- .../smartCasts/smartCastNotBroken3.kt.after | 2 +- .../smartCasts/smartCastNotBroken3.kt.after2 | 2 +- .../loopToCallChain/smartCasts/smartCastNotBroken4.kt | 2 +- .../smartCasts/smartCastNotBroken4.kt.after | 2 +- .../smartCasts/smartCastNotBroken4.kt.after2 | 2 +- .../loopToCallChain/smartCasts/smartCastNotBroken5.kt | 2 +- .../smartCasts/smartCastNotBroken5.kt.after | 2 +- .../smartCasts/smartCastNotBroken5.kt.after2 | 2 +- .../smartCasts/smartCastNotNullRequired.kt | 2 +- .../loopToCallChain/smartCasts/smartCastNotRequired.kt | 2 +- .../smartCasts/smartCastNotRequired.kt.after | 2 +- .../smartCasts/smartCastNotRequired.kt.after2 | 2 +- .../loopToCallChain/smartCasts/smartCastRequired.kt | 2 +- .../loopToCallChain/smartCasts/smartCastRequired2.kt | 2 +- .../smartCasts/smartCastRequired2.kt.after | 2 +- .../smartCasts/smartCastRequired2.kt.after2 | 2 +- .../loopToCallChain/smartCasts/smartCastRequired3.kt | 2 +- .../loopToCallChain/smartCasts/smartCastRequired4.kt | 2 +- .../loopToCallChain/smartCasts/smartCastRequired5.kt | 2 +- .../loopToCallChain/smartCasts/smartCastRequired6.kt | 2 +- .../loopToCallChain/smartCasts/smartCastThisRequired.kt | 2 +- .../testData/intentions/loopToCallChain/sum/bytes.kt | 2 +- .../intentions/loopToCallChain/sum/bytes.kt.after | 2 +- .../testData/intentions/loopToCallChain/sum/doubles.kt | 2 +- .../intentions/loopToCallChain/sum/doubles.kt.after | 2 +- .../testData/intentions/loopToCallChain/sum/floats.kt | 2 +- .../intentions/loopToCallChain/sum/floats.kt.after | 2 +- .../intentions/loopToCallChain/sum/floatsIntoDouble.kt | 2 +- .../loopToCallChain/sum/floatsIntoDouble.kt.after | 2 +- .../testData/intentions/loopToCallChain/sum/indexUsed.kt | 2 +- .../intentions/loopToCallChain/sum/indexUsed.kt.after | 2 +- .../intentions/loopToCallChain/sum/indexUsed.kt.after2 | 2 +- .../testData/intentions/loopToCallChain/sum/indexUsed2.kt | 2 +- .../intentions/loopToCallChain/sum/indexUsed2.kt.after | 2 +- .../intentions/loopToCallChain/sum/indexUsed2.kt.after2 | 2 +- .../tests/testData/intentions/loopToCallChain/sum/ints.kt | 2 +- .../testData/intentions/loopToCallChain/sum/ints.kt.after | 2 +- .../testData/intentions/loopToCallChain/sum/longs.kt | 2 +- .../intentions/loopToCallChain/sum/longs.kt.after | 2 +- .../testData/intentions/loopToCallChain/sum/nonNumbers.kt | 2 +- .../intentions/loopToCallChain/sum/nonZeroInitial.kt | 2 +- .../loopToCallChain/sum/nonZeroInitial.kt.after | 2 +- .../testData/intentions/loopToCallChain/sum/short.kt | 2 +- .../intentions/loopToCallChain/sum/short.kt.after | 2 +- .../testData/intentions/loopToCallChain/sum/smartCast.kt | 2 +- .../intentions/loopToCallChain/sum/smartCast.kt.after | 2 +- .../intentions/loopToCallChain/sum/smartCast.kt.after2 | 2 +- .../intentions/loopToCallChain/sum/smartCastNotNull.kt | 2 +- .../loopToCallChain/sum/smartCastNotNull.kt.after | 2 +- .../loopToCallChain/sum/smartCastNotNull.kt.after2 | 2 +- .../intentions/loopToCallChain/sum/sumByDouble.kt | 2 +- .../intentions/loopToCallChain/sum/sumByDouble.kt.after | 2 +- .../testData/intentions/loopToCallChain/sum/sumByInts.kt | 2 +- .../intentions/loopToCallChain/sum/sumByInts.kt.after | 2 +- .../intentions/loopToCallChain/sum/sumByIntsIntoLong.kt | 2 +- .../loopToCallChain/sum/sumByIntsIntoLong.kt.after | 2 +- .../loopToCallChain/sum/sumByIntsIntoLong.kt.after2 | 2 +- .../intentions/loopToCallChain/sum/sumByShorts.kt | 2 +- .../intentions/loopToCallChain/sum/sumByShorts.kt.after | 2 +- .../intentions/loopToCallChain/sum/sumOfDouble.kt | 2 +- .../intentions/loopToCallChain/sum/sumOfDouble.kt.after | 2 +- .../testData/intentions/loopToCallChain/sum/sumOfInts.kt | 2 +- .../intentions/loopToCallChain/sum/sumOfInts.kt.after | 2 +- .../intentions/loopToCallChain/takeWhile/ifElse1.kt | 2 +- .../intentions/loopToCallChain/takeWhile/ifElse1.kt.after | 2 +- .../intentions/loopToCallChain/takeWhile/ifElse2.kt | 2 +- .../intentions/loopToCallChain/takeWhile/ifElse2.kt.after | 2 +- .../intentions/loopToCallChain/takeWhile/nestedLoop.kt | 2 +- .../loopToCallChain/takeWhile/nestedLoop.kt.after | 2 +- .../loopToCallChain/takeWhile/nestedLoop.kt.after2 | 2 +- .../intentions/loopToCallChain/takeWhile/simple.kt | 2 +- .../intentions/loopToCallChain/takeWhile/simple.kt.after | 2 +- .../intentions/loopToCallChain/takeWhile/simple.kt.after2 | 2 +- .../intentions/loopToCallChain/takeWhile/wrongBreak.kt | 2 +- .../intentions/loopToCallChain/toCollection/KT18881.kt | 2 +- .../loopToCallChain/toCollection/addAfterLoop.kt | 2 +- .../loopToCallChain/toCollection/addAfterLoop.kt.after | 2 +- .../loopToCallChain/toCollection/addToCollection.kt | 2 +- .../loopToCallChain/toCollection/addToCollection.kt.after | 2 +- .../loopToCallChain/toCollection/badReceiver1.kt | 2 +- .../loopToCallChain/toCollection/badReceiver2.kt | 2 +- .../loopToCallChain/toCollection/explicitValType.kt | 2 +- .../loopToCallChain/toCollection/explicitValType.kt.after | 2 +- .../loopToCallChain/toCollection/goodReceiver.kt | 2 +- .../loopToCallChain/toCollection/goodReceiver.kt.after | 2 +- .../toCollection/resultCollectionUsedInsideLoop.kt | 2 +- .../toCollection/resultCollectionUsedInsideLoop.kt.after | 2 +- .../toCollection/resultCollectionUsedInsideLoop.kt.after2 | 2 +- .../intentions/loopToCallChain/toCollection/toList.kt | 2 +- .../loopToCallChain/toCollection/toList.kt.after | 2 +- .../intentions/loopToCallChain/toCollection/toList2.kt | 2 +- .../loopToCallChain/toCollection/toList2.kt.after | 2 +- .../intentions/loopToCallChain/toCollection/toList3.kt | 2 +- .../loopToCallChain/toCollection/toList3.kt.after | 2 +- .../loopToCallChain/toCollection/toMutableSet.kt | 2 +- .../loopToCallChain/toCollection/toMutableSet.kt.after | 2 +- .../loopToCallChain/toCollection/toMutableSet2.kt | 2 +- .../loopToCallChain/toCollection/toMutableSet2.kt.after | 2 +- .../loopToCallChain/toCollection/toMutableSet3.kt | 2 +- .../loopToCallChain/toCollection/toMutableSet3.kt.after | 2 +- .../intentions/loopToCallChain/toCollection/toSet.kt | 2 +- .../loopToCallChain/toCollection/toSet.kt.after | 2 +- .../loopToCallChain/toCollection/toSetWithMap.kt | 2 +- .../loopToCallChain/toCollection/toSetWithMap.kt.after | 2 +- .../loopToCallChain/toCollection/toSetWithMap.kt.after2 | 2 +- .../loopToCallChain/twoInitializationsBeforeLoop.kt | 2 +- .../loopToCallChain/twoInitializationsBeforeLoop.kt.after | 2 +- .../twoInitializationsBeforeLoop.kt.after2 | 2 +- .../testData/intentions/moveMemberToTopLevel/function.kt | 2 +- .../intentions/moveMemberToTopLevel/function.kt.after | 2 +- .../moveMemberToTopLevel/functionInCompanion.kt | 2 +- .../moveMemberToTopLevel/functionInCompanion.kt.after | 2 +- .../testData/intentions/moveMemberToTopLevel/property.kt | 2 +- .../intentions/moveMemberToTopLevel/property.kt.after | 2 +- .../moveMemberToTopLevel/propertyInCompanion.kt | 2 +- .../moveMemberToTopLevel/propertyInCompanion.kt.after | 2 +- .../moveOutOfCompanion/companionAsImplicitReceiver.kt | 2 +- .../moveOutOfCompanion/hasJvmFieldInInterface.kt | 2 +- .../moveOutOfCompanion/moveFunctionWithExternalRefs.kt | 2 +- .../moveOutOfCompanion/movePropertyWithExternalRefs.kt | 2 +- .../intentions/movePropertyToConstructor/delegated.kt | 2 +- .../testData/intentions/movePropertyToConstructor/map.kt | 2 +- .../intentions/movePropertyToConstructor/map.kt.after | 2 +- .../intentions/moveToCompanion/doNotQualifyThisLabel.kt | 2 +- .../moveToCompanion/doNotQualifyThisLabel.kt.after | 2 +- .../intentions/objectLiteralToLambda/EmptyBody.kt | 2 +- .../intentions/objectLiteralToLambda/EmptyBody.kt.after | 2 +- .../intentions/objectLiteralToLambda/ExplicitThis.kt | 2 +- .../intentions/objectLiteralToLambda/ExpressionBody.kt | 2 +- .../objectLiteralToLambda/ExpressionBody.kt.after | 2 +- .../testData/intentions/objectLiteralToLambda/HasData.kt | 2 +- .../intentions/objectLiteralToLambda/ImplicitThis.kt | 2 +- .../intentions/objectLiteralToLambda/MultipleBases.kt | 2 +- .../objectLiteralToLambda/MultipleParameters.kt | 2 +- .../objectLiteralToLambda/MultipleParameters.kt.after | 2 +- .../objectLiteralToLambda/NoSamAdapterNeeded.kt | 2 +- .../objectLiteralToLambda/NoSamAdapterNeeded.kt.after | 2 +- .../intentions/objectLiteralToLambda/NotInRange1.kt | 2 +- .../intentions/objectLiteralToLambda/NotInRange2.kt | 2 +- .../intentions/objectLiteralToLambda/ParametersNotUsed.kt | 2 +- .../objectLiteralToLambda/ParametersNotUsed.kt.after | 2 +- .../objectLiteralToLambda/ParametersNotUsedMoreThanOne.kt | 2 +- .../ParametersNotUsedMoreThanOne.kt.after | 2 +- .../intentions/objectLiteralToLambda/QualifiedReturn.kt | 2 +- .../objectLiteralToLambda/QualifiedReturn.kt.after | 2 +- .../intentions/objectLiteralToLambda/Recursive.kt | 2 +- .../intentions/objectLiteralToLambda/ReturnNoValue.kt | 2 +- .../objectLiteralToLambda/ReturnNoValue.kt.after | 2 +- .../intentions/objectLiteralToLambda/ReturnNotLast.kt | 2 +- .../objectLiteralToLambda/ReturnNotLast.kt.after | 2 +- .../intentions/objectLiteralToLambda/ReturnsInIf.kt | 2 +- .../intentions/objectLiteralToLambda/ReturnsInIf.kt.after | 2 +- .../intentions/objectLiteralToLambda/ReturnsInWhen.kt | 2 +- .../objectLiteralToLambda/ReturnsInWhen.kt.after | 2 +- .../SamAdapterNeededBecauseOfLabeledReturn.kt | 2 +- .../SamAdapterNeededBecauseOfLabeledReturn.kt.after | 2 +- .../testData/intentions/objectLiteralToLambda/Simple.kt | 2 +- .../intentions/objectLiteralToLambda/Simple.kt.after | 2 +- .../intentions/objectLiteralToLambda/SingleReturn.kt | 2 +- .../objectLiteralToLambda/SingleReturn.kt.after | 2 +- .../objectLiteralToLambda/StatementAndReturn.kt | 2 +- .../objectLiteralToLambda/StatementAndReturn.kt.after | 2 +- .../intentions/objectLiteralToLambda/ThisReference.kt | 2 +- .../objectLiteralToLambda/ThisReference.kt.after | 2 +- .../intentions/objectLiteralToLambda/TwoFunctions.kt | 2 +- .../intentions/objectLiteralToLambda/WithComment.kt | 2 +- .../intentions/objectLiteralToLambda/WithComment.kt.after | 2 +- .../objectLiteralToLambda/WithCommentAfterExpression.kt | 2 +- .../WithCommentAfterExpression.kt.after | 2 +- .../testData/intentions/operatorToFunction/binaryNotIn.kt | 2 +- .../intentions/operatorToFunction/binaryNotIn.kt.after | 2 +- .../intentions/operatorToFunction/compoundAssignment2.kt | 2 +- .../operatorToFunction/compoundAssignment2.kt.after | 2 +- .../invokeOnAnonymousFunctionWithReceiver2.kt | 2 +- .../invokeOnAnonymousFunctionWithReceiver2.kt.after | 2 +- .../notApplicableFunctionCallWithCallableReference.kt | 2 +- .../removeBraces/elseInDotQualifiedExpression.kt | 2 +- .../removeBraces/elseInDotQualifiedExpression.kt.after | 2 +- .../intentions/removeBraces/elseInPlusAssignExpression.kt | 2 +- .../removeBraces/elseInPlusAssignExpression.kt.after | 2 +- .../intentions/removeBraces/ifInDotQualifiedExpression.kt | 2 +- .../removeBraces/ifInDotQualifiedExpression.kt.after | 2 +- .../removeBraces/whenInDotQualifiedExpression.kt | 2 +- .../removeBraces/whenInDotQualifiedExpression.kt.after | 2 +- .../removeEmptyParenthesesFromLambdaCall/simple.kt | 2 +- .../removeEmptyParenthesesFromLambdaCall/simple.kt.after | 2 +- .../intentions/removeExplicitType/lambdaInitializer5.kt | 2 +- .../intentions/removeExplicitType/needTypeArgument.kt | 2 +- .../removeExplicitType/needTypeArgument.kt.after | 2 +- .../intentions/removeExplicitType/removeUnresolvedType.kt | 2 +- .../removeExplicitType/removeUnresolvedType.kt.after | 2 +- .../intentions/removeExplicitTypeArguments/blockValue.kt | 2 +- .../removeExplicitTypeArguments/blockValue.kt.after | 2 +- .../removeExplicitTypeArguments/defaultParamValue.kt | 2 +- .../defaultParamValue.kt.after | 2 +- .../intentions/removeExplicitTypeArguments/getterBody.kt | 2 +- .../removeExplicitTypeArguments/getterBody.kt.after | 2 +- .../removeExplicitTypeArguments/hasAnnotation.kt | 2 +- .../removeExplicitTypeArguments/insideDeepOtherCall.kt | 2 +- .../insideDeepOtherCall.kt.after | 2 +- .../removeExplicitTypeArguments/insideGenericCall.kt | 2 +- .../removeExplicitTypeArguments/insideOtherCall.kt | 2 +- .../removeExplicitTypeArguments/insideOtherCall.kt.after | 2 +- .../inspectionData/inspections.test | 2 +- .../intentions/removeExplicitTypeArguments/kt29735.kt | 2 +- .../removeExplicitTypeArguments/kt29735.kt.after | 2 +- .../intentions/removeExplicitTypeArguments/lambdaValue.kt | 2 +- .../removeExplicitTypeArguments/lambdaValue.kt.after | 2 +- .../removeExplicitTypeArguments/platforrmType1.kt | 2 +- .../removeExplicitTypeArguments/platforrmType2.kt | 2 +- .../removeExplicitTypeArguments/twoArguments.kt | 2 +- .../removeExplicitTypeArguments/twoArguments.kt.after | 2 +- .../removeForLoopIndices/inapplicableIndexUse.kt | 2 +- .../removeForLoopIndices/inapplicableOverridenFunction.kt | 2 +- .../intentions/removeForLoopIndices/loopWithType.kt | 2 +- .../intentions/removeForLoopIndices/loopWithType.kt.after | 2 +- .../removeForLoopIndices/simpleLoopWithIndices.kt | 2 +- .../removeForLoopIndices/simpleLoopWithIndices.kt.after | 2 +- .../simpleLoopWithIndicesOverCharSequence.kt | 2 +- .../simpleLoopWithIndicesOverCharSequence.kt.after | 2 +- .../simpleLoopWithIndicesOverSequence.kt | 2 +- .../simpleLoopWithIndicesOverSequence.kt.after | 2 +- .../removeLabeledReturnInLambda/labeledLambda.kt | 2 +- .../removeLabeledReturnInLambda/labeledLambda.kt.after | 2 +- .../removeLabeledReturnInLambda/multipleBlocks.kt | 2 +- .../removeLabeledReturnInLambda/multipleBlocks.kt.after | 2 +- .../intentions/removeLabeledReturnInLambda/normal.kt | 2 +- .../removeLabeledReturnInLambda/normal.kt.after | 2 +- .../removeLabeledReturnInLambda/notInsideLabeled.kt | 2 +- .../intentions/removeLabeledReturnInLambda/notLabeled.kt | 2 +- .../intentions/removeLabeledReturnInLambda/notLastLine.kt | 2 +- .../intentions/removeLabeledReturnInLambda/outerLambda.kt | 2 +- .../intentions/removeLabeledReturnInLambda/unit.kt | 2 +- .../intentions/removeLabeledReturnInLambda/unit.kt.after | 2 +- .../removeRedundantCallsOfConversionMethods/byte.kt | 2 +- .../removeRedundantCallsOfConversionMethods/byte.kt.after | 2 +- .../removeRedundantCallsOfConversionMethods/char.kt | 2 +- .../removeRedundantCallsOfConversionMethods/char.kt.after | 2 +- .../removeRedundantCallsOfConversionMethods/double.kt | 2 +- .../double.kt.after | 2 +- .../removeRedundantCallsOfConversionMethods/float.kt | 2 +- .../float.kt.after | 2 +- .../removeRedundantCallsOfConversionMethods/int.kt | 2 +- .../removeRedundantCallsOfConversionMethods/int.kt.after | 2 +- .../removeRedundantCallsOfConversionMethods/long.kt | 2 +- .../removeRedundantCallsOfConversionMethods/long.kt.after | 2 +- .../removeRedundantCallsOfConversionMethods/nullable.kt | 2 +- .../removeRedundantCallsOfConversionMethods/nullable2.kt | 2 +- .../removeRedundantCallsOfConversionMethods/safeString.kt | 2 +- .../safeString.kt.after | 2 +- .../safeString2.kt | 2 +- .../safeString2.kt.after | 2 +- .../removeRedundantCallsOfConversionMethods/short.kt | 2 +- .../short.kt.after | 2 +- .../removeRedundantCallsOfConversionMethods/string.kt | 2 +- .../string.kt.after | 2 +- .../toOtherType.kt | 2 +- .../removeRedundantCallsOfConversionMethods/uByte.kt | 2 +- .../uByte.kt.after | 2 +- .../removeRedundantCallsOfConversionMethods/uInt.kt | 2 +- .../removeRedundantCallsOfConversionMethods/uInt.kt.after | 2 +- .../removeRedundantCallsOfConversionMethods/uLong.kt | 2 +- .../uLong.kt.after | 2 +- .../removeRedundantCallsOfConversionMethods/uShort.kt | 2 +- .../uShort.kt.after | 2 +- .../removeRedundantCallsOfConversionMethods/variable.kt | 2 +- .../variable.kt.after | 2 +- .../intentions/removeUnnecessaryParentheses/elvisRhs.kt | 2 +- .../removeUnnecessaryParentheses/elvisRhsEmptyReturn.kt | 2 +- .../testData/intentions/replaceAddWithPlusAssign/add.kt | 2 +- .../intentions/replaceAddWithPlusAssign/add.kt.after | 2 +- .../intentions/replaceAddWithPlusAssign/addAll.kt | 2 +- .../intentions/replaceAddWithPlusAssign/addAll.kt.after | 2 +- .../intentions/replaceAddWithPlusAssign/addAllAtIndex.kt | 2 +- .../intentions/replaceAddWithPlusAssign/addAllToVar.kt | 2 +- .../intentions/replaceAddWithPlusAssign/addAtIndex.kt | 2 +- .../intentions/replaceAddWithPlusAssign/addToVar.kt | 2 +- .../notApplicable_hasDestructuringDeclaration.kt | 2 +- .../intentions/replaceSizeCheckWithIsNotEmpty/array.kt | 2 +- .../replaceSizeCheckWithIsNotEmpty/array.kt.after | 2 +- .../intentions/replaceSizeCheckWithIsNotEmpty/array2.kt | 2 +- .../replaceSizeCheckWithIsNotEmpty/array2.kt.after | 2 +- .../replaceSizeCheckWithIsNotEmpty/collection.kt | 2 +- .../replaceSizeCheckWithIsNotEmpty/collection.kt.after | 2 +- .../intentions/replaceSizeCheckWithIsNotEmpty/gt.kt | 2 +- .../intentions/replaceSizeCheckWithIsNotEmpty/gt.kt.after | 2 +- .../intentions/replaceSizeCheckWithIsNotEmpty/gteq.kt | 2 +- .../replaceSizeCheckWithIsNotEmpty/gteq.kt.after | 2 +- .../intentions/replaceSizeCheckWithIsNotEmpty/list.kt | 2 +- .../replaceSizeCheckWithIsNotEmpty/list.kt.after | 2 +- .../intentions/replaceSizeCheckWithIsNotEmpty/list2.kt | 2 +- .../replaceSizeCheckWithIsNotEmpty/list2.kt.after | 2 +- .../replaceSizeCheckWithIsNotEmpty/listCount.kt | 2 +- .../replaceSizeCheckWithIsNotEmpty/listCount.kt.after | 2 +- .../listCountWithPredicate.kt | 2 +- .../intentions/replaceSizeCheckWithIsNotEmpty/lt.kt | 2 +- .../intentions/replaceSizeCheckWithIsNotEmpty/lt.kt.after | 2 +- .../intentions/replaceSizeCheckWithIsNotEmpty/lteq.kt | 2 +- .../replaceSizeCheckWithIsNotEmpty/lteq.kt.after | 2 +- .../intentions/replaceSizeCheckWithIsNotEmpty/map.kt | 2 +- .../replaceSizeCheckWithIsNotEmpty/map.kt.after | 2 +- .../replaceSizeCheckWithIsNotEmpty/oppositeSign.kt | 2 +- .../replaceSizeCheckWithIsNotEmpty/oppositeSign2.kt | 2 +- .../replaceSizeCheckWithIsNotEmpty/primitiveArray.kt | 2 +- .../primitiveArray.kt.after | 2 +- .../intentions/replaceSizeCheckWithIsNotEmpty/set.kt | 2 +- .../replaceSizeCheckWithIsNotEmpty/set.kt.after | 2 +- .../replaceSizeCheckWithIsNotEmpty/sizeCheck.kt | 2 +- .../intentions/replaceSizeCheckWithIsNotEmpty/string.kt | 2 +- .../replaceSizeCheckWithIsNotEmpty/string.kt.after | 2 +- .../intentions/replaceSizeCheckWithIsNotEmpty/string2.kt | 2 +- .../replaceSizeCheckWithIsNotEmpty/string2.kt.after | 2 +- .../replaceSizeCheckWithIsNotEmpty/stringCount.kt | 2 +- .../replaceSizeCheckWithIsNotEmpty/stringCount.kt.after | 2 +- .../intentions/replaceSizeZeroCheckWithIsEmpty/array.kt | 2 +- .../replaceSizeZeroCheckWithIsEmpty/array.kt.after | 2 +- .../intentions/replaceSizeZeroCheckWithIsEmpty/array2.kt | 2 +- .../replaceSizeZeroCheckWithIsEmpty/array2.kt.after | 2 +- .../intentions/replaceSizeZeroCheckWithIsEmpty/gt.kt | 2 +- .../replaceSizeZeroCheckWithIsEmpty/gt.kt.after | 2 +- .../intentions/replaceSizeZeroCheckWithIsEmpty/gteq.kt | 2 +- .../replaceSizeZeroCheckWithIsEmpty/gteq.kt.after | 2 +- .../intentions/replaceSizeZeroCheckWithIsEmpty/list.kt | 2 +- .../replaceSizeZeroCheckWithIsEmpty/list.kt.after | 2 +- .../intentions/replaceSizeZeroCheckWithIsEmpty/list2.kt | 2 +- .../replaceSizeZeroCheckWithIsEmpty/list2.kt.after | 2 +- .../replaceSizeZeroCheckWithIsEmpty/listCount.kt | 2 +- .../replaceSizeZeroCheckWithIsEmpty/listCount.kt.after | 2 +- .../listCountWithPredicate.kt | 2 +- .../intentions/replaceSizeZeroCheckWithIsEmpty/lt.kt | 2 +- .../replaceSizeZeroCheckWithIsEmpty/lt.kt.after | 2 +- .../intentions/replaceSizeZeroCheckWithIsEmpty/lteq.kt | 2 +- .../replaceSizeZeroCheckWithIsEmpty/lteq.kt.after | 2 +- .../intentions/replaceSizeZeroCheckWithIsEmpty/set.kt | 2 +- .../replaceSizeZeroCheckWithIsEmpty/set.kt.after | 2 +- .../replaceSizeZeroCheckWithIsEmpty/sizeCheck.kt | 2 +- .../intentions/replaceSizeZeroCheckWithIsEmpty/string.kt | 2 +- .../replaceSizeZeroCheckWithIsEmpty/string.kt.after | 2 +- .../intentions/replaceSizeZeroCheckWithIsEmpty/string2.kt | 2 +- .../replaceSizeZeroCheckWithIsEmpty/string2.kt.after | 2 +- .../replaceSizeZeroCheckWithIsEmpty/stringCount.kt | 2 +- .../replaceSizeZeroCheckWithIsEmpty/stringCount.kt.after | 2 +- .../replaceUnderscoreWithParameterName/conflict.kt | 2 +- .../replaceUnderscoreWithParameterName/conflict.kt.after | 2 +- .../intentions/replaceUnderscoreWithParameterName/map.kt | 2 +- .../replaceUnderscoreWithParameterName/map.kt.after | 2 +- .../replaceUnderscoreWithParameterName/triple.kt | 2 +- .../replaceUnderscoreWithParameterName/triple.kt.after | 2 +- .../testData/intentions/replaceUntilWithRangeTo/simple.kt | 2 +- .../intentions/replaceUntilWithRangeTo/simple.kt.after | 2 +- .../replaceWithOrdinaryAssignment/mutableList.kt | 2 +- .../samConversionToAnonymousObject/typeArgument3.kt | 2 +- .../samConversionToAnonymousObject/typeArgument3.kt.after | 2 +- .../samConversionToAnonymousObject/typeArgument4.kt | 2 +- .../samConversionToAnonymousObject/typeArgument4.kt.after | 2 +- .../intentions/simplifyBooleanWithConstants/assert.kt | 2 +- .../simplifyBooleanWithConstants/assert.kt.after | 2 +- .../simplifyBooleanWithConstants/flexibleBoolean.kt | 2 +- .../specifyExplicitLambdaSignature/noParameters.kt | 2 +- .../specifyExplicitLambdaSignature/noParameters.kt.after | 2 +- .../shortenReferencesForParams.kt | 2 +- .../shortenReferencesForParams.kt.after | 2 +- .../intentions/specifyTypeExplicitly/classNameClashing.kt | 2 +- .../specifyTypeExplicitly/classNameClashing.kt.after | 2 +- .../genericClassWithTypeParameters.kt | 2 +- .../genericClassWithTypeParameters.kt.after | 2 +- .../genericClassWithTypeParameters2.kt | 2 +- .../genericClassWithTypeParameters2.kt.after | 2 +- .../intentions/specifyTypeExplicitly/loopParameter.kt | 2 +- .../specifyTypeExplicitly/loopParameter.kt.after | 2 +- .../specifyTypeExplicitly/overrideNotNullFunction.kt | 2 +- .../overrideNotNullFunction.kt.after | 2 +- .../specifyTypeExplicitly/overrideNotNullProperty.kt | 2 +- .../overrideNotNullProperty.kt.after | 2 +- .../specifyTypeExplicitly/overrideNullableFunction.kt | 2 +- .../overrideNullableFunction.kt.after | 2 +- .../specifyTypeExplicitly/overrideNullableProperty.kt | 2 +- .../overrideNullableProperty.kt.after | 2 +- .../intentions/specifyTypeExplicitly/publicMember.kt | 2 +- .../specifyTypeExplicitlyInDestructuringAssignment/in.kt | 2 +- .../in.kt.after | 2 +- .../lambda.kt | 2 +- .../lambda.kt.after | 2 +- .../lambdaHasSignature.kt | 2 +- .../lambdaHasSignature.kt.after | 2 +- .../variableHasAllTypes.kt | 2 +- .../variableHasNoTypes.kt | 2 +- .../variableHasNoTypes.kt.after | 2 +- .../variableHasTypes.kt | 2 +- .../variableHasTypes.kt.after | 2 +- .../variableHasUnderscore.kt | 2 +- .../variableHasUnderscore.kt.after | 2 +- .../swapStringEqualsIgnoreCase/equalsIgnoreCase.kt | 2 +- .../swapStringEqualsIgnoreCase/equalsIgnoreCase.kt.after | 2 +- .../swapStringEqualsIgnoreCase/nullableReceiver.kt | 2 +- .../intentions/toInfixCall/singlePackageFunctionCall.kt | 2 +- .../toOrdinaryStringLiteral/quotesInExpression.kt | 2 +- .../toOrdinaryStringLiteral/quotesInExpression.kt.after | 2 +- .../intentions/toOrdinaryStringLiteral/trimIndent1.kt | 2 +- .../toOrdinaryStringLiteral/trimIndent1.kt.after | 2 +- .../intentions/toOrdinaryStringLiteral/trimIndent10.kt | 2 +- .../toOrdinaryStringLiteral/trimIndent10.kt.after | 2 +- .../intentions/toOrdinaryStringLiteral/trimIndent11.kt | 2 +- .../toOrdinaryStringLiteral/trimIndent11.kt.after | 2 +- .../intentions/toOrdinaryStringLiteral/trimIndent2.kt | 2 +- .../toOrdinaryStringLiteral/trimIndent2.kt.after | 2 +- .../intentions/toOrdinaryStringLiteral/trimIndent3.kt | 2 +- .../toOrdinaryStringLiteral/trimIndent3.kt.after | 2 +- .../intentions/toOrdinaryStringLiteral/trimIndent4.kt | 2 +- .../toOrdinaryStringLiteral/trimIndent4.kt.after | 2 +- .../intentions/toOrdinaryStringLiteral/trimIndent5.kt | 2 +- .../toOrdinaryStringLiteral/trimIndent5.kt.after | 2 +- .../intentions/toOrdinaryStringLiteral/trimIndent6.kt | 2 +- .../toOrdinaryStringLiteral/trimIndent6.kt.after | 2 +- .../intentions/toOrdinaryStringLiteral/trimIndent7.kt | 2 +- .../toOrdinaryStringLiteral/trimIndent7.kt.after | 2 +- .../intentions/toOrdinaryStringLiteral/trimIndent8.kt | 2 +- .../toOrdinaryStringLiteral/trimIndent8.kt.after | 2 +- .../intentions/toOrdinaryStringLiteral/trimIndent9.kt | 2 +- .../toOrdinaryStringLiteral/trimIndent9.kt.after | 2 +- .../intentions/toOrdinaryStringLiteral/trimMargin1.kt | 2 +- .../toOrdinaryStringLiteral/trimMargin1.kt.after | 2 +- .../intentions/toOrdinaryStringLiteral/trimMargin2.kt | 2 +- .../toOrdinaryStringLiteral/trimMargin2.kt.after | 2 +- .../intentions/toOrdinaryStringLiteral/trimMargin3.kt | 2 +- .../toOrdinaryStringLiteral/trimMargin3.kt.after | 2 +- .../intentions/toOrdinaryStringLiteral/trimMargin4.kt | 2 +- .../toOrdinaryStringLiteral/trimMargin4.kt.after | 2 +- .../underscoresInNumericLiteral/addUnderscores/uInt.kt | 2 +- .../addUnderscores/uInt.kt.after | 2 +- .../accessThroughKotlinClassInstance.kt | 2 +- .../accessThroughKotlinClassInstance.kt.after | 2 +- .../accessThroughKotlinClassInstanceWithOverride.kt | 2 +- .../accessThroughKotlinClassInstanceWithOverride.kt.after | 2 +- .../intentions/usePropertyAccessSyntax/conflict1.kt | 2 +- .../intentions/usePropertyAccessSyntax/conflict2.kt | 2 +- .../intentions/usePropertyAccessSyntax/conflict2.kt.after | 2 +- .../usePropertyAccessSyntax/genericClassMethod.kt | 2 +- .../usePropertyAccessSyntax/genericClassMethod.kt.after | 2 +- .../testData/intentions/usePropertyAccessSyntax/get.kt | 2 +- .../intentions/usePropertyAccessSyntax/get.kt.after | 2 +- .../usePropertyAccessSyntax/getImplicitReceiver.kt | 2 +- .../usePropertyAccessSyntax/getImplicitReceiver.kt.after | 2 +- .../intentions/usePropertyAccessSyntax/getSafeCall.kt | 2 +- .../usePropertyAccessSyntax/getSafeCall.kt.after | 2 +- .../testData/intentions/usePropertyAccessSyntax/isGet.kt | 2 +- .../intentions/usePropertyAccessSyntax/isGet.kt.after | 2 +- .../testData/intentions/usePropertyAccessSyntax/isSet.kt | 2 +- .../intentions/usePropertyAccessSyntax/isSet.kt.after | 2 +- .../intentions/usePropertyAccessSyntax/nonVoidSetter1.kt | 2 +- .../intentions/usePropertyAccessSyntax/nonVoidSetter2.kt | 2 +- .../propertyTypeIsMoreSpecific1.kt | 2 +- .../propertyTypeIsMoreSpecific2.kt | 2 +- .../propertyTypeIsMoreSpecific2.kt.after | 2 +- .../testData/intentions/usePropertyAccessSyntax/set.kt | 2 +- .../intentions/usePropertyAccessSyntax/set.kt.after | 2 +- .../setAnonymouseFunctionArgument.kt | 2 +- .../usePropertyAccessSyntax/setAsExpressionBody.kt | 2 +- .../usePropertyAccessSyntax/setAsExpressionBody.kt.after | 2 +- .../setAsExpressionBodyProperty.kt | 2 +- .../setAsExpressionBodyProperty.kt.after | 2 +- .../setAsExpressionBodyUnqualified.kt | 2 +- .../setAsExpressionBodyUnqualified.kt.after | 2 +- .../setFunctionReferenceArgument.kt | 2 +- .../usePropertyAccessSyntax/setImplicitReceiver.kt | 2 +- .../usePropertyAccessSyntax/setImplicitReceiver.kt.after | 2 +- .../usePropertyAccessSyntax/setLambdaArgument.kt | 2 +- .../usePropertyAccessSyntax/setLambdaArgument2.kt | 2 +- .../intentions/usePropertyAccessSyntax/setSafeCall.kt | 2 +- .../usePropertyAccessSyntax/setSafeCall.kt.after | 2 +- .../intentions/usePropertyAccessSyntax/smartCast.kt | 2 +- .../intentions/usePropertyAccessSyntax/smartCast.kt.after | 2 +- .../intentions/usePropertyAccessSyntax/superCall.kt | 2 +- .../suppressedByAtomicIntegerList.kt | 2 +- .../usePropertyAccessSyntax/suppressedByAtomicLongList.kt | 2 +- .../suppressedByNotPropertyList.kt | 2 +- .../usePropertyAccessSyntax/typeParameterReceiver.kt | 2 +- .../typeParameterReceiver.kt.after | 2 +- .../testData/intentions/useWithIndex/alreadyWithIndex.kt | 2 +- .../intentions/useWithIndex/customTypeWithIterator.kt | 2 +- .../intentions/useWithIndex/destructuringDeclaration.kt | 2 +- .../intentions/useWithIndex/indexIncrementTwice.kt | 2 +- .../useWithIndex/indexPlusPlusInsideExpression.kt | 2 +- .../useWithIndex/indexPlusPlusInsideExpression.kt.after | 2 +- .../intentions/useWithIndex/indexUsedAfterLoop.kt | 2 +- .../useWithIndex/prefixPlusPlusInsideExpression.kt | 2 +- .../useWithIndex/prefixPlusPlusInsideExpression.kt.after | 2 +- .../idea/tests/testData/intentions/useWithIndex/simple.kt | 2 +- .../testData/intentions/useWithIndex/simple.kt.after | 2 +- .../kdoc/resolve/QualifiedNameFunctionReference.kt | 2 +- .../tests/testData/kdoc/resolve/QualifiedNameReference.kt | 2 +- .../ExtendClassWithJvmDefaultImplementation.txt | 2 +- .../ExtendInterfaceWithAJvmStaticMethodInCompanion.txt | 2 +- .../javaAgainstKotlin/InterfaceWithJvmStatic.txt | 2 +- .../javaAgainstKotlin/JvmOverloadsFunctions.txt | 2 +- .../javaAgainstKotlin/MyFunctionType.txt | 2 +- .../javaAgainstKotlin/ThrowsOnGenericMethod.txt | 2 +- .../annotations/ConstructorCallWithUseSite.kt | 2 +- .../parameterInfo/functionCall/NoShadowedDeclarations.kt | 2 +- .../functionCall/NoSynthesizedParameterNames.kt | 2 +- .../testData/parameterInfo/typeArguments/Constraints.kt | 2 +- .../testData/parameterInfo/typeArguments/JavaClass.kt | 2 +- .../codeFragmentAutoImport/ExtensionFun.kt | 2 +- .../testData/quickfix/addAnnotationTarget/fromLib.kt | 2 +- .../quickfix/addAnnotationTarget/use-site_delegate.kt | 2 +- .../addAnnotationTarget/use-site_delegate.kt.after | 2 +- .../use-site_field_member_with_delegate.kt | 2 +- .../use-site_field_toplevel_with_delegate.kt | 2 +- .../idea/tests/testData/quickfix/addDataModifier/test3.kt | 2 +- .../testData/quickfix/addDataModifier/test3.kt.after | 2 +- .../idea/tests/testData/quickfix/addDataModifier/test4.kt | 2 +- .../testData/quickfix/addDataModifier/test4.kt.after | 2 +- .../tests/testData/quickfix/addExclExclCall/implicit2.kt | 2 +- .../testData/quickfix/addExclExclCall/implicit2.kt.after | 2 +- .../quickfix/addExclExclCall/implicitFunctionCall.kt | 2 +- .../addExclExclCall/implicitFunctionCall.kt.after | 2 +- .../tests/testData/quickfix/addExclExclCall/normal2.kt | 2 +- .../testData/quickfix/addExclExclCall/normal2.kt.after | 2 +- .../testData/quickfix/addExclExclCall/operationIn.kt | 2 +- .../quickfix/addExclExclCall/operationIn.kt.after | 2 +- .../quickfix/addGenericUpperBound/kClassRuntime.kt | 2 +- .../quickfix/addGenericUpperBound/kClassRuntime.kt.after | 2 +- .../addInitializer/memberPropertyWithDelegateRuntime.kt | 2 +- .../quickfix/addInitializer/topLevelPropertyVarClass.kt | 2 +- .../addInitializer/topLevelPropertyVarClass.kt.after | 2 +- .../addInitializer/topLevelPropertyWithDelegateRuntime.kt | 2 +- .../testData/quickfix/addJvmDefault/functionOverride.kt | 2 +- .../quickfix/addJvmDefault/functionOverride.kt.after | 2 +- .../quickfix/addJvmDefault/javaDefaultOverride.after.kt | 2 +- .../addJvmDefault/javaDefaultOverride.before.Main.kt | 2 +- .../testData/quickfix/addJvmDefault/propertyOverride.kt | 2 +- .../quickfix/addJvmDefault/propertyOverride.kt.after | 2 +- .../tests/testData/quickfix/addJvmNameAnnotation/basic.kt | 2 +- .../testData/quickfix/addJvmNameAnnotation/basic.kt.after | 2 +- .../testData/quickfix/addJvmNameAnnotation/extension.kt | 2 +- .../quickfix/addJvmNameAnnotation/extension.kt.after | 2 +- .../testData/quickfix/addJvmNameAnnotation/extension2.kt | 2 +- .../quickfix/addJvmNameAnnotation/extension2.kt.after | 2 +- .../testData/quickfix/addJvmNameAnnotation/extension3.kt | 2 +- .../quickfix/addJvmNameAnnotation/extension3.kt.after | 2 +- .../quickfix/addJvmNameAnnotation/hasAnnotation.kt | 2 +- .../quickfix/addJvmNameAnnotation/hasAnnotation.kt.after | 2 +- .../quickfix/addJvmNameAnnotation/hasAnnotation2.kt | 2 +- .../quickfix/addJvmNameAnnotation/hasAnnotation2.kt.after | 2 +- .../testData/quickfix/addJvmNameAnnotation/topLevel.kt | 2 +- .../quickfix/addJvmNameAnnotation/topLevel.kt.after | 2 +- .../testData/quickfix/addJvmStaticAnnotation/function.kt | 2 +- .../quickfix/addJvmStaticAnnotation/function.kt.after | 2 +- .../testData/quickfix/addJvmStaticAnnotation/property.kt | 2 +- .../quickfix/addJvmStaticAnnotation/property.kt.after | 2 +- .../tests/testData/quickfix/addPropertyAccessors/val.kt | 2 +- .../testData/quickfix/addPropertyAccessors/val.kt.after | 2 +- .../tests/testData/quickfix/addPropertyAccessors/var.kt | 2 +- .../testData/quickfix/addPropertyAccessors/var.kt.after | 2 +- .../quickfix/addPropertyAccessors/varHasSetter.kt | 2 +- .../quickfix/addPropertyAccessors/varHasSetter.kt.after | 2 +- .../secondTypeParameter.kt | 2 +- .../secondTypeParameter.kt.after | 2 +- .../toTypedArray.kt | 2 +- .../toTypedArray.kt.after | 2 +- .../addReturnToLastExpressionInFunction/subtype.kt | 2 +- .../addReturnToLastExpressionInFunction/subtype.kt.after | 2 +- .../addReturnToLastExpressionInFunction/typeError.kt | 2 +- .../addReturnToLastExpressionInFunction/typeError2.kt | 2 +- .../addReturnToUnusedLastExpressionInFunction/subtype.kt | 2 +- .../subtype.kt.after | 2 +- .../typeError.kt | 2 +- .../typeError2.kt | 2 +- .../tests/testData/quickfix/addRunBeforeLambda/basic.kt | 2 +- .../testData/quickfix/addRunBeforeLambda/basic.kt.after | 2 +- .../withError.test | 2 +- .../withWarning.test | 4 ++-- .../withoutWarning.test | 2 +- .../testData/quickfix/assignToProperty/qualifiedThis.kt | 2 +- .../quickfix/assignToProperty/qualifiedThis.kt.after | 2 +- .../ImportOperatorInvokeWithConvention.after.kt | 2 +- .../ImportOperatorInvokeWithConvention.before.Main.kt | 2 +- .../testData/quickfix/autoImports/builtInFunction.kt | 2 +- .../quickfix/autoImports/builtInFunctionAlreadyExists.kt | 2 +- .../multipleReceiversSingleCandidate1.kt | 2 +- .../multipleReceiversSingleCandidate1.kt.after | 2 +- .../multipleReceiversSingleCandidate2.kt | 2 +- .../multipleReceiversSingleCandidate2.kt.after | 2 +- .../testData/quickfix/autoImports/dslMarkers.after.kt | 2 +- .../quickfix/autoImports/dslMarkers.before.Main.kt | 2 +- .../quickfix/autoImports/dslMarkersOnReceiver.after.kt | 2 +- .../autoImports/dslMarkersOnReceiver.before.Main.kt | 2 +- .../quickfix/autoImports/excludedCoroutineImpl.kt | 2 +- .../quickfix/autoImports/excludedCoroutineIntrinsics.kt | 2 +- .../quickfix/autoImports/excludedFromImport.after | 2 +- .../testData/quickfix/autoImports/excludedFromImport.kt | 2 +- .../quickfix/autoImports/importAliasLetAlreadyExists.kt | 2 +- .../autoImports/importAliasLetAlreadyExists.kt.after | 2 +- .../importGetValueExtensionForDelegateWithLambda.after.kt | 2 +- ...tGetValueExtensionForDelegateWithLambda.before.Main.kt | 2 +- .../importKotlinCompanionPropertyAsFieldFromJava.test | 4 ++-- .../importKotlinCompanionStaticFunctionFromJava.test | 4 ++-- ...otlinCompanionStaticPropertyDefaultGetterFromJava.test | 4 ++-- ...otlinCompanionStaticPropertyDefaultSetterFromJava.test | 4 ++-- ...inCompanionStaticPropertyOverloadedGetterFromJava.test | 4 ++-- ...inCompanionStaticPropertyOverloadedSetterFromJava.test | 4 ++-- .../autoImports/importKotlinPropertyAsFieldFromJava.test | 4 ++-- .../autoImports/importKotlinStaticFunctionFromJava.test | 4 ++-- .../importKotlinStaticPropertyDefaultGetterFromJava.test | 4 ++-- .../importKotlinStaticPropertyDefaultSetterFromJava.test | 4 ++-- ...mportKotlinStaticPropertyOverloadedGetterFromJava.test | 4 ++-- ...mportKotlinStaticPropertyOverloadedSetterFromJava.test | 4 ++-- .../quickfix/autoImports/iteratorOperator.after.kt | 2 +- .../quickfix/autoImports/iteratorOperator.before.Main.kt | 2 +- .../autoImports/libraryTopLevelFunctionImportRuntime.kt | 2 +- .../libraryTopLevelFunctionImportRuntime.kt.after | 2 +- .../autoImports/memberWithTopLevelConflict.after.kt | 2 +- .../autoImports/memberWithTopLevelConflict.before.Main.kt | 2 +- .../multipleReceiversSingleCandidateExtensionInObject1.kt | 2 +- ...pleReceiversSingleCandidateExtensionInObject1.kt.after | 2 +- .../multipleReceiversSingleCandidateExtensionInObject2.kt | 2 +- ...pleReceiversSingleCandidateExtensionInObject2.kt.after | 2 +- .../multipleReceiversSingleCandidateExtensionInObject3.kt | 2 +- ...pleReceiversSingleCandidateExtensionInObject3.kt.after | 2 +- .../autoImports/notExcludedFromImportWhenInternalUse.kt | 2 +- .../notExcludedFromImportWhenInternalUse.kt.after | 2 +- .../autoImports/sameModuleImportPriority.after.kt | 2 +- .../autoImports/sameModuleImportPriority.before.Main.kt | 2 +- .../quickfix/changeSignature/addForItParameter.kt | 2 +- .../quickfix/changeSignature/addForItParameter.kt.after | 2 +- .../quickfix/changeSignature/addFunctionParameter2.kt | 2 +- .../changeSignature/addFunctionParameter2.kt.after | 2 +- .../quickfix/changeSignature/addFunctionParameter3.kt | 2 +- .../changeSignature/addFunctionParameter3.kt.after | 2 +- .../quickfix/changeSignature/addNothingReturnType.kt | 2 +- .../changeSignature/addNothingReturnType.kt.after | 2 +- .../quickfix/changeSignature/changeParameter.after.kt | 2 +- .../changeSignature/changeParameter.before.Main.kt | 2 +- .../changeSignature/kj/addConstructorParameter.after.kt | 2 +- .../kj/addConstructorParameter.before.Main.kt | 2 +- .../changeSignature/kj/addMethodParameter.after.kt | 2 +- .../changeSignature/kj/addMethodParameter.before.Main.kt | 2 +- .../quickfix/changeToLabeledReturn/multipleInner.kt | 2 +- .../quickfix/changeToLabeledReturn/multipleInner.kt.after | 2 +- .../quickfix/changeToLabeledReturn/multipleOuter.kt | 2 +- .../quickfix/changeToLabeledReturn/multipleOuter.kt.after | 2 +- .../quickfix/changeToLabeledReturn/noCandidates.kt | 2 +- .../testData/quickfix/changeToMutableCollection/list.kt | 2 +- .../quickfix/changeToMutableCollection/list.kt.after | 2 +- .../testData/quickfix/changeToMutableCollection/list2.kt | 2 +- .../quickfix/changeToMutableCollection/list2.kt.after | 2 +- .../testData/quickfix/changeToMutableCollection/map.kt | 2 +- .../quickfix/changeToMutableCollection/map.kt.after | 2 +- .../testData/quickfix/changeToMutableCollection/map2.kt | 2 +- .../quickfix/changeToMutableCollection/map2.kt.after | 2 +- .../testData/quickfix/changeToMutableCollection/set.kt | 2 +- .../testData/quickfix/changeToUseSpreadOperator/mapOf.kt | 2 +- .../quickfix/changeToUseSpreadOperator/mapOf.kt.after | 2 +- .../quickfix/changeToUseSpreadOperator/stdlibMapOf.kt | 2 +- .../changeToUseSpreadOperator/stdlibMapOf.kt.after | 2 +- .../convertLateinitPropertyToNotNullDelegate/basic.kt | 2 +- .../basic.kt.after | 2 +- .../convertLateinitPropertyToNotNullDelegate/basic2.kt | 2 +- .../basic2.kt.after | 2 +- .../quickfix/convertPropertyInitializerToGetter/var.kt | 2 +- .../convertPropertyInitializerToGetter/var.kt.after | 2 +- .../callWithJavaQualifierInMemberValDelegate.after.kt | 2 +- ...allWithJavaQualifierInMemberValDelegate.before.Main.kt | 2 +- .../callExpression/callWithLibClassQualifier.kt | 2 +- .../createClass/callExpression/inReturn2.kt | 2 +- .../createClass/callExpression/inReturn2.kt.after | 2 +- .../createClass/callExpression/typeArguments/extension.kt | 2 +- .../createFunction/binaryOperations/plusOnLibType.kt | 2 +- .../binaryOperations/plusOnLibType.kt.after | 2 +- .../createFunction/binaryOperations/quotedName.kt | 2 +- .../createFunction/binaryOperations/quotedName.kt.after | 2 +- .../call/extensionByExtensionReceiver/extensionLambda.kt | 2 +- .../extensionByExtensionReceiver/extensionLambda.kt.after | 2 +- .../createFromUsage/createFunction/call/funOnLibObject.kt | 2 +- .../createFunction/call/funOnLibObject.kt.after | 2 +- .../createFromUsage/createFunction/call/funOnLibType.kt | 2 +- .../createFunction/call/funOnLibType.kt.after | 2 +- .../createFunction/call/notExactArgument.kt | 2 +- .../createFunction/call/typeArguments/extension.kt | 2 +- .../createFunction/call/typeArguments/extension.kt.after | 2 +- .../call/typeArguments/extensionPartialSubstitution.kt | 2 +- .../typeArguments/extensionPartialSubstitution.kt.after | 2 +- .../call/typeArguments/extensionWithReceiverArg.kt | 2 +- .../call/typeArguments/extensionWithReceiverArg.kt.after | 2 +- .../extensionWithReceiverInCallableRef.kt | 2 +- .../extensionWithReceiverInCallableRef.kt.after | 2 +- .../nonExtensionWithReceiverInCallableRef.kt | 2 +- .../nonExtensionWithReceiverInCallableRef.kt.after | 2 +- .../createFunction/component/createComponentFromUsage3.kt | 2 +- .../component/createComponentFromUsage3.kt.after | 2 +- .../createFunction/fromJava/companionMember.after.java | 2 +- .../fromJava/companionMember.before.Main.java | 2 +- .../createFunction/get/createGetFromUsage2.kt | 2 +- .../createFunction/get/createGetFromUsage2.kt.after | 2 +- .../createFunction/invoke/invokeOnLibType.kt | 2 +- .../createFunction/invoke/invokeOnLibType.kt.after | 2 +- .../createFunction/set/createSetFromUsage2.kt | 2 +- .../createFunction/set/createSetFromUsage2.kt.after | 2 +- .../createFunction/unaryOperations/minusOnLibType.kt | 2 +- .../unaryOperations/minusOnLibType.kt.after | 2 +- .../createSecondaryConstructor/superCallNoClass.kt | 2 +- .../inReferencedDeclaration/externalLibrary.kt | 2 +- .../createVariable/localVariable/inAnnotationValue.kt | 2 +- .../createVariable/localVariable/inBinaryOperation.kt | 2 +- .../createVariable/localVariable/inDefaultValue.kt | 2 +- .../localVariable/inDefaultValueLocalFun.kt | 2 +- .../localVariable/inDefaultValueLocalFun.kt.after | 2 +- .../createVariable/parameter/inBinaryOperation.kt | 2 +- .../createVariable/primaryParameter/valOnLibType.kt | 2 +- .../fieldFromJava/classMemberLateinitVar.after.java | 2 +- .../fieldFromJava/classMemberLateinitVar.before.Main.java | 2 +- .../property/fieldFromJava/classMemberVar.after.java | 2 +- .../fieldFromJava/classMemberVar.before.Main.java | 2 +- .../property/fieldFromJava/companionMemberVar.after.java | 2 +- .../fieldFromJava/companionMemberVar.before.Main.java | 2 +- .../property/fieldFromJava/topLevelVar.after.java | 2 +- .../property/fieldFromJava/topLevelVar.before.Main.java | 2 +- .../createVariable/property/inBinaryOperation.kt | 2 +- .../createVariable/property/valOnLibObject.kt | 2 +- .../createVariable/property/valOnLibObject.kt.after | 2 +- .../createVariable/property/valOnLibType.kt | 2 +- .../createVariable/property/valOnLibType.kt.after | 2 +- .../createVariable/property/varOnLibType.kt | 2 +- .../createVariable/property/varOnLibType.kt.after | 2 +- .../quickfix/declarationCantBeInlined/inInterface.kt | 2 +- .../declarationCantBeInlined/inInterface.kt.after | 2 +- .../complexExpressionNotUsed3Runtime.kt | 2 +- .../complexExpressionNotUsed3Runtime.kt.after | 2 +- .../complexExpressionNotUsed4Runtime.kt | 2 +- .../complexExpressionNotUsed4Runtime.kt.after | 2 +- .../complexExpressionNotUsed5Runtime.kt | 2 +- .../complexExpressionNotUsed5Runtime.kt.after | 2 +- .../complexExpressionNotUsedSafeCall.kt | 2 +- .../complexExpressionNotUsedSafeCall.kt.after | 2 +- .../complexExpressionNotUsedSafeCall2Runtime.kt | 2 +- .../complexExpressionNotUsedSafeCall2Runtime.kt.after | 2 +- .../complexExpressionNotUsedShortenRefsRuntime.kt | 2 +- .../complexExpressionNotUsedShortenRefsRuntime.kt.after | 2 +- .../complexExpressionUsedTwice3Runtime.kt | 2 +- .../complexExpressionUsedTwice3Runtime.kt.after | 2 +- .../complexExpressionUsedTwice5Runtime.kt | 2 +- .../complexExpressionUsedTwice5Runtime.kt.after | 2 +- .../complexExpressionUsedTwice6Runtime.kt | 2 +- .../complexExpressionUsedTwice6Runtime.kt.after | 2 +- .../classLiteralAndTypeArgsRuntime.kt | 2 +- .../classLiteralAndTypeArgsRuntime.kt.after | 2 +- .../classUsages/annotationWithFileUseSiteTarget1.kt | 2 +- .../classUsages/annotationWithFileUseSiteTarget1.kt.after | 2 +- .../classUsages/annotationWithFileUseSiteTarget2.kt | 2 +- .../classUsages/annotationWithFileUseSiteTarget2.kt.after | 2 +- .../classUsages/annotationWithFileUseSiteTarget3.kt | 2 +- .../classUsages/annotationWithFileUseSiteTarget3.kt.after | 2 +- .../classUsages/constructorUsageWithTypeArgument4.kt | 2 +- .../constructorUsageWithTypeArgument4.kt.after | 2 +- .../classUsages/constructorUsageWithTypeArgument5.kt | 2 +- .../constructorUsageWithTypeArgument5.kt.after | 2 +- .../classUsages/constructorUsageWithTypeArgument6.kt | 2 +- .../constructorUsageWithTypeArgument6.kt.after | 2 +- .../classUsages/constructorUsageWithTypeArgument7.kt | 2 +- .../constructorUsageWithTypeArgument7.kt.after | 2 +- .../constructorUsageWithTypeArgumentWithoutSpecifyType.kt | 2 +- ...ructorUsageWithTypeArgumentWithoutSpecifyType.kt.after | 2 +- .../deprecatedSymbolUsage/classUsages/innerType.kt | 2 +- .../deprecatedSymbolUsage/classUsages/innerType.kt.after | 2 +- .../extensionReceiverWithVarianceType.kt | 2 +- .../extensionReceiverWithVarianceType.kt.after | 2 +- .../wholeProject/explicitLambdaParameter.kt | 2 +- .../wholeProject/explicitLambdaParameter.kt.after | 2 +- .../wholeProject/explicitLambdaParameterWithoutType.kt | 2 +- .../explicitLambdaParameterWithoutType.kt.after | 2 +- .../wholeProject/implicitLambdaParameter.kt | 2 +- .../wholeProject/implicitLambdaParameter.kt.after | 2 +- .../implicitLambdaParameterWithPlatformType.kt | 2 +- .../implicitLambdaParameterWithPlatformType.kt.after | 2 +- .../deprecatedSymbolUsage/implicitQualifiedThisRuntime.kt | 2 +- .../implicitQualifiedThisRuntime.kt.after | 2 +- .../deprecatedSymbolUsage/importedObjectFunction.kt | 2 +- .../deprecatedSymbolUsage/importedObjectFunction.kt.after | 2 +- .../importedObjectFunctionAddReceiver.kt | 2 +- .../importedObjectFunctionAddReceiver.kt.after | 2 +- .../deprecatedSymbolUsage/importedObjectProperty.kt | 2 +- .../deprecatedSymbolUsage/importedObjectProperty.kt.after | 2 +- .../keepLineBreaks/lineBreakAfterReceiverRuntime.kt | 2 +- .../keepLineBreaks/lineBreakAfterReceiverRuntime.kt.after | 2 +- .../testData/quickfix/deprecatedSymbolUsage/kt35015.kt | 2 +- .../quickfix/deprecatedSymbolUsage/kt35015.kt.after | 2 +- .../optionalParameterAndLambdaComplex.kt | 2 +- .../optionalParameterAndLambdaComplex.kt.after | 2 +- .../quickfix/deprecatedSymbolUsage/propertyAssignment.kt | 2 +- .../deprecatedSymbolUsage/propertyAssignment.kt.after | 2 +- .../propertyAssignmentDefaultSetter.kt | 2 +- .../propertyAssignmentDefaultSetter.kt.after | 2 +- .../deprecatedSymbolUsage/propertyAssignmentNoReceiver.kt | 2 +- .../propertyAssignmentNoReceiver.kt.after | 2 +- .../deprecatedSymbolUsage/propertyAssignmentNoSetter.kt | 2 +- .../propertyAssignmentNoSetter.kt.after | 2 +- .../deprecatedSymbolUsage/propertyModification.kt | 2 +- .../deprecatedSymbolUsage/propertyModification.kt.after | 2 +- .../deprecatedSymbolUsage/safeCall/changeThisSafeCall.kt | 2 +- .../safeCall/changeThisSafeCall.kt.after | 2 +- .../safeCall/changeThisSafeCallWithValue1Runtime.kt | 2 +- .../safeCall/changeThisSafeCallWithValue1Runtime.kt.after | 2 +- .../safeCall/changeThisSafeCallWithValue2Runtime.kt | 2 +- .../safeCall/changeThisSafeCallWithValue2Runtime.kt.after | 2 +- .../safeCall/changeThisSafeCallWithValue3Runtime.kt | 2 +- .../safeCall/changeThisSafeCallWithValue3Runtime.kt.after | 2 +- .../safeCall/changeThisSafeCallWithValue4Runtime.kt | 2 +- .../safeCall/changeThisSafeCallWithValue4Runtime.kt.after | 2 +- .../safeCall/changeThisSafeCallWithValueRuntime.kt | 2 +- .../safeCall/changeThisSafeCallWithValueRuntime.kt.after | 2 +- .../deprecatedSymbolUsage/typeAliases/withTypeArgument.kt | 2 +- .../typeAliases/withTypeArgument.kt.after | 2 +- .../deprecatedSymbolUsage/typeArguments/classLiteral2.kt | 2 +- .../typeArguments/classLiteral2.kt.after | 2 +- .../typeArguments/emptyVarargRuntime.kt | 2 +- .../typeArguments/emptyVarargRuntime.kt.after | 2 +- .../typeArguments/keepInUserCodeRuntime.kt | 2 +- .../typeArguments/keepInUserCodeRuntime.kt.after | 2 +- .../deprecatedSymbolUsage/typeArguments/kt36225.kt | 2 +- .../deprecatedSymbolUsage/typeArguments/kt36225.kt.after | 2 +- .../typeArguments/noImplicitTypeArgImportRuntime.kt | 2 +- .../typeArguments/noImplicitTypeArgImportRuntime.kt.after | 2 +- .../noImplicitTypeArgInClassWithTypeParam.kt | 2 +- .../noImplicitTypeArgInClassWithTypeParam.kt.after | 2 +- .../typeArguments/nonEmptyVarargRuntime.kt | 2 +- .../typeArguments/nonEmptyVarargRuntime.kt.after | 2 +- .../vararg/addedNamedArgumentAfterRuntime.kt | 2 +- .../vararg/addedNamedArgumentAfterRuntime.kt.after | 2 +- .../vararg/addedPositionalArgumentAfterRuntime.kt | 2 +- .../vararg/addedPositionalArgumentAfterRuntime.kt.after | 2 +- .../vararg/addedSpreadArgumentAfterRuntime.kt | 2 +- .../vararg/addedSpreadArgumentAfterRuntime.kt.after | 2 +- .../deprecatedSymbolUsage/vararg/booleanArrayRuntime.kt | 2 +- .../vararg/booleanArrayRuntime.kt.after | 2 +- .../deprecatedSymbolUsage/vararg/byteArrayRuntime.kt | 2 +- .../vararg/byteArrayRuntime.kt.after | 2 +- .../vararg/doNotShortenUserReferences2Runtime.kt | 2 +- .../vararg/doNotShortenUserReferences2Runtime.kt.after | 2 +- .../vararg/doNotShortenUserReferencesRuntime.kt | 2 +- .../vararg/doNotShortenUserReferencesRuntime.kt.after | 2 +- .../vararg/doNotSimplifyOriginalCallRuntime.kt | 2 +- .../vararg/doNotSimplifyOriginalCallRuntime.kt.after | 2 +- .../deprecatedSymbolUsage/vararg/doubleArrayRuntime.kt | 2 +- .../vararg/doubleArrayRuntime.kt.after | 2 +- .../deprecatedSymbolUsage/vararg/floatArrayRuntime.kt | 2 +- .../vararg/floatArrayRuntime.kt.after | 2 +- .../deprecatedSymbolUsage/vararg/longArrayRuntime.kt | 2 +- .../vararg/longArrayRuntime.kt.after | 2 +- .../vararg/multipleSpreadArguments2Runtime.kt | 2 +- .../vararg/multipleSpreadArguments2Runtime.kt.after | 2 +- .../vararg/multipleSpreadArgumentsRuntime.kt | 2 +- .../vararg/multipleSpreadArgumentsRuntime.kt.after | 2 +- .../deprecatedSymbolUsage/vararg/noImportRuntime.kt | 2 +- .../deprecatedSymbolUsage/vararg/noImportRuntime.kt.after | 2 +- .../deprecatedSymbolUsage/vararg/shortArrayRuntime.kt | 2 +- .../vararg/shortArrayRuntime.kt.after | 2 +- .../deprecatedSymbolUsage/vararg/vararg1Runtime.kt | 2 +- .../deprecatedSymbolUsage/vararg/vararg1Runtime.kt.after | 2 +- .../deprecatedSymbolUsage/vararg/vararg2Runtime.kt | 2 +- .../deprecatedSymbolUsage/vararg/vararg2Runtime.kt.after | 2 +- .../deprecatedSymbolUsage/vararg/vararg3Runtime.kt | 2 +- .../deprecatedSymbolUsage/vararg/vararg3Runtime.kt.after | 2 +- .../deprecatedSymbolUsage/vararg/vararg6Runtime.kt | 2 +- .../deprecatedSymbolUsage/vararg/vararg6Runtime.kt.after | 2 +- .../deprecatedSymbolUsage/vararg/vararg8Runtime.kt | 2 +- .../deprecatedSymbolUsage/vararg/vararg8Runtime.kt.after | 2 +- .../quickfix/experimental/annotationInTopLevelProperty.kt | 2 +- .../experimental/annotationInTopLevelProperty.kt.after | 2 +- .../experimental/appendFileAnnotationToAnnotationList.kt | 2 +- .../appendFileAnnotationToAnnotationList.kt.after | 2 +- .../appendFileAnnotationToOtherFileAnnotations.kt | 2 +- .../appendFileAnnotationToOtherFileAnnotations.kt.after | 2 +- .../appendFileAnnotationWithAnnotationList.kt | 2 +- .../appendFileAnnotationWithAnnotationList.kt.after | 2 +- .../tests/testData/quickfix/experimental/basicFunction.kt | 2 +- .../testData/quickfix/experimental/basicFunction.kt.after | 2 +- .../quickfix/experimental/basicFunctionContainingClass.kt | 2 +- .../experimental/basicFunctionContainingClass.kt.after | 2 +- .../quickfix/experimental/basicFunctionNotApplicable.kt | 2 +- .../tests/testData/quickfix/experimental/basicModule.kt | 2 +- .../testData/quickfix/experimental/basicModule.kt.after | 2 +- .../quickfix/experimental/basicUseExperimental.kt | 2 +- .../quickfix/experimental/basicUseExperimental.kt.after | 2 +- .../quickfix/experimental/classUseExperimental.kt | 2 +- .../quickfix/experimental/classUseExperimental.kt.after | 2 +- .../tests/testData/quickfix/experimental/doNotSwitchOn.kt | 2 +- .../experimental/existingFileAnnotationWithPackage.kt | 2 +- .../existingFileAnnotationWithPackage.kt.after | 2 +- .../testData/quickfix/experimental/experimentalUnused.kt | 2 +- .../testData/quickfix/experimental/experimentalUnused2.kt | 2 +- .../quickfix/experimental/functionInLocalClass.kt | 2 +- .../quickfix/experimental/functionInLocalClass.kt.after | 2 +- .../testData/quickfix/experimental/hasOptInAnnotation.kt | 2 +- .../quickfix/experimental/hasOptInAnnotation.kt.after | 2 +- .../testData/quickfix/experimental/hasOptInAnnotation2.kt | 2 +- .../quickfix/experimental/hasOptInAnnotation2.kt.after | 2 +- .../testData/quickfix/experimental/hasOptInAnnotation3.kt | 2 +- .../quickfix/experimental/hasOptInAnnotation3.kt.after | 2 +- .../tests/testData/quickfix/experimental/localFunction.kt | 2 +- .../testData/quickfix/experimental/localFunction.kt.after | 2 +- .../tests/testData/quickfix/experimental/nestedClasses.kt | 2 +- .../quickfix/experimental/newFileAnnotationWithPackage.kt | 2 +- .../experimental/newFileAnnotationWithPackage.kt.after | 2 +- .../idea/tests/testData/quickfix/experimental/override.kt | 2 +- .../quickfix/experimental/propertyInConstructor.kt | 2 +- .../quickfix/experimental/propertyInConstructor.kt.after | 2 +- .../quickfix/experimental/reservedKeywordPackage.test | 4 ++-- .../quickfix/experimental/reservedKeywordPackage2.test | 4 ++-- .../idea/tests/testData/quickfix/experimental/switchOn.kt | 2 +- .../testData/quickfix/experimental/switchOn.kt.after | 2 +- .../tests/testData/quickfix/experimental/typeAlias.kt | 2 +- .../testData/quickfix/experimental/typeAlias.kt.after | 2 +- .../quickfix/experimental/typeInTopLevelProperty.kt | 2 +- .../quickfix/experimental/typeInTopLevelProperty.kt.after | 2 +- .../tests/testData/quickfix/foldTryCatch/conditional.kt | 2 +- .../tests/testData/quickfix/foldTryCatch/emptyFinally.kt | 2 +- .../testData/quickfix/foldTryCatch/emptyFinally.kt.after | 2 +- .../testData/quickfix/foldTryCatch/multipleExceptions.kt | 2 +- .../quickfix/foldTryCatch/multipleExceptions.kt.after | 2 +- .../idea/tests/testData/quickfix/foldTryCatch/shadow.kt | 2 +- .../idea/tests/testData/quickfix/foldTryCatch/simple.kt | 2 +- .../tests/testData/quickfix/foldTryCatch/simple.kt.after | 2 +- .../idea/tests/testData/quickfix/implement/abstract.kt | 2 +- .../tests/testData/quickfix/implement/abstract.kt.after | 2 +- .../idea/tests/testData/quickfix/implement/dataClass.kt | 2 +- .../tests/testData/quickfix/implement/dataClass.kt.after | 2 +- .../idea/tests/testData/quickfix/implement/dataClass2.kt | 2 +- .../tests/testData/quickfix/implement/dataClass2.kt.after | 2 +- .../idea/tests/testData/quickfix/implement/dataClass3.kt | 2 +- .../tests/testData/quickfix/implement/dataClass3.kt.after | 2 +- .../implement/hasImplementedInPrimaryConstructor.kt | 2 +- .../implement/hasImplementedInPrimaryConstructor.kt.after | 2 +- .../implement/hasImplementedInPrimaryConstructor2.kt | 2 +- .../hasImplementedInPrimaryConstructor2.kt.after | 2 +- .../implement/hasImplementedInPrimaryConstructor3.kt | 2 +- .../hasImplementedInPrimaryConstructor3.kt.after | 2 +- .../idea/tests/testData/quickfix/implement/inner.kt | 2 +- .../idea/tests/testData/quickfix/implement/inner.kt.after | 2 +- .../idea/tests/testData/quickfix/implement/interface.kt | 2 +- .../tests/testData/quickfix/implement/interface.kt.after | 2 +- .../quickfix/implement/menyImplMemberNotImplemented.kt | 2 +- .../implement/menyImplMemberNotImplemented.kt.after | 2 +- .../idea/tests/testData/quickfix/implement/nested.kt | 2 +- .../tests/testData/quickfix/implement/nested.kt.after | 2 +- .../testData/quickfix/implement/nestedPrivateInterface.kt | 2 +- .../quickfix/implement/nestedPrivateInterface.kt.after | 2 +- .../idea/tests/testData/quickfix/implement/sealed.kt | 2 +- .../tests/testData/quickfix/implement/sealed.kt.after | 2 +- .../tests/testData/quickfix/implement/sealedAfter15.kt | 2 +- .../testData/quickfix/implement/sealedAfter15.kt.after | 2 +- .../testData/quickfix/implement/sealedWithConflict.kt | 2 +- .../quickfix/implement/sealedWithConflict.kt.after | 2 +- .../quickfix/implement/sealedWithConflictAfter15.kt | 2 +- .../quickfix/implement/sealedWithConflictAfter15.kt.after | 2 +- .../idea/tests/testData/quickfix/importAlias/simple.kt | 2 +- .../tests/testData/quickfix/importAlias/simple.kt.after | 2 +- .../testData/quickfix/importAlias/unresolvedReference.kt | 2 +- .../genericParameterInScope.kt | 2 +- .../genericParameterInScope.kt.after | 2 +- .../memberPropertyWithDelegateRuntime.kt | 2 +- .../quickfix/inlineClass/inlineClassDeprecated.kt | 2 +- .../quickfix/inlineClass/inlineClassDeprecated.kt.after | 2 +- .../testData/quickfix/inlineClass/publicInlineClass.kt | 2 +- .../quickfix/inlineClass/publicInlineClass.kt.after | 2 +- .../javaClassOnCompanion/replaceWithClassJava/hasType.kt | 2 +- .../replaceWithClassJava/hasType.kt.after | 2 +- .../javaClassOnCompanion/replaceWithClassJava/simple.kt | 2 +- .../replaceWithClassJava/simple.kt.after | 2 +- .../javaClassOnCompanion/replaceWithClassJava/withName.kt | 2 +- .../replaceWithClassJava/withName.kt.after | 2 +- .../replaceWithCompanionClassJava/hasType.kt | 2 +- .../replaceWithCompanionClassJava/hasType.kt.after | 2 +- .../replaceWithCompanionClassJava/namedCompanion.kt | 2 +- .../replaceWithCompanionClassJava/namedCompanion.kt.after | 2 +- .../replaceWithCompanionClassJava/simple.kt | 2 +- .../replaceWithCompanionClassJava/simple.kt.after | 2 +- .../replaceWithCompanionClassJava/withName.kt | 2 +- .../replaceWithCompanionClassJava/withName.kt.after | 2 +- .../idea/tests/testData/quickfix/libraries/junit.kt | 2 +- .../idea/tests/testData/quickfix/libraries/junit.kt.after | 2 +- .../idea/tests/testData/quickfix/libraries/testNG.kt | 2 +- .../tests/testData/quickfix/libraries/testNG.kt.after | 2 +- .../migration/conflictingExtension/removeImports.after.kt | 2 +- .../conflictingExtension/removeImports.before.Main.kt | 2 +- .../conflictingExtension/removeImportsOverloads.after.kt | 2 +- .../removeImportsOverloads.before.Main.kt | 2 +- .../basicMultiple.after.kt | 2 +- .../basicMultiple.before.Main.kt | 2 +- .../noValueForArgumentMultiple.after.kt | 2 +- .../noValueForArgumentMultiple.before.Main.kt | 2 +- .../wrongTypeMultiple.after.kt | 2 +- .../wrongTypeMultiple.before.Main.kt | 2 +- .../testData/quickfix/modifiers/noLateinitOnPrimitive.kt | 2 +- .../quickfix/modifiers/suspend/createCoroutine.kt | 2 +- .../quickfix/modifiers/suspend/createCoroutine.kt.after | 2 +- .../testData/quickfix/modifiers/suspend/startCoroutine.kt | 2 +- .../quickfix/modifiers/suspend/startCoroutine.kt.after | 2 +- .../quickfix/modifiers/suspend/startCoroutineNoImport.kt | 2 +- .../modifiers/suspend/startCoroutineNoImport.kt.after | 2 +- .../memberPropertyWithDelegateRuntime.kt | 2 +- .../nonPublicCallFromPublicInline/reifiedTypeParameter.kt | 2 +- .../quickfix/optimizeImports/destructuringAtTop.kt | 2 +- .../quickfix/optimizeImports/destructuringAtTop.kt.after | 2 +- .../testData/quickfix/optimizeImports/fileRuntime.kt | 2 +- .../quickfix/optimizeImports/fileRuntime.kt.after | 2 +- .../tests/testData/quickfix/optimizeImports/invoke.kt | 2 +- .../tests/testData/quickfix/optimizeImports/invoke2.kt | 2 +- .../testData/quickfix/optimizeImports/invoke2.kt.after | 2 +- .../tests/testData/quickfix/override/implementMember.kt | 2 +- .../testData/quickfix/override/implementMember.kt.after | 2 +- .../quickfix/override/implementMemberFromAbstractClass.kt | 2 +- .../override/implementMemberFromAbstractClass.kt.after | 2 +- .../nothingToOverride/addFunctionNonUnitReturnType.kt | 2 +- .../addFunctionNonUnitReturnType.kt.after | 2 +- .../cantChangeMultipleOverriddenPropertiesTypes.kt | 2 +- .../returnTypeMismatchOnMultipleOverrideAmbiguity.kt | 2 +- .../extensionPropertyInitializerToGetter/baseCaseVar.kt | 2 +- .../baseCaseVar.kt.after | 2 +- .../tests/testData/quickfix/redundantIf/labeledReturn.kt | 2 +- .../testData/quickfix/redundantIf/labeledReturn.kt.after | 2 +- .../tests/testData/quickfix/removeAnnotation/jvmField.kt | 2 +- .../testData/quickfix/removeAnnotation/jvmField.kt.after | 2 +- .../removeAnnotation/jvmFieldOnOverridingProperty.kt | 2 +- .../jvmFieldOnOverridingProperty.kt.after | 2 +- .../testData/quickfix/removeAnnotation/jvmOverloads.kt | 2 +- .../quickfix/removeAnnotation/jvmOverloads.kt.after | 2 +- .../jvmOverloadsOnAnnotationClassConstructor.kt | 2 +- .../jvmOverloadsOnAnnotationClassConstructor.kt.after | 2 +- .../quickfix/removeRedundantInitializer/simple.kt | 2 +- .../quickfix/removeRedundantInitializer/simple.kt.after | 2 +- .../quickfix/removeSingleLambdaParameter/simple.kt | 2 +- .../quickfix/removeSingleLambdaParameter/simple.kt.after | 2 +- .../idea/tests/testData/quickfix/removeTypeVariance/in.kt | 2 +- .../testData/quickfix/removeTypeVariance/in.kt.after | 2 +- .../tests/testData/quickfix/removeTypeVariance/out.kt | 2 +- .../testData/quickfix/removeTypeVariance/out.kt.after | 2 +- .../testData/quickfix/replaceInfixOrOperatorCall/array.kt | 2 +- .../quickfix/replaceInfixOrOperatorCall/array.kt.after | 2 +- .../quickfix/replaceInfixOrOperatorCall/arraySet.kt | 2 +- .../quickfix/replaceInfixOrOperatorCall/arraySet.kt.after | 2 +- .../replaceInfixOrOperatorCall/assignmentArray.kt | 2 +- .../replaceInfixOrOperatorCall/assignmentArray.kt.after | 2 +- .../assignmentBinaryOperator.kt | 2 +- .../assignmentBinaryOperator.kt.after | 2 +- .../assignmentCallExpression.kt | 2 +- .../assignmentCallExpression.kt.after | 2 +- .../quickfix/replaceInfixOrOperatorCall/assignmentList.kt | 2 +- .../replaceInfixOrOperatorCall/assignmentList.kt.after | 2 +- .../quickfix/replaceInfixOrOperatorCall/binaryOperator.kt | 2 +- .../replaceInfixOrOperatorCall/binaryOperator.kt.after | 2 +- .../quickfix/replaceInfixOrOperatorCall/callExpression.kt | 2 +- .../replaceInfixOrOperatorCall/callExpression.kt.after | 2 +- .../callExpressionInSafeQualified.kt | 2 +- .../callExpressionInSafeQualified.kt.after | 2 +- .../callExpressionInSafeQualified2.kt | 2 +- .../callExpressionInSafeQualified2.kt.after | 2 +- .../quickfix/replaceInfixOrOperatorCall/hasElvis.kt | 2 +- .../quickfix/replaceInfixOrOperatorCall/hasElvis.kt.after | 2 +- .../testData/quickfix/replaceInfixOrOperatorCall/list.kt | 2 +- .../quickfix/replaceInfixOrOperatorCall/list.kt.after | 2 +- .../testData/quickfix/replaceJvmFieldWithConst/class.kt | 2 +- .../replaceJvmFieldWithConst/companionInInterface.kt | 2 +- .../companionInInterface.kt.after | 2 +- .../testData/quickfix/replaceJvmFieldWithConst/getter.kt | 2 +- .../replaceJvmFieldWithConst/nonConstantInitializer.kt | 2 +- .../quickfix/replaceJvmFieldWithConst/nullable.kt | 2 +- .../testData/quickfix/replaceJvmFieldWithConst/object.kt | 2 +- .../quickfix/replaceJvmFieldWithConst/object.kt.after | 2 +- .../stringTemplateWithConstants.kt | 2 +- .../stringTemplateWithConstants.kt.after | 2 +- .../replaceJvmFieldWithConst/stringTemplateWithVal.kt | 2 +- .../quickfix/replaceJvmFieldWithConst/toplevel.kt | 2 +- .../quickfix/replaceJvmFieldWithConst/toplevel.kt.after | 2 +- .../tests/testData/quickfix/replaceWithDotCall/comment.kt | 2 +- .../testData/quickfix/replaceWithDotCall/comment.kt.after | 2 +- .../testData/quickfix/replaceWithDotCall/functionCall.kt | 2 +- .../quickfix/replaceWithDotCall/functionCall.kt.after | 2 +- .../testData/quickfix/replaceWithDotCall/lineBreak.kt | 2 +- .../quickfix/replaceWithDotCall/lineBreak.kt.after | 2 +- .../tests/testData/quickfix/replaceWithDotCall/normal.kt | 2 +- .../testData/quickfix/replaceWithDotCall/normal.kt.after | 2 +- .../tests/testData/quickfix/replaceWithSafeCall/apply.kt | 2 +- .../testData/quickfix/replaceWithSafeCall/apply.kt.after | 2 +- .../replaceWithSafeCall/applyWithImplicitParameter.kt | 2 +- .../applyWithImplicitParameter.kt.after | 2 +- .../applyWithImplicitParameterFunctionCall.kt | 2 +- .../applyWithImplicitParameterFunctionCall.kt.after | 2 +- .../testData/quickfix/replaceWithSafeCall/assignment.kt | 2 +- .../quickfix/replaceWithSafeCall/assignment.kt.after | 2 +- .../assignmentFromImplicitParameter.kt | 2 +- .../assignmentFromImplicitParameter.kt.after | 2 +- .../quickfix/replaceWithSafeCall/assignmentToNullable.kt | 2 +- .../replaceWithSafeCall/assignmentToNullable.kt.after | 2 +- .../quickfix/replaceWithSafeCall/assignmentToProperty.kt | 2 +- .../replaceWithSafeCall/assignmentToProperty.kt.after | 2 +- .../testData/quickfix/replaceWithSafeCall/comment.kt | 2 +- .../quickfix/replaceWithSafeCall/comment.kt.after | 2 +- .../testData/quickfix/replaceWithSafeCall/expression.kt | 2 +- .../quickfix/replaceWithSafeCall/expression.kt.after | 2 +- .../testData/quickfix/replaceWithSafeCall/extFunction.kt | 2 +- .../quickfix/replaceWithSafeCall/extFunction.kt.after | 2 +- .../testData/quickfix/replaceWithSafeCall/functionCall.kt | 2 +- .../quickfix/replaceWithSafeCall/functionCall.kt.after | 2 +- .../testData/quickfix/replaceWithSafeCall/hasElvis.kt | 2 +- .../quickfix/replaceWithSafeCall/hasElvis.kt.after | 2 +- .../testData/quickfix/replaceWithSafeCall/hasElvis2.kt | 2 +- .../quickfix/replaceWithSafeCall/hasElvis2.kt.after | 2 +- .../quickfix/replaceWithSafeCall/invokeOperator.kt | 2 +- .../quickfix/replaceWithSafeCall/invokeOperator.kt.after | 2 +- .../quickfix/replaceWithSafeCall/invokeOperator2.kt | 2 +- .../quickfix/replaceWithSafeCall/invokeOperator2.kt.after | 2 +- .../tests/testData/quickfix/replaceWithSafeCall/let.kt | 2 +- .../testData/quickfix/replaceWithSafeCall/let.kt.after | 2 +- .../quickfix/replaceWithSafeCall/letWithParameter.kt | 2 +- .../replaceWithSafeCall/letWithParameter.kt.after | 2 +- .../testData/quickfix/replaceWithSafeCall/lineBreak.kt | 2 +- .../quickfix/replaceWithSafeCall/lineBreak.kt.after | 2 +- .../tests/testData/quickfix/replaceWithSafeCall/normal.kt | 2 +- .../testData/quickfix/replaceWithSafeCall/normal.kt.after | 2 +- .../quickfix/replaceWithSafeCallForScopeFunction/also.kt | 2 +- .../replaceWithSafeCallForScopeFunction/also.kt.after | 2 +- .../replaceWithSafeCallForScopeFunction/applyWithFake.kt | 2 +- .../replaceWithSafeCallForScopeFunction/applyWithThis.kt | 2 +- .../applyWithThis.kt.after | 2 +- .../applyWithThisAndArrow.kt | 2 +- .../applyWithThisAndArrow.kt.after | 2 +- .../applyWithThisLabeled.kt | 2 +- .../applyWithThisLabeled.kt.after | 2 +- .../applyWithThisLabeledFake.kt | 2 +- .../applyWithoutThis.kt | 2 +- .../applyWithoutThis.kt.after | 2 +- .../applyWithoutThisMethodCall.kt | 2 +- .../applyWithoutThisMethodCall.kt.after | 2 +- .../replaceWithSafeCallForScopeFunction/assignment.kt | 2 +- .../assignment.kt.after | 2 +- .../replaceWithSafeCallForScopeFunction/comment.kt | 2 +- .../replaceWithSafeCallForScopeFunction/comment.kt.after | 2 +- .../quickfix/replaceWithSafeCallForScopeFunction/let.kt | 2 +- .../replaceWithSafeCallForScopeFunction/let.kt.after | 2 +- .../replaceWithSafeCallForScopeFunction/letWithParam.kt | 2 +- .../letWithParam.kt.after | 2 +- .../letWithWrongImplicitThis.kt | 2 +- .../letWithWrongParam.kt | 2 +- .../replaceWithSafeCallForScopeFunction/lineBreak.kt | 2 +- .../lineBreak.kt.after | 2 +- .../replaceWithSafeCallForScopeFunction/notInsideScope.kt | 2 +- .../quickfix/replaceWithSafeCallForScopeFunction/run.kt | 2 +- .../replaceWithSafeCallForScopeFunction/run.kt.after | 2 +- .../testData/quickfix/simplifyComparison/withAssertion.kt | 2 +- .../quickfix/simplifyComparison/withAssertion.kt.after | 2 +- .../quickfix/simplifyComparison/withAssertion2.kt | 2 +- .../quickfix/simplifyComparison/withAssertion2.kt.after | 2 +- .../quickfix/simplifyComparison/withAssertion3.kt | 2 +- .../quickfix/simplifyComparison/withAssertion3.kt.after | 2 +- .../quickfix/smartCastImpossibleInIfThen/ifThen3.kt | 2 +- .../quickfix/smartCastImpossibleInIfThen/ifThen3.kt.after | 2 +- .../quickfix/smartCastImpossibleInIfThen/ifThen5.kt | 2 +- .../quickfix/smartCastImpossibleInIfThen/ifThen5.kt.after | 2 +- .../quickfix/smartCastImpossibleInIfThen/ifThenElse3.kt | 2 +- .../smartCastImpossibleInIfThen/ifThenElse3.kt.after | 2 +- .../quickfix/smartCastImpossibleInIfThen/ifThenElse5.kt | 2 +- .../smartCastImpossibleInIfThen/ifThenElse5.kt.after | 2 +- .../testData/quickfix/specifyOverrideExplicitly/lists.kt | 2 +- .../quickfix/specifyOverrideExplicitly/lists.kt.after | 2 +- .../testData/quickfix/specifyOverrideExplicitly/lists2.kt | 2 +- .../quickfix/specifyOverrideExplicitly/lists2.kt.after | 2 +- .../tests/testData/quickfix/suppress/forStatement/for.kt | 2 +- .../testData/quickfix/suppress/forStatement/for.kt.after | 2 +- .../testData/quickfix/suppress/forStatement/throw.kt | 2 +- .../quickfix/suppress/forStatement/throw.kt.after | 2 +- .../quickfix/surroundWithNullCheck/iteratorUnsafe.kt | 2 +- .../surroundWithNullCheck/iteratorUnsafe.kt.after | 2 +- .../quickfix/surroundWithNullCheck/nullableInCondition.kt | 2 +- .../surroundWithNullCheck/nullableInCondition.kt.after | 2 +- .../surroundWithNullCheck/unsafeCallInsideAnonymous.kt | 2 +- .../unsafeCallInsideAnonymous.kt.after | 2 +- .../changeTypeToMutable/hasType.kt | 2 +- .../changeTypeToMutable/hasType.kt.after | 2 +- .../changeTypeToMutable/hasType2.kt | 2 +- .../changeTypeToMutable/hasType2.kt.after | 2 +- .../changeTypeToMutable/mutableListOf.kt | 2 +- .../changeTypeToMutable/mutableListOf.kt.after | 2 +- .../changeTypeToMutable/mutableMapOf.kt | 2 +- .../changeTypeToMutable/mutableMapOf.kt.after | 2 +- .../changeTypeToMutable/mutableSetOf.kt | 2 +- .../changeTypeToMutable/mutableSetOf.kt.after | 2 +- .../changeTypeToMutable/noInitializer.kt | 2 +- .../changeTypeToMutable/notLocal.kt | 2 +- .../changeTypeToMutable/toMutableList.kt | 2 +- .../changeTypeToMutable/toMutableList.kt.after | 2 +- .../changeTypeToMutable/toMutableList2.kt | 2 +- .../changeTypeToMutable/toMutableList2.kt.after | 2 +- .../changeTypeToMutable/toMutableMap.kt | 2 +- .../changeTypeToMutable/toMutableMap.kt.after | 2 +- .../changeTypeToMutable/toMutableSet.kt | 2 +- .../changeTypeToMutable/toMutableSet.kt.after | 2 +- .../joinWithInitializer/noInitializer.kt | 2 +- .../joinWithInitializer/notLocal.kt | 2 +- .../joinWithInitializer/simple.kt | 2 +- .../joinWithInitializer/simple.kt.after | 2 +- .../joinWithInitializer/used.kt | 2 +- .../replaceWithAssignment/differentType.kt | 2 +- .../replaceWithAssignment/emptyList.kt | 2 +- .../replaceWithAssignment/emptyList.kt.after | 2 +- .../replaceWithAssignment/emptyListOf.kt | 2 +- .../replaceWithAssignment/emptyListOf.kt.after | 2 +- .../replaceWithAssignment/emptyMap.kt | 2 +- .../replaceWithAssignment/emptyMap.kt.after | 2 +- .../replaceWithAssignment/emptyMapOf.kt | 2 +- .../replaceWithAssignment/emptyMapOf.kt.after | 2 +- .../replaceWithAssignment/emptySet.kt | 2 +- .../replaceWithAssignment/emptySet.kt.after | 2 +- .../replaceWithAssignment/emptySetOf.kt | 2 +- .../replaceWithAssignment/emptySetOf.kt.after | 2 +- .../replaceWithAssignment/listOf.kt | 2 +- .../replaceWithAssignment/mapOf.kt | 2 +- .../replaceWithAssignment/minusEq.kt | 2 +- .../replaceWithAssignment/noInitializer.kt | 2 +- .../replaceWithAssignment/notEmpty.kt | 2 +- .../replaceWithAssignment/notLocal.kt | 2 +- .../replaceWithAssignment/setOf.kt | 2 +- .../replaceWithAssignment/used.kt | 2 +- .../replaceWithFilter/map.kt | 2 +- .../replaceWithFilter/minusEq.kt | 2 +- .../replaceWithFilter/minusEq.kt.after | 2 +- .../replaceWithFilter/notIterable.kt | 2 +- .../replaceWithFilter/plusEq.kt | 2 +- .../replaceWithOrdinaryAssignment/simple.kt | 2 +- .../replaceWithOrdinaryAssignment/simple.kt.after | 2 +- .../convertClassToKClass1Runtime.kt | 2 +- .../convertClassToKClass1Runtime.kt.after | 2 +- .../typeMismatch/addExclExclToQualifiedArgument.kt | 2 +- .../typeMismatch/addExclExclToQualifiedArgument.kt.after | 2 +- .../quickfix/typeMismatch/casts/castQualifiedArgument.kt | 2 +- .../typeMismatch/casts/castQualifiedArgument.kt.after | 2 +- .../testData/quickfix/typeMismatch/casts/unsigned.kt | 2 +- .../typeMismatch/changeReturnTypeForTypeInference.kt | 2 +- .../changeReturnTypeForTypeInference.kt.after | 2 +- .../typeMismatch/changeReturnTypeForTypeMismatch.kt | 2 +- .../typeMismatch/changeReturnTypeForTypeMismatch.kt.after | 2 +- .../typeMismatch/convertCollection/arrayToCollection.kt | 2 +- .../convertCollection/arrayToCollection.kt.after | 2 +- .../typeMismatch/convertCollection/arrayToIterable.kt | 2 +- .../convertCollection/arrayToIterable.kt.after | 2 +- .../typeMismatch/convertCollection/arrayToList.kt | 2 +- .../typeMismatch/convertCollection/arrayToList.kt.after | 2 +- .../typeMismatch/convertCollection/arrayToSequence.kt | 2 +- .../convertCollection/arrayToSequence.kt.after | 2 +- .../typeMismatch/convertCollection/iterableToArray.kt | 2 +- .../convertCollection/iterableToArray.kt.after | 2 +- .../typeMismatch/convertCollection/listToArray.kt | 2 +- .../typeMismatch/convertCollection/listToArray.kt.after | 2 +- .../typeMismatch/convertCollection/listToArrayBinary.kt | 2 +- .../convertCollection/listToArrayBinary.kt.after | 2 +- .../typeMismatch/convertCollection/listToMutableList.kt | 2 +- .../convertCollection/listToMutableList.kt.after | 2 +- .../typeMismatch/convertCollection/listToSequence.kt | 2 +- .../convertCollection/listToSequence.kt.after | 2 +- .../typeMismatch/convertCollection/sequenceToArray.kt | 2 +- .../convertCollection/sequenceToArray.kt.after | 2 +- .../typeMismatch/convertCollection/sequenceToList.kt | 2 +- .../convertCollection/sequenceToList.kt.after | 2 +- .../dontChangeOverriddenPropertyTypeToErrorType.kt | 2 +- .../quickfix/typeMismatch/functionExtensionType.kt | 2 +- .../quickfix/typeMismatch/functionExtensionType.kt.after | 2 +- .../testData/quickfix/typeMismatch/functionNestedType.kt | 2 +- .../quickfix/typeMismatch/functionNestedType.kt.after | 2 +- .../testData/quickfix/typeMismatch/functionNestedType2.kt | 2 +- .../quickfix/typeMismatch/functionNestedType2.kt.after | 2 +- .../testData/quickfix/typeMismatch/functionReflectType.kt | 2 +- .../quickfix/typeMismatch/functionReflectType.kt.after | 2 +- .../tests/testData/quickfix/typeMismatch/functionType.kt | 2 +- .../testData/quickfix/typeMismatch/functionType.kt.after | 2 +- .../quickfix/typeMismatch/letClassImplementInterface.kt | 2 +- .../typeMismatch/letClassImplementInterface.kt.after | 2 +- .../typeMismatch/numberConversion/convertExpression.kt | 2 +- .../numberConversion/convertExpression.kt.after | 2 +- .../typeMismatch/numberConversion/convertToSigned.kt | 2 +- .../numberConversion/convertToSigned.kt.after | 2 +- .../typeMismatch/numberConversion/convertToUnsigned.kt | 2 +- .../numberConversion/convertToUnsigned.kt.after | 2 +- ...gePrimaryConstructorParameterTypeOnPropertyDelegate.kt | 2 +- ...aryConstructorParameterTypeOnPropertyDelegate.kt.after | 2 +- .../parameterTypeMismatch/convertKClassToJavaClass.kt | 2 +- .../convertKClassToJavaClass.kt.after | 2 +- .../convertKClassToJavaClassSubtype.kt | 2 +- .../convertKClassToJavaClassTypeMismatch.kt | 2 +- .../convertKClassToJavaClassVariable.kt | 2 +- .../convertKClassToJavaClassVariable.kt.after | 2 +- .../typeMismatch/parameterTypeMismatch/unsigned.kt | 2 +- .../typeMismatch/parameterTypeMismatch/unsigned.kt.after | 2 +- .../typeMismatch/propertyTypeMismatchLongNameRuntime.kt | 2 +- .../propertyTypeMismatchLongNameRuntime.kt.after | 2 +- .../quickfix/typeMismatch/roundNumber/notApplicable.kt | 2 +- .../quickfix/typeMismatch/roundNumber/notApplicable2.kt | 2 +- .../quickfix/typeMismatch/roundNumber/roundDoubleToInt.kt | 2 +- .../typeMismatch/roundNumber/roundDoubleToInt.kt.after | 2 +- .../typeMismatch/roundNumber/roundDoubleToLong.kt | 2 +- .../typeMismatch/roundNumber/roundDoubleToLong.kt.after | 2 +- .../quickfix/typeMismatch/roundNumber/roundFloatToInt.kt | 2 +- .../typeMismatch/roundNumber/roundFloatToInt.kt.after | 2 +- .../quickfix/typeMismatch/roundNumber/roundFloatToLong.kt | 2 +- .../typeMismatch/roundNumber/roundFloatToLong.kt.after | 2 +- .../multiReturn/labeledReturn.kt | 2 +- .../multiReturn/labeledReturn.kt.after | 2 +- .../multiReturn/unrelatedLabeledReturn.kt | 2 +- .../multiReturn/unrelatedLabeledReturn.kt.after | 2 +- .../nonLocalReturnRuntime.kt | 2 +- .../nonLocalReturnRuntime.kt.after | 2 +- .../nonLocalReturnWithLabelRuntime.kt | 2 +- .../nonLocalReturnWithLabelRuntime.kt.after | 2 +- .../wrapWithCollectionLiteral/noMutableList.kt | 2 +- .../wrapWithCollectionLiteral/nullToListOfNullable.kt | 2 +- .../nullToListOfNullable.kt.after | 2 +- .../wrapWithCollectionLiteral/returnEmptyArray.kt | 2 +- .../wrapWithCollectionLiteral/returnEmptyArray.kt.after | 2 +- .../wrapWithCollectionLiteral/returnEmptyCollection.kt | 2 +- .../returnEmptyCollection.kt.after | 2 +- .../wrapWithCollectionLiteral/returnEmptyList.kt | 2 +- .../wrapWithCollectionLiteral/returnEmptyList.kt.after | 2 +- .../wrapWithCollectionLiteral/returnEmptySequence.kt | 2 +- .../returnEmptySequence.kt.after | 2 +- .../wrapWithCollectionLiteral/returnEmptySet.kt | 2 +- .../wrapWithCollectionLiteral/returnEmptySet.kt.after | 2 +- .../typeMismatch/wrapWithCollectionLiteral/toArray.kt | 2 +- .../wrapWithCollectionLiteral/toArray.kt.after | 2 +- .../wrapWithCollectionLiteral/toCollection.kt | 2 +- .../wrapWithCollectionLiteral/toCollection.kt.after | 2 +- .../typeMismatch/wrapWithCollectionLiteral/toList.kt | 2 +- .../wrapWithCollectionLiteral/toList.kt.after | 2 +- .../typeMismatch/wrapWithCollectionLiteral/toSequence.kt | 2 +- .../wrapWithCollectionLiteral/toSequence.kt.after | 2 +- .../typeMismatch/wrapWithCollectionLiteral/toSet.kt | 2 +- .../typeMismatch/wrapWithCollectionLiteral/toSet.kt.after | 2 +- .../quickfix/typeMismatch/wrongPrimitive/intToUnsigned.kt | 2 +- .../typeMismatch/wrongPrimitive/intToUnsigned.kt.after | 2 +- .../quickfix/typeMismatch/wrongPrimitive/unsignedToInt.kt | 2 +- .../typeMismatch/wrongPrimitive/unsignedToInt.kt.after | 2 +- .../testData/quickfix/typeOfAnnotationMember/star.kt | 2 +- .../testData/quickfix/typeOfAnnotationMember/string.kt | 2 +- .../variables/removeValVarFromParameter/catchParameter.kt | 2 +- .../removeValVarFromParameter/catchParameter.kt.after | 2 +- .../quickfix/when/addRemainingBranchesBlankLine.kt | 2 +- .../quickfix/when/addRemainingBranchesBlankLine.kt.after | 2 +- .../when/addRemainingBranchesBlankLineWithComment.kt | 2 +- .../addRemainingBranchesBlankLineWithComment.kt.after | 2 +- .../quickfix/when/addRemainingBranchesEnumBackTicks.kt | 2 +- .../when/addRemainingBranchesEnumBackTicks.kt.after | 2 +- .../quickfix/when/addRemainingBranchesEnumImport1.kt | 2 +- .../when/addRemainingBranchesEnumImport1.kt.after | 2 +- .../quickfix/when/addRemainingBranchesEnumImport2.kt | 2 +- .../when/addRemainingBranchesEnumImport2.kt.after | 2 +- .../quickfix/when/addRemainingBranchesEnumImport3.kt | 2 +- .../when/addRemainingBranchesEnumImport3.kt.after | 2 +- .../quickfix/when/addRemainingBranchesEnumImport4.kt | 2 +- .../when/addRemainingBranchesEnumImport4.kt.after | 2 +- .../quickfix/when/addRemainingBranchesSealedBackTicks.kt | 2 +- .../when/addRemainingBranchesSealedBackTicks.kt.after | 2 +- .../tests/testData/quickfix/when/breakInWhenInLabeled.kt | 2 +- .../testData/quickfix/when/breakInWhenInLabeled.kt.after | 2 +- .../testData/quickfix/when/continueInWhenInLabeled.kt | 2 +- .../quickfix/when/continueInWhenInLabeled.kt.after | 2 +- .../quickfix/wrapWithSafeLetCall/argumentNullable.kt | 2 +- .../wrapWithSafeLetCall/argumentNullable.kt.after | 2 +- .../wrapWithSafeLetCall/chainedCallTypeMismatch.kt | 2 +- .../wrapWithSafeLetCall/chainedCallTypeMismatch.kt.after | 2 +- .../quickfix/wrapWithSafeLetCall/chainedUnsafeCall.kt | 2 +- .../quickfix/wrapWithSafeLetCall/elvisArgument.kt | 2 +- .../quickfix/wrapWithSafeLetCall/elvisArgument.kt.after | 2 +- .../quickfix/wrapWithSafeLetCall/expressionUnsafeCall.kt | 2 +- .../quickfix/wrapWithSafeLetCall/extensionMethod.kt | 2 +- .../quickfix/wrapWithSafeLetCall/extentionFunctionCall.kt | 2 +- .../wrapWithSafeLetCall/extentionFunctionCall.kt.after | 2 +- .../wrapWithSafeLetCall/extentionFunctionCall2.kt | 2 +- .../wrapWithSafeLetCall/extentionFunctionCall2.kt.after | 2 +- .../testData/quickfix/wrapWithSafeLetCall/insideLet.kt | 2 +- .../quickfix/wrapWithSafeLetCall/insideLet.kt.after | 2 +- .../quickfix/wrapWithSafeLetCall/invokeFuncUnsafe.kt | 2 +- .../wrapWithSafeLetCall/invokeFuncUnsafe.kt.after | 2 +- .../quickfix/wrapWithSafeLetCall/invokeFunctionType.kt | 2 +- .../wrapWithSafeLetCall/invokeFunctionType.kt.after | 2 +- .../quickfix/wrapWithSafeLetCall/invokeFunctionType2.kt | 2 +- .../wrapWithSafeLetCall/invokeFunctionType2.kt.after | 2 +- .../quickfix/wrapWithSafeLetCall/invokeOperator.kt | 2 +- .../quickfix/wrapWithSafeLetCall/invokeOperator.kt.after | 2 +- .../quickfix/wrapWithSafeLetCall/invokeOperator2.kt | 2 +- .../quickfix/wrapWithSafeLetCall/invokeOperator2.kt.after | 2 +- .../testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt | 2 +- .../quickfix/wrapWithSafeLetCall/invokeUnsafe.kt.after | 2 +- .../quickfix/wrapWithSafeLetCall/objectQualifier.kt | 2 +- .../quickfix/wrapWithSafeLetCall/objectQualifier.kt.after | 2 +- .../tests/testData/quickfix/wrapWithSafeLetCall/unsafe.kt | 2 +- .../testData/quickfix/wrapWithSafeLetCall/unsafe.kt.after | 2 +- .../testData/quickfix/wrapWithSafeLetCall/unsafe2.kt | 2 +- .../quickfix/wrapWithSafeLetCall/unsafe2.kt.after | 2 +- .../wrapWithSafeLetCall/unsafeForNullableParameter.kt | 2 +- .../quickfix/wrapWithSafeLetCall/unstableValue.kt | 2 +- .../extractFunction/basic/callWithPlatformTypeReceiver.kt | 2 +- .../basic/callWithPlatformTypeReceiver.kt.after | 2 +- .../extractFunction/basic/callableReferenceSelector.kt | 2 +- .../basic/callableReferenceSelector.kt.after | 2 +- .../refactoring/extractFunction/basic/inlineReified2.kt | 2 +- .../extractFunction/basic/inlineReified2.kt.after | 2 +- .../basic/memberValUnderSmartCastAndImplicitReceiver.kt | 2 +- .../memberValUnderSmartCastAndImplicitReceiver.kt.after | 2 +- .../basic/unnecessaryNullabilityAnnotation.kt | 2 +- .../basic/unnecessaryNullabilityAnnotation.kt.after | 2 +- .../extractFunction/controlFlow/default/defaultCF.kt | 2 +- .../controlFlow/default/defaultCF.kt.after | 2 +- .../controlFlow/default/defaultCFWithExtraVars.kt | 2 +- .../controlFlow/default/defaultCFWithExtraVars.kt.after | 2 +- .../definiteReturns/labeledAndUnlabeledReturn1.kt | 2 +- .../definiteReturns/labeledAndUnlabeledReturn1.kt.after | 2 +- .../definiteReturns/labeledAndUnlabeledReturn2.kt | 2 +- .../definiteReturns/labeledAndUnlabeledReturn2.kt.after | 2 +- .../controlFlow/definiteReturns/nonLocalReturn.kt | 2 +- .../controlFlow/definiteReturns/nonLocalReturn.kt.after | 2 +- .../definiteReturns/nonLocalReturnWithLabel.kt | 2 +- .../definiteReturns/nonLocalReturnWithLabel.kt.after | 2 +- .../exitPointEquivalence/defaultAndReturnInWhen.kt | 2 +- .../exitPointEquivalence/defaultAndReturnInWhen.kt.after | 2 +- .../controlFlow/outputValues/genericPair.kt | 2 +- .../controlFlow/outputValues/genericPair.kt.after | 2 +- .../controlFlow/outputValues/initializersAndUpdate.kt | 2 +- .../outputValues/initializersAndUpdate.kt.after | 2 +- .../controlFlow/outputValues/nestedNonInlinableCall.kt | 2 +- .../outputValues/nestedNonInlinableCall.kt.after | 2 +- .../controlFlow/outputValues/outputValueWithExpression.kt | 2 +- .../outputValues/outputValueWithExpression.kt.after | 2 +- .../controlFlow/outputValues/outputValueWithReturn.kt | 2 +- .../outputValues/outputValueWithReturn.kt.after | 2 +- .../outputValues/outputValueWithSingleLineExpression.kt | 2 +- .../outputValueWithSingleLineExpression.kt.after | 2 +- .../outputValues/outputValuesWithExpression.kt | 2 +- .../outputValues/outputValuesWithExpression.kt.after | 2 +- .../extractFunction/controlFlow/outputValues/pair.kt | 2 +- .../controlFlow/outputValues/pair.kt.after | 2 +- .../outputValues/pairOfInitalizersWithNonLocalUsages.kt | 2 +- .../pairOfInitalizersWithNonLocalUsages.kt.after | 2 +- .../pairOfVarInitalizersWithNonLocalUsages.kt | 2 +- .../pairOfVarInitalizersWithNonLocalUsages.kt.after | 2 +- .../controlFlow/outputValues/pairWithIf.kt | 2 +- .../controlFlow/outputValues/pairWithIf.kt.after | 2 +- .../controlFlow/outputValues/pairWithNameClash.kt | 2 +- .../controlFlow/outputValues/pairWithNameClash.kt.after | 2 +- .../controlFlow/outputValues/pairWithWhen.kt | 2 +- .../controlFlow/outputValues/pairWithWhen.kt.after | 2 +- .../controlFlow/outputValues/tooManyOutputValues.kt | 2 +- .../controlFlow/outputValues/tooManyOutputValuesAsList.kt | 2 +- .../outputValues/tooManyOutputValuesAsList.kt.after | 2 +- .../extractFunction/controlFlow/outputValues/triple.kt | 2 +- .../controlFlow/outputValues/triple.kt.after | 2 +- .../controlFlow/outputValues/usedAndUnusedOutputValues.kt | 2 +- .../outputValues/usedAndUnusedOutputValues.kt.after | 2 +- .../valAndVarInitalizersWithNonLocalUsages.kt | 2 +- .../valAndVarInitalizersWithNonLocalUsages.kt.after | 2 +- .../returnTypeCandidates/javaAnnotatedNotNull.kt | 2 +- .../returnTypeCandidates/javaAnnotatedNotNull.kt.after | 2 +- .../extractFunction/controlFlow/throws/implicitThrow.kt | 2 +- .../controlFlow/throws/implicitThrow.kt.after | 2 +- .../controlFlow/unextractable/unmatchedReturnTargets.kt | 2 +- .../extractFunction/duplicates/branchingMatch1.kt | 2 +- .../extractFunction/duplicates/branchingMatch1.kt.after | 2 +- .../extractFunction/duplicates/branchingMatch2.kt | 2 +- .../extractFunction/duplicates/branchingMatch2.kt.after | 2 +- .../duplicates/multipleOutputValuesMatching.kt | 2 +- .../duplicates/multipleOutputValuesMatching.kt.after | 2 +- .../duplicates/outputValueAndUnitMatching.kt | 2 +- .../duplicates/outputValueAndUnitMatching.kt.after | 2 +- .../extractFunction/duplicates/outputValueMatching.kt | 2 +- .../duplicates/outputValueMatching.kt.after | 2 +- .../initializers/properties/multiDeclaration.kt | 2 +- .../initializers/properties/multiDeclaration.kt.after | 2 +- .../initializers/properties/nestedInMultiDeclaration.kt | 2 +- .../properties/nestedInMultiDeclaration.kt.after | 2 +- .../candidateTypes/cantLiftAnonymousToSupertype.kt | 2 +- .../parameters/candidateTypes/flexibleTypesWithNull.kt | 2 +- .../candidateTypes/flexibleTypesWithNull.kt.after | 2 +- .../parameters/candidateTypes/flexibleTypesWithoutNull.kt | 2 +- .../candidateTypes/flexibleTypesWithoutNull.kt.after | 2 +- .../candidateTypes/liftAnonymousToSupertype1.kt | 2 +- .../candidateTypes/liftAnonymousToSupertype1.kt.after | 2 +- .../candidateTypes/liftAnonymousToSupertype2.kt | 2 +- .../candidateTypes/liftAnonymousToSupertype2.kt.after | 2 +- .../parameters/candidateTypes/mutablyFlexibleType.kt | 2 +- .../candidateTypes/mutablyFlexibleType.kt.after | 2 +- .../parameters/candidateTypes/receiverCandidateTypes.kt | 2 +- .../candidateTypes/receiverCandidateTypes.kt.after | 2 +- .../parameters/extractThis/javaSyntheticProperty.kt | 2 +- .../parameters/extractThis/javaSyntheticProperty.kt.after | 2 +- .../extractThis/javaSyntheticPropertyWithDelegation.kt | 2 +- .../javaSyntheticPropertyWithDelegation.kt.after | 2 +- .../extractThis/javaSyntheticPropertyWithOverride.kt | 2 +- .../javaSyntheticPropertyWithOverride.kt.after | 2 +- .../typeParameterNotResolvableInTargetScope.kt | 2 +- .../typeParameterNotResolvableInTargetScope.kt.after | 2 +- .../typeParameterResolvableInTargetScope.kt | 2 +- .../typeParameterResolvableInTargetScope.kt.after | 2 +- .../extractSuperclass/dropPropertyParameterModifiers.kt | 2 +- .../dropPropertyParameterModifiers.kt.after | 2 +- .../inlineVariableOrProperty/ifInQualifiedExpression.kt | 2 +- .../ifInQualifiedExpression.kt.after | 2 +- .../introduceLambdaParameter/lambdaArgument.kt | 2 +- .../introduceLambdaParameter/lambdaArgument.kt.after | 2 +- .../refactoring/introduceParameter/foreignParameterRef.kt | 2 +- .../introduceParameter/foreignParameterRef.kt.after | 2 +- .../refactoring/introduceParameter/lambdaArgument.kt | 2 +- .../introduceParameter/lambdaArgument.kt.after | 2 +- .../introduceParameter/unusedDispatchReceiver.kt | 2 +- .../introduceParameter/unusedDispatchReceiver.kt.after | 2 +- .../introduceParameter/unusedExtensionReceiver.kt | 2 +- .../introduceParameter/unusedExtensionReceiver.kt.after | 2 +- .../introduceProperty/extractLazyMultipleExpressions.kt | 2 +- .../extractLazyMultipleExpressions.kt.after | 2 +- .../refactoring/introduceProperty/extractLazyToClass.kt | 2 +- .../introduceProperty/extractLazyToClass.kt.after | 2 +- .../refactoring/introduceProperty/extractLazyToFile.kt | 2 +- .../introduceProperty/extractLazyToFile.kt.after | 2 +- .../refactoring/introduceProperty/extractLazyWithBlock.kt | 2 +- .../introduceProperty/extractLazyWithBlock.kt.after | 2 +- .../typeParameterNotResolvableInTargetScope.kt | 2 +- .../typeParameterNotResolvableInTargetScope.kt.after | 2 +- .../typeParameterResolvableInTargetScope.kt | 2 +- .../typeParameterResolvableInTargetScope.kt.after | 2 +- .../refactoring/introduceTypeAlias/suggestedName.kt | 2 +- .../refactoring/introduceTypeAlias/suggestedName.kt.after | 2 +- .../refactoring/introduceVariable/ComplexCallee.kt | 2 +- .../refactoring/introduceVariable/ComplexCallee.kt.after | 2 +- .../refactoring/introduceVariable/FunctionLiteral.kt | 2 +- .../introduceVariable/FunctionLiteral.kt.after | 2 +- .../introduceVariable/FunctionLiteralWithExtraArgs.kt | 2 +- .../FunctionLiteralWithExtraArgs.kt.after | 2 +- .../introduceVariable/IntroduceLambdaAndCreateBlock.kt | 2 +- .../IntroduceLambdaAndCreateBlock.kt.after | 2 +- .../refactoring/introduceVariable/NoExplicitReceivers.kt | 2 +- .../introduceVariable/NoExplicitReceivers.kt.after | 2 +- .../refactoring/introduceVariable/arrayAssignment.kt | 2 +- .../introduceVariable/arrayAssignment.kt.after | 2 +- .../explicateTypeArguments/DeeperNestedCall.kt | 2 +- .../explicateTypeArguments/DeeperNestedCall.kt.after | 2 +- .../explicateTypeArguments/NestedCall.kt | 2 +- .../explicateTypeArguments/NestedCall.kt.after | 2 +- .../explicateTypeArguments/Parenthesized.kt | 2 +- .../explicateTypeArguments/Parenthesized.kt.after | 2 +- .../introduceVariable/explicateTypeArguments/Qualified.kt | 2 +- .../explicateTypeArguments/Qualified.kt.after | 2 +- .../introduceVariable/explicateTypeArguments/Simple.kt | 2 +- .../explicateTypeArguments/Simple.kt.after | 2 +- .../explicateTypeArguments/UnmatchedOccurrences.kt | 2 +- .../explicateTypeArguments/UnmatchedOccurrences.kt.after | 2 +- .../introduceVariable/multiDeclarations/array.kt | 2 +- .../introduceVariable/multiDeclarations/array.kt.after | 2 +- .../introduceVariable/multiDeclarations/intArray.kt | 2 +- .../introduceVariable/multiDeclarations/intArray.kt.after | 2 +- .../introduceVariable/multiDeclarations/list.kt | 2 +- .../introduceVariable/multiDeclarations/list.kt.after | 2 +- .../introduceVariable/multiDeclarations/unusedExpr.kt | 2 +- .../multiDeclarations/unusedExpr.kt.after | 2 +- .../introduceVariable/multiDeclarations/usedExpr.kt | 2 +- .../introduceVariable/multiDeclarations/usedExpr.kt.after | 2 +- .../refactoring/introduceVariable/onAssignmentLHS.kt | 2 +- .../refactoring/introduceVariable/selectorAssignment.kt | 2 +- .../introduceVariable/selectorAssignment.kt.after | 2 +- .../refactoring/introduceVariable/skipClassReference.kt | 2 +- .../introduceVariable/skipClassReference.kt.after | 2 +- .../introduceVariable/skipUsageInAssignmentLHS.kt | 2 +- .../introduceVariable/skipUsageInAssignmentLHS.kt.after | 2 +- .../tests/testData/refactoring/nameSuggester/Iterable.kt | 2 +- .../testData/refactoring/nameSuggester/ListOfClasses.kt | 2 +- .../testData/refactoring/nameSuggester/ListOfInts.kt | 2 +- .../nameSuggester/ParameterNameByArgumentExpression.kt | 2 +- .../ParameterNameByParenthesizedArgumentExpression.kt | 2 +- .../testData/refactoring/nameSuggester/StringIntMap.kt | 2 +- .../refactoring/pullUp/k2j/constructorParameterToClass.kt | 2 +- .../pullUp/k2j/constructorParameterToClass.kt.after | 2 +- .../testData/refactoring/pullUp/k2j/fromClassToClass.kt | 2 +- .../refactoring/pullUp/k2j/fromClassToClass.kt.after | 2 +- .../pullUp/k2j/fromClassToClassAndMakeAbstract.kt | 2 +- .../pullUp/k2j/fromClassToClassAndMakeAbstract.kt.after | 2 +- .../pullUp/k2j/fromClassToClassWithGenerics.kt | 2 +- .../pullUp/k2j/fromClassToClassWithGenerics.kt.after | 2 +- .../refactoring/pullUp/k2j/fromClassToInterface.kt | 2 +- .../refactoring/pullUp/k2j/fromClassToInterface.kt.after | 2 +- .../refactoring/pullUp/k2j/fromClassToNestedClass.kt | 2 +- .../pullUp/k2j/fromClassToNestedClass.kt.after | 2 +- .../pullUp/k2k/abstractFromInterfaceToInterface.kt | 2 +- .../pullUp/k2k/abstractFromInterfaceToInterface.kt.after | 2 +- .../testData/refactoring/pullUp/k2k/fromClassToClass.kt | 2 +- .../refactoring/pullUp/k2k/fromClassToClass.kt.after | 2 +- .../pullUp/k2k/fromClassToClassMakeAbstract.kt | 2 +- .../pullUp/k2k/fromClassToClassMakeAbstract.kt.after | 2 +- .../pullUp/k2k/fromClassToClassWithGenerics.kt | 2 +- .../pullUp/k2k/fromClassToClassWithGenerics.kt.after | 2 +- .../refactoring/pullUp/k2k/fromClassToInterface.kt | 2 +- .../refactoring/pullUp/k2k/fromClassToInterface.kt.after | 2 +- .../pullUp/k2k/fromClassToInterfaceMakeAbstract.kt | 2 +- .../pullUp/k2k/fromClassToInterfaceMakeAbstract.kt.after | 2 +- .../refactoring/pullUp/k2k/innerClassToInterface.kt | 2 +- .../idea/tests/testData/slicer/inflow/funParamerer.kt | 2 +- .../testData/slicer/inflow/funParamererWithDefault.kt | 2 +- .../kotlin/idea/tests/testData/slicer/inflow/openFun.kt | 2 +- .../testData/slicer/inflow/openFunInvokeOnParameter.kt | 2 +- .../testData/slicer/inflow/primaryConstructorParameter.kt | 2 +- .../inflow/primaryConstructorParameterWithDefault.kt | 2 +- .../slicer/inflow/secondaryConstructorParameter.kt | 2 +- .../inflow/secondaryConstructorParameterWithDefault.kt | 2 +- .../slicer/inflow/settersViaDelegateForQualifiedRef.kt | 2 +- .../slicer/outflow/jvmFieldMemberPropertyJavaUsages.kt | 2 +- .../testData/slicer/outflow/topLevelPropertyUsages.kt | 2 +- .../idea/tests/testData/slicer/outflow/wrongThis.kt | 2 +- .../usageHighlighter/importAliasFromStdLibClass.kt | 2 +- .../usageHighlighter/importAliasFromStdLibFunction.kt | 2 +- .../importAliasFromStdLibFunctionFromObject.kt | 2 +- .../importAliasFromStdLibPropertyFromObject.kt | 2 +- .../test/testData/fileRanking/propertyDelegates.kt | 2 +- .../jvm-debugger/test/testData/fileRanking/topLevel.kt | 2 +- .../idea/test/KotlinLightCodeInsightFixtureTestCase.kt | 8 +++++--- 5383 files changed, 5407 insertions(+), 5402 deletions(-) diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/constructors.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/constructors.kt index c4339ce51e5f..936f38169a15 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/constructors.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/constructors.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package test import kotlinx.parcelize.Parcelize diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/customCreator.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/customCreator.kt index 99cb74e45ad5..8cca979a9023 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/customCreator.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/customCreator.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package test import kotlinx.parcelize.Parcelize diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/customParcelers.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/customParcelers.kt index c499fda4da64..7b3d2e9bb679 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/customParcelers.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/customParcelers.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package test import kotlinx.parcelize.* diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/deprecatedAnnotations.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/deprecatedAnnotations.kt index c85d57f8d0e2..edb874a23c8d 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/deprecatedAnnotations.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/deprecatedAnnotations.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package test import kotlinx.android.parcel.* diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/properties.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/properties.kt index d03bad9957d8..5af90279f36c 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/properties.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/properties.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package test import kotlinx.parcelize.* diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/constructorWithDelegate.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/constructorWithDelegate.kt index 53b2a7d76b65..11309a8594bf 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/constructorWithDelegate.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/constructorWithDelegate.kt @@ -1,5 +1,5 @@ // "Add empty primary constructor" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/constructorWithDelegate.kt.after b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/constructorWithDelegate.kt.after index 07786288a722..df1870eedabb 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/constructorWithDelegate.kt.after +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/constructorWithDelegate.kt.after @@ -1,5 +1,5 @@ // "Add empty primary constructor" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/noQuickFix.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/noQuickFix.kt index 96b2f5aa704a..a595ce309be9 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/noQuickFix.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/noQuickFix.kt @@ -1,6 +1,6 @@ // "Add empty primary constructor" "false" // IGNORE_IRRELEVANT_ACTIONS -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/simple.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/simple.kt index f1935d1b4945..e253ac6492c1 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/simple.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/simple.kt @@ -1,5 +1,5 @@ // "Add empty primary constructor" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/simple.kt.after b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/simple.kt.after index f21beff26471..37b7137c1602 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/simple.kt.after +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/addPrimaryConstructor/simple.kt.after @@ -1,5 +1,5 @@ // "Add empty primary constructor" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/cantBeInnerClass/simple.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/cantBeInnerClass/simple.kt index 3a089ea46ddb..44aea14794ff 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/cantBeInnerClass/simple.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/cantBeInnerClass/simple.kt @@ -1,5 +1,5 @@ // "Remove 'inner' modifier" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/cantBeInnerClass/simple.kt.after b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/cantBeInnerClass/simple.kt.after index 05c98f07ac78..bf7d865080cf 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/cantBeInnerClass/simple.kt.after +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/cantBeInnerClass/simple.kt.after @@ -1,5 +1,5 @@ // "Remove 'inner' modifier" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/classShouldBeAnnotated/simple.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/classShouldBeAnnotated/simple.kt index 12c824d1d94e..83575068dc42 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/classShouldBeAnnotated/simple.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/classShouldBeAnnotated/simple.kt @@ -1,6 +1,6 @@ // "Annotate containing class with ''@Parcelize''" "true" // ERROR: No 'Parcelable' supertype -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/classShouldBeAnnotated/simple.kt.after b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/classShouldBeAnnotated/simple.kt.after index 74e2c43f34a7..6dd0cb024daf 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/classShouldBeAnnotated/simple.kt.after +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/classShouldBeAnnotated/simple.kt.after @@ -1,6 +1,6 @@ // "Annotate containing class with ''@Parcelize''" "true" // ERROR: No 'Parcelable' supertype -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/deleteIncompatible/creatorField.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/deleteIncompatible/creatorField.kt index c84bc44e68ec..1d02a20d3b7d 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/deleteIncompatible/creatorField.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/deleteIncompatible/creatorField.kt @@ -1,6 +1,6 @@ // "Remove custom ''CREATOR'' property" "true" // ERROR: Overriding 'writeToParcel' is not allowed. Use 'Parceler' companion object instead -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/deleteIncompatible/creatorField.kt.after b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/deleteIncompatible/creatorField.kt.after index 5490c7d01c27..5719276a9d77 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/deleteIncompatible/creatorField.kt.after +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/deleteIncompatible/creatorField.kt.after @@ -1,6 +1,6 @@ // "Remove custom ''CREATOR'' property" "true" // ERROR: Overriding 'writeToParcel' is not allowed. Use 'Parceler' companion object instead -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/deleteIncompatible/writeToParcel.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/deleteIncompatible/writeToParcel.kt index 34e5cc4e51fe..436125602f3b 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/deleteIncompatible/writeToParcel.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/deleteIncompatible/writeToParcel.kt @@ -1,6 +1,6 @@ // "Remove custom ''writeToParcel()'' function" "true" // ERROR: 'CREATOR' definition is not allowed. Use 'Parceler' companion object instead -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/deleteIncompatible/writeToParcel.kt.after b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/deleteIncompatible/writeToParcel.kt.after index 4e74edf965b4..685d98d68667 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/deleteIncompatible/writeToParcel.kt.after +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/deleteIncompatible/writeToParcel.kt.after @@ -1,6 +1,6 @@ // "Remove custom ''writeToParcel()'' function" "true" // ERROR: 'CREATOR' definition is not allowed. Use 'Parceler' companion object instead -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/basic.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/basic.kt index 2c4b20eb9e91..97dc4d327c53 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/basic.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/basic.kt @@ -1,5 +1,5 @@ // "Migrate to ''Parceler'' companion object" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/basic.kt.after b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/basic.kt.after index 5be33fb4ead6..e705df523c79 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/basic.kt.after +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/basic.kt.after @@ -1,5 +1,5 @@ // "Migrate to ''Parceler'' companion object" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/complexCase1.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/complexCase1.kt index a6be983672ee..05175514a3c8 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/complexCase1.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/complexCase1.kt @@ -1,5 +1,5 @@ // "Migrate to ''Parceler'' companion object" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/complexCase1.kt.after b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/complexCase1.kt.after index 013331da9e06..fbad44f17f3e 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/complexCase1.kt.after +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/complexCase1.kt.after @@ -1,5 +1,5 @@ // "Migrate to ''Parceler'' companion object" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/customDescribeContents.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/customDescribeContents.kt index f743efc4f031..afe6eaffc0c8 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/customDescribeContents.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/customDescribeContents.kt @@ -1,5 +1,5 @@ // "Migrate to ''Parceler'' companion object" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/customDescribeContents.kt.after b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/customDescribeContents.kt.after index f80295e3ba8a..4cc031c81829 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/customDescribeContents.kt.after +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/customDescribeContents.kt.after @@ -1,5 +1,5 @@ // "Migrate to ''Parceler'' companion object" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/fromCreatorObject.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/fromCreatorObject.kt index 85161d767c81..5a8b72a828cb 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/fromCreatorObject.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/fromCreatorObject.kt @@ -1,5 +1,5 @@ // "Migrate to ''Parceler'' companion object" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/fromCreatorObject.kt.after b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/fromCreatorObject.kt.after index 01017af4672a..c7a71087fd45 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/fromCreatorObject.kt.after +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/fromCreatorObject.kt.after @@ -1,5 +1,5 @@ // "Migrate to ''Parceler'' companion object" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/innerClassFactory.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/innerClassFactory.kt index e437207956f1..bc5b5cd9b5be 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/innerClassFactory.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/innerClassFactory.kt @@ -1,5 +1,5 @@ // "Migrate to ''Parceler'' companion object" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/innerClassFactory.kt.after b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/innerClassFactory.kt.after index 18e10c00a13c..3f2e605502bf 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/innerClassFactory.kt.after +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/innerClassFactory.kt.after @@ -1,5 +1,5 @@ // "Migrate to ''Parceler'' companion object" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/jvmField.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/jvmField.kt index 9de5641760c1..06cfa0c88acb 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/jvmField.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/jvmField.kt @@ -1,5 +1,5 @@ // "Migrate to ''Parceler'' companion object" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/jvmField.kt.after b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/jvmField.kt.after index 54328c156f7c..d75a64c8f7ed 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/jvmField.kt.after +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/jvmField.kt.after @@ -1,5 +1,5 @@ // "Migrate to ''Parceler'' companion object" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/withoutDescribeContents.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/withoutDescribeContents.kt index 471925955ee8..f733d22887ad 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/withoutDescribeContents.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/withoutDescribeContents.kt @@ -1,5 +1,5 @@ // "Migrate to ''Parceler'' companion object" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/withoutDescribeContents.kt.after b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/withoutDescribeContents.kt.after index 5be33fb4ead6..e705df523c79 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/withoutDescribeContents.kt.after +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/migrations/withoutDescribeContents.kt.after @@ -1,5 +1,5 @@ // "Migrate to ''Parceler'' companion object" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/noParcelableSupertype/alreadyHasSupertype.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/noParcelableSupertype/alreadyHasSupertype.kt index 56a21d0caf5d..1032b8835200 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/noParcelableSupertype/alreadyHasSupertype.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/noParcelableSupertype/alreadyHasSupertype.kt @@ -1,6 +1,6 @@ // "Add ''Parcelable'' supertype" "false" // IGNORE_IRRELEVANT_ACTIONS -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/noParcelableSupertype/simple.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/noParcelableSupertype/simple.kt index 0f33c4309059..1b6dbd64327b 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/noParcelableSupertype/simple.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/noParcelableSupertype/simple.kt @@ -1,5 +1,5 @@ // "Add ''Parcelable'' supertype" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/noParcelableSupertype/simple.kt.after b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/noParcelableSupertype/simple.kt.after index feb882c27ce8..f5b7d8c38903 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/noParcelableSupertype/simple.kt.after +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/noParcelableSupertype/simple.kt.after @@ -1,5 +1,5 @@ // "Add ''Parcelable'' supertype" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/propertyWontBeSerialized/simple.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/propertyWontBeSerialized/simple.kt index 1f4dcac1631b..82e747f0d47f 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/propertyWontBeSerialized/simple.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/propertyWontBeSerialized/simple.kt @@ -1,5 +1,5 @@ // "Add ''@IgnoredOnParcel'' annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/propertyWontBeSerialized/simple.kt.after b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/propertyWontBeSerialized/simple.kt.after index d6d71e9ebf72..155a8f4760b2 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/propertyWontBeSerialized/simple.kt.after +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/propertyWontBeSerialized/simple.kt.after @@ -1,5 +1,5 @@ // "Add ''@IgnoredOnParcel'' annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/removeDuplicatingTypeParcelerAnnotation/simple.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/removeDuplicatingTypeParcelerAnnotation/simple.kt index 274ce098955e..c4dd1c863bbd 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/removeDuplicatingTypeParcelerAnnotation/simple.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/removeDuplicatingTypeParcelerAnnotation/simple.kt @@ -1,6 +1,6 @@ // "Remove redundant ''@TypeParceler'' annotation" "true" // WARNING: This annotation duplicates the one for Class 'Foo' -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/removeDuplicatingTypeParcelerAnnotation/simple.kt.after b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/removeDuplicatingTypeParcelerAnnotation/simple.kt.after index 39e22ce4972d..c116e8c37b1e 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/removeDuplicatingTypeParcelerAnnotation/simple.kt.after +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/quickfix/removeDuplicatingTypeParcelerAnnotation/simple.kt.after @@ -1,6 +1,6 @@ // "Remove redundant ''@TypeParceler'' annotation" "true" // WARNING: This annotation duplicates the one for Class 'Foo' -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/completion/tests/testData/handlers/basic/ClassNameForMethodWithPackageConflict.kt b/plugins/kotlin/completion/tests/testData/handlers/basic/ClassNameForMethodWithPackageConflict.kt index ffa2029e0c83..fb3e7eea6a9d 100644 --- a/plugins/kotlin/completion/tests/testData/handlers/basic/ClassNameForMethodWithPackageConflict.kt +++ b/plugins/kotlin/completion/tests/testData/handlers/basic/ClassNameForMethodWithPackageConflict.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun buildTemplates() { val kotlin = 42 diff --git a/plugins/kotlin/completion/tests/testData/handlers/basic/ClassNameForMethodWithPackageConflict.kt.after b/plugins/kotlin/completion/tests/testData/handlers/basic/ClassNameForMethodWithPackageConflict.kt.after index 4e7c6e2e225d..8cdbabb77fe6 100644 --- a/plugins/kotlin/completion/tests/testData/handlers/basic/ClassNameForMethodWithPackageConflict.kt.after +++ b/plugins/kotlin/completion/tests/testData/handlers/basic/ClassNameForMethodWithPackageConflict.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun buildTemplates() { val kotlin = 42 diff --git a/plugins/kotlin/completion/tests/testData/handlers/basic/ClassNameForMethodWithPackageConflict2.kt b/plugins/kotlin/completion/tests/testData/handlers/basic/ClassNameForMethodWithPackageConflict2.kt index d2afd8133104..5da0784c4679 100644 --- a/plugins/kotlin/completion/tests/testData/handlers/basic/ClassNameForMethodWithPackageConflict2.kt +++ b/plugins/kotlin/completion/tests/testData/handlers/basic/ClassNameForMethodWithPackageConflict2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class kotlin fun buildTemplates() { printl diff --git a/plugins/kotlin/completion/tests/testData/handlers/basic/ClassNameForMethodWithPackageConflict2.kt.after b/plugins/kotlin/completion/tests/testData/handlers/basic/ClassNameForMethodWithPackageConflict2.kt.after index 89e922d21251..162cd0e8667e 100644 --- a/plugins/kotlin/completion/tests/testData/handlers/basic/ClassNameForMethodWithPackageConflict2.kt.after +++ b/plugins/kotlin/completion/tests/testData/handlers/basic/ClassNameForMethodWithPackageConflict2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class kotlin fun buildTemplates() { println() diff --git a/plugins/kotlin/completion/tests/testData/weighers/basic/ImportedFirstForJavaClass.kt b/plugins/kotlin/completion/tests/testData/weighers/basic/ImportedFirstForJavaClass.kt index 6c14c29739de..a175080d2c36 100644 --- a/plugins/kotlin/completion/tests/testData/weighers/basic/ImportedFirstForJavaClass.kt +++ b/plugins/kotlin/completion/tests/testData/weighers/basic/ImportedFirstForJavaClass.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // MIN_JAVA_VERSION: 6 import java.sql.DriverPropertyInfo diff --git a/plugins/kotlin/completion/tests/testData/weighers/smart/BooleanExpected.kt b/plugins/kotlin/completion/tests/testData/weighers/smart/BooleanExpected.kt index 114ec963e8da..8e4aa4bff6ab 100644 --- a/plugins/kotlin/completion/tests/testData/weighers/smart/BooleanExpected.kt +++ b/plugins/kotlin/completion/tests/testData/weighers/smart/BooleanExpected.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB var nonNullable: Boolean = true diff --git a/plugins/kotlin/completion/tests/testData/weighers/smart/FunctionExpected.kt b/plugins/kotlin/completion/tests/testData/weighers/smart/FunctionExpected.kt index ff1a7da34612..bfd3b2c58826 100644 --- a/plugins/kotlin/completion/tests/testData/weighers/smart/FunctionExpected.kt +++ b/plugins/kotlin/completion/tests/testData/weighers/smart/FunctionExpected.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(filter: (String) -> Boolean) {} diff --git a/plugins/kotlin/completion/tests/testData/weighers/smart/NameSimilarityInImplicitlyTypedVarInitializer.kt b/plugins/kotlin/completion/tests/testData/weighers/smart/NameSimilarityInImplicitlyTypedVarInitializer.kt index 21b5ee8ddd47..c4815d319197 100644 --- a/plugins/kotlin/completion/tests/testData/weighers/smart/NameSimilarityInImplicitlyTypedVarInitializer.kt +++ b/plugins/kotlin/completion/tests/testData/weighers/smart/NameSimilarityInImplicitlyTypedVarInitializer.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A(s: String) { val substring = s.capitalize() diff --git a/plugins/kotlin/completion/tests/testData/weighers/smart/SmartPriority.kt b/plugins/kotlin/completion/tests/testData/weighers/smart/SmartPriority.kt index 8af0ffb547ae..b09737bf6d2c 100644 --- a/plugins/kotlin/completion/tests/testData/weighers/smart/SmartPriority.kt +++ b/plugins/kotlin/completion/tests/testData/weighers/smart/SmartPriority.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB var nonNullable: C = C() diff --git a/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/checkers/AbstractJavaAgainstKotlinCheckerTest.java b/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/checkers/AbstractJavaAgainstKotlinCheckerTest.java index 09abf338605e..a76794ad852e 100644 --- a/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/checkers/AbstractJavaAgainstKotlinCheckerTest.java +++ b/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/checkers/AbstractJavaAgainstKotlinCheckerTest.java @@ -99,7 +99,9 @@ public abstract class AbstractJavaAgainstKotlinCheckerTest extends KotlinDaemonA return module; } - if (InTextDirectivesUtils.isDirectiveDefined(configFileText, "// WITH_RUNTIME")) { + boolean withRuntime = InTextDirectivesUtils.isDirectiveDefined(configFileText, "// WITH_RUNTIME") || + InTextDirectivesUtils.isDirectiveDefined(configFileText, "// WITH_STDLIB"); + if (withRuntime) { ConfigLibraryUtil.INSTANCE.configureKotlinRuntime(module); } diff --git a/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/refactoring/introduce/AbstractExtractionTest.kt b/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/refactoring/introduce/AbstractExtractionTest.kt index 89e9bc42c77c..834a66908a40 100644 --- a/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/refactoring/introduce/AbstractExtractionTest.kt +++ b/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/refactoring/introduce/AbstractExtractionTest.kt @@ -375,7 +375,8 @@ abstract class AbstractExtractionTest : KotlinLightCodeInsightFixtureTestCase() withCustomCompilerOptions(fileText, project, module) { ConfigLibraryUtil.configureLibrariesByDirective(module, fileText) - val addKotlinRuntime = InTextDirectivesUtils.findStringWithPrefixes(fileText, "// WITH_RUNTIME") != null + val addKotlinRuntime = InTextDirectivesUtils.findStringWithPrefixes(fileText, "// WITH_RUNTIME") != null || + InTextDirectivesUtils.findStringWithPrefixes(fileText, "// WITH_STDLIB") != null if (addKotlinRuntime) { ConfigLibraryUtil.configureKotlinRuntimeAndSdk(module, IdeaTestUtil.getMockJdk18()) } diff --git a/plugins/kotlin/idea/tests/testData/android/intention/implementParcelable/withTransient.kt b/plugins/kotlin/idea/tests/testData/android/intention/implementParcelable/withTransient.kt index 314e2dea9d39..26c981c8db5b 100644 --- a/plugins/kotlin/idea/tests/testData/android/intention/implementParcelable/withTransient.kt +++ b/plugins/kotlin/idea/tests/testData/android/intention/implementParcelable/withTransient.kt @@ -1,5 +1,5 @@ // INTENTION_CLASS: org.jetbrains.kotlin.android.intention.ImplementParcelableAction -// WITH_RUNTIME +// WITH_STDLIB class WithTransient() { @Transient var transientText: String = "" diff --git a/plugins/kotlin/idea/tests/testData/android/intention/implementParcelable/withTransient.kt.expected b/plugins/kotlin/idea/tests/testData/android/intention/implementParcelable/withTransient.kt.expected index 1e987b4873f0..f47f9a6f6d2c 100644 --- a/plugins/kotlin/idea/tests/testData/android/intention/implementParcelable/withTransient.kt.expected +++ b/plugins/kotlin/idea/tests/testData/android/intention/implementParcelable/withTransient.kt.expected @@ -2,7 +2,7 @@ import android.os.Parcel import android.os.Parcelable // INTENTION_CLASS: org.jetbrains.kotlin.android.intention.ImplementParcelableAction -// WITH_RUNTIME +// WITH_STDLIB class WithTransient() : Parcelable { @Transient var transientText: String = "" diff --git a/plugins/kotlin/idea/tests/testData/android/quickfix/viewConstructor/indirect.after.kt b/plugins/kotlin/idea/tests/testData/android/quickfix/viewConstructor/indirect.after.kt index c4a1068612fe..36c7741a52b5 100644 --- a/plugins/kotlin/idea/tests/testData/android/quickfix/viewConstructor/indirect.after.kt +++ b/plugins/kotlin/idea/tests/testData/android/quickfix/viewConstructor/indirect.after.kt @@ -1,6 +1,6 @@ // "Add Android View constructors using '@JvmOverloads'" "true" // ERROR: This type has a constructor, and thus must be initialized here -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/idea/tests/testData/android/quickfix/viewConstructor/indirect.before.Main.kt b/plugins/kotlin/idea/tests/testData/android/quickfix/viewConstructor/indirect.before.Main.kt index 1e6d65ffdc69..3ed1453bf59a 100644 --- a/plugins/kotlin/idea/tests/testData/android/quickfix/viewConstructor/indirect.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/android/quickfix/viewConstructor/indirect.before.Main.kt @@ -1,6 +1,6 @@ // "Add Android View constructors using '@JvmOverloads'" "true" // ERROR: This type has a constructor, and thus must be initialized here -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/idea/tests/testData/android/quickfix/viewConstructor/simple.after.kt b/plugins/kotlin/idea/tests/testData/android/quickfix/viewConstructor/simple.after.kt index 82315d1a7fb6..d2722019d6ab 100644 --- a/plugins/kotlin/idea/tests/testData/android/quickfix/viewConstructor/simple.after.kt +++ b/plugins/kotlin/idea/tests/testData/android/quickfix/viewConstructor/simple.after.kt @@ -1,6 +1,6 @@ // "Add Android View constructors using '@JvmOverloads'" "true" // ERROR: This type has a constructor, and thus must be initialized here -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/idea/tests/testData/android/quickfix/viewConstructor/simple.before.Main.kt b/plugins/kotlin/idea/tests/testData/android/quickfix/viewConstructor/simple.before.Main.kt index d4c51dc69e6c..9923d807c29e 100644 --- a/plugins/kotlin/idea/tests/testData/android/quickfix/viewConstructor/simple.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/android/quickfix/viewConstructor/simple.before.Main.kt @@ -1,6 +1,6 @@ // "Add Android View constructors using '@JvmOverloads'" "true" // ERROR: This type has a constructor, and thus must be initialized here -// WITH_RUNTIME +// WITH_STDLIB package com.myapp.activity diff --git a/plugins/kotlin/idea/tests/testData/checker/diagnosticsMessage/fullPackageFQNameOnVisiblityError.kt b/plugins/kotlin/idea/tests/testData/checker/diagnosticsMessage/fullPackageFQNameOnVisiblityError.kt index df9ae566fd94..8fee714b2ef4 100644 --- a/plugins/kotlin/idea/tests/testData/checker/diagnosticsMessage/fullPackageFQNameOnVisiblityError.kt +++ b/plugins/kotlin/idea/tests/testData/checker/diagnosticsMessage/fullPackageFQNameOnVisiblityError.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package a.b diff --git a/plugins/kotlin/idea/tests/testData/codeInsight/generate/secondaryConstructors/empty.kt b/plugins/kotlin/idea/tests/testData/codeInsight/generate/secondaryConstructors/empty.kt index 4080b682ac4a..9aebb101b092 100644 --- a/plugins/kotlin/idea/tests/testData/codeInsight/generate/secondaryConstructors/empty.kt +++ b/plugins/kotlin/idea/tests/testData/codeInsight/generate/secondaryConstructors/empty.kt @@ -1,5 +1,5 @@ // ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateSecondaryConstructorAction -// WITH_RUNTIME +// WITH_STDLIB class Foo { val x = 1 val y: Int diff --git a/plugins/kotlin/idea/tests/testData/codeInsight/generate/secondaryConstructors/empty.kt.after b/plugins/kotlin/idea/tests/testData/codeInsight/generate/secondaryConstructors/empty.kt.after index 2bc38d5f0ef8..e05d0d1ff454 100644 --- a/plugins/kotlin/idea/tests/testData/codeInsight/generate/secondaryConstructors/empty.kt.after +++ b/plugins/kotlin/idea/tests/testData/codeInsight/generate/secondaryConstructors/empty.kt.after @@ -1,5 +1,5 @@ // ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateSecondaryConstructorAction -// WITH_RUNTIME +// WITH_STDLIB class Foo { val x = 1 val y: Int diff --git a/plugins/kotlin/idea/tests/testData/codeInsight/generate/secondaryConstructors/emptyExists.kt b/plugins/kotlin/idea/tests/testData/codeInsight/generate/secondaryConstructors/emptyExists.kt index 99bdec72e330..93bbfb9a7595 100644 --- a/plugins/kotlin/idea/tests/testData/codeInsight/generate/secondaryConstructors/emptyExists.kt +++ b/plugins/kotlin/idea/tests/testData/codeInsight/generate/secondaryConstructors/emptyExists.kt @@ -1,5 +1,5 @@ // ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateSecondaryConstructorAction -// WITH_RUNTIME +// WITH_STDLIB class Foo { constructor() { diff --git a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/JvmNameOnMember.kt b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/JvmNameOnMember.kt index a030481ceae0..f15ec90728ea 100644 --- a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/JvmNameOnMember.kt +++ b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/JvmNameOnMember.kt @@ -1,5 +1,5 @@ // C -// WITH_RUNTIME +// WITH_STDLIB class C { @JvmName("myFun") fun g(c: C) { diff --git a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/JvmStatic.kt b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/JvmStatic.kt index 767f12fa7bb7..135651643e14 100644 --- a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/JvmStatic.kt +++ b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/JvmStatic.kt @@ -1,5 +1,5 @@ // A -// WITH_RUNTIME +// WITH_STDLIB class A { companion object { diff --git a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/ActualTypeAliasCustomJvmPackageName.kt b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/ActualTypeAliasCustomJvmPackageName.kt index ef4652912a2e..a4a51606b0bb 100644 --- a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/ActualTypeAliasCustomJvmPackageName.kt +++ b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/ActualTypeAliasCustomJvmPackageName.kt @@ -1,5 +1,5 @@ // a.b.c.ActualTypeAliasCustomJvmPackageNameKt -// WITH_RUNTIME +// WITH_STDLIB @file:JvmPackageName("a.b.c") package p diff --git a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/AllInlineOnly.kt b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/AllInlineOnly.kt index 1af1854d386a..777088ef8c8c 100644 --- a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/AllInlineOnly.kt +++ b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/AllInlineOnly.kt @@ -1,5 +1,5 @@ // p.AllInlineOnly -// WITH_RUNTIME +// WITH_STDLIB @file:kotlin.jvm.JvmMultifileClass @file:kotlin.jvm.JvmName("AllInlineOnly") diff --git a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/AnnotationModifiers.kt b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/AnnotationModifiers.kt index 9dbb7b87048e..1d8d5fe3f47b 100644 --- a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/AnnotationModifiers.kt +++ b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/AnnotationModifiers.kt @@ -1,5 +1,5 @@ // A -// WITH_RUNTIME +// WITH_STDLIB class A { @Synchronized @Strictfp diff --git a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/JvmPackageName.kt b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/JvmPackageName.kt index d537c6c41324..3798a768153f 100644 --- a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/JvmPackageName.kt +++ b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/JvmPackageName.kt @@ -1,5 +1,5 @@ // a.b.c.JvmPackageNameKt -// WITH_RUNTIME +// WITH_STDLIB @file:JvmPackageName("a.b.c") package p diff --git a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/WrongAnnotations.kt b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/WrongAnnotations.kt index 0055c18876b4..ec9bc8df9fe0 100644 --- a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/WrongAnnotations.kt +++ b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/compilationErrors/WrongAnnotations.kt @@ -1,5 +1,5 @@ // A -// WITH_RUNTIME +// WITH_STDLIB class A { companion object { diff --git a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/facades/AllPrivate.kt b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/facades/AllPrivate.kt index b1f65de093db..aab98667217b 100644 --- a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/facades/AllPrivate.kt +++ b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/facades/AllPrivate.kt @@ -1,5 +1,5 @@ // p.AllPrivate -// WITH_RUNTIME +// WITH_STDLIB @file:kotlin.jvm.JvmMultifileClass @file:kotlin.jvm.JvmName("AllPrivate") diff --git a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/facades/MultiFile.kt b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/facades/MultiFile.kt index a1b02f37ab15..15673639b757 100644 --- a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/facades/MultiFile.kt +++ b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/facades/MultiFile.kt @@ -1,5 +1,5 @@ // test.MultiFile -// WITH_RUNTIME +// WITH_STDLIB @file:JvmMultifileClass @file:JvmName("MultiFile") diff --git a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/facades/SingleJvmClassName.kt b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/facades/SingleJvmClassName.kt index 63e44d1f030e..ac5625ba68cc 100644 --- a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/facades/SingleJvmClassName.kt +++ b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/facades/SingleJvmClassName.kt @@ -1,5 +1,5 @@ //NewName -// WITH_RUNTIME +// WITH_STDLIB @file:JvmName("NewName") fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/nullabilityAnnotations/JvmOverloads.kt b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/nullabilityAnnotations/JvmOverloads.kt index 410470555875..a8e859ec7908 100644 --- a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/nullabilityAnnotations/JvmOverloads.kt +++ b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/nullabilityAnnotations/JvmOverloads.kt @@ -1,5 +1,5 @@ // C -// WITH_RUNTIME +// WITH_STDLIB class C { @[kotlin.jvm.JvmOverloads] public fun foo(o: String = "O", o1: String, o3: String = "K", o4: String?): String { diff --git a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/publicField/CompanionObject.kt b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/publicField/CompanionObject.kt index a7df277c8b5d..142c392441d7 100644 --- a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/publicField/CompanionObject.kt +++ b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/publicField/CompanionObject.kt @@ -1,5 +1,5 @@ // C -// WITH_RUNTIME +// WITH_STDLIB class C { companion object { diff --git a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/publicField/Simple.kt b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/publicField/Simple.kt index 5708dc842c70..7a1091f83604 100644 --- a/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/publicField/Simple.kt +++ b/plugins/kotlin/idea/tests/testData/compiler/asJava/lightClasses/publicField/Simple.kt @@ -1,5 +1,5 @@ // C -// WITH_RUNTIME +// WITH_STDLIB class C { @[kotlin.jvm.JvmField] public val foo: String = { "A" }() diff --git a/plugins/kotlin/idea/tests/testData/concatenatedStringGenerator/stringtemplate.kt b/plugins/kotlin/idea/tests/testData/concatenatedStringGenerator/stringtemplate.kt index b8d13a633839..15c200d6fcd8 100644 --- a/plugins/kotlin/idea/tests/testData/concatenatedStringGenerator/stringtemplate.kt +++ b/plugins/kotlin/idea/tests/testData/concatenatedStringGenerator/stringtemplate.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB var foo = "aaa" var bar = "bbb" diff --git a/plugins/kotlin/idea/tests/testData/concatenatedStringGenerator/stringtemplateWithConstant.kt b/plugins/kotlin/idea/tests/testData/concatenatedStringGenerator/stringtemplateWithConstant.kt index 4956662820f8..0be21f70c4d7 100644 --- a/plugins/kotlin/idea/tests/testData/concatenatedStringGenerator/stringtemplateWithConstant.kt +++ b/plugins/kotlin/idea/tests/testData/concatenatedStringGenerator/stringtemplateWithConstant.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = "aaa" val bar = "bbb" diff --git a/plugins/kotlin/idea/tests/testData/folding/checkCollapse/collectionFactoryFunctions.kt b/plugins/kotlin/idea/tests/testData/folding/checkCollapse/collectionFactoryFunctions.kt index 1cf1306dd2ae..60f2e53a670e 100644 --- a/plugins/kotlin/idea/tests/testData/folding/checkCollapse/collectionFactoryFunctions.kt +++ b/plugins/kotlin/idea/tests/testData/folding/checkCollapse/collectionFactoryFunctions.kt @@ -14,4 +14,4 @@ val list = listOf( 2 ) -// WITH_RUNTIME \ No newline at end of file +// WITH_STDLIB \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/highlighter/Functions.kt b/plugins/kotlin/idea/tests/testData/highlighter/Functions.kt index cc4f39852e7f..2db78565d11c 100644 --- a/plugins/kotlin/idea/tests/testData/highlighter/Functions.kt +++ b/plugins/kotlin/idea/tests/testData/highlighter/Functions.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun global() { fun inner() { diff --git a/plugins/kotlin/idea/tests/testData/highlighter/TopLevelDestructuring.kt b/plugins/kotlin/idea/tests/testData/highlighter/TopLevelDestructuring.kt index 9f0fb92db73f..a6571f5e8bfe 100644 --- a/plugins/kotlin/idea/tests/testData/highlighter/TopLevelDestructuring.kt +++ b/plugins/kotlin/idea/tests/testData/highlighter/TopLevelDestructuring.kt @@ -10,4 +10,4 @@ class Foo { } // NO_CHECK_INFOS -// WITH_RUNTIME +// WITH_STDLIB diff --git a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeFunctionInitializer.after.kt b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeFunctionInitializer.after.kt index 7a74a9a47951..670c1cb0babd 100644 --- a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeFunctionInitializer.after.kt +++ b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeFunctionInitializer.after.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITHOUT_CUSTOM_LINE_INDENT_PROVIDER fun test(): Int = bar { foo() diff --git a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeFunctionInitializer.kt b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeFunctionInitializer.kt index 202781e7b3db..53f23b23d035 100644 --- a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeFunctionInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeFunctionInitializer.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITHOUT_CUSTOM_LINE_INDENT_PROVIDER fun test(): Int = bar { foo() diff --git a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeLocalPropertyInitializer.after.kt b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeLocalPropertyInitializer.after.kt index 3938dcf343c4..556702b2d183 100644 --- a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeLocalPropertyInitializer.after.kt +++ b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeLocalPropertyInitializer.after.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITHOUT_CUSTOM_LINE_INDENT_PROVIDER fun test() { val test = run { diff --git a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeLocalPropertyInitializer.kt b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeLocalPropertyInitializer.kt index 26aadf346854..b4924a0b1345 100644 --- a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeLocalPropertyInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeLocalPropertyInitializer.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITHOUT_CUSTOM_LINE_INDENT_PROVIDER fun test() { val test = run { 1 diff --git a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeMemberPropertyInitializer.after.kt b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeMemberPropertyInitializer.after.kt index 33f0b40ee733..dbf203fe2b5f 100644 --- a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeMemberPropertyInitializer.after.kt +++ b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeMemberPropertyInitializer.after.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITHOUT_CUSTOM_LINE_INDENT_PROVIDER class Test { val test = run { diff --git a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeMemberPropertyInitializer.kt b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeMemberPropertyInitializer.kt index 3ce8d8cfd2f3..ba424d62ba7e 100644 --- a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeMemberPropertyInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeMemberPropertyInitializer.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITHOUT_CUSTOM_LINE_INDENT_PROVIDER class Test { val test = run {foo() diff --git a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeTopLevelPropertyInitializer.after.kt b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeTopLevelPropertyInitializer.after.kt index 944ba3912c9c..3d867844c15f 100644 --- a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeTopLevelPropertyInitializer.after.kt +++ b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeTopLevelPropertyInitializer.after.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITHOUT_CUSTOM_LINE_INDENT_PROVIDER val test = run { foo() diff --git a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeTopLevelPropertyInitializer.kt b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeTopLevelPropertyInitializer.kt index d0ca4f805200..1e4f7ae9409a 100644 --- a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeTopLevelPropertyInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/LambdaArgumentBeforeTopLevelPropertyInitializer.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITHOUT_CUSTOM_LINE_INDENT_PROVIDER val test = run {foo() diff --git a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/NotApplicableOnInitializer.after.kt b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/NotApplicableOnInitializer.after.kt index a874696a44ff..d194f1806499 100644 --- a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/NotApplicableOnInitializer.after.kt +++ b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/NotApplicableOnInitializer.after.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITHOUT_CUSTOM_LINE_INDENT_PROVIDER fun test(): Int = bar { f oo() diff --git a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/NotApplicableOnInitializer.kt b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/NotApplicableOnInitializer.kt index 4f1e7a5788f7..d19bd82f5094 100644 --- a/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/NotApplicableOnInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/indentationOnNewline/afterUnmatchedBrace/NotApplicableOnInitializer.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITHOUT_CUSTOM_LINE_INDENT_PROVIDER fun test(): Int = bar { foo() diff --git a/plugins/kotlin/idea/tests/testData/inspections/canBeVal/withDelegate.kt b/plugins/kotlin/idea/tests/testData/inspections/canBeVal/withDelegate.kt index 6456fc04903b..fdffbcf655da 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/canBeVal/withDelegate.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/canBeVal/withDelegate.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var s: String by Delegates.notNull() diff --git a/plugins/kotlin/idea/tests/testData/inspections/canBeVal/withReadOnlyDelegate.kt b/plugins/kotlin/idea/tests/testData/inspections/canBeVal/withReadOnlyDelegate.kt index 088ffb8e92c6..49368e014495 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/canBeVal/withReadOnlyDelegate.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/canBeVal/withReadOnlyDelegate.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var s: String by lazy { "Hello!" } diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/AlwaysZero.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/AlwaysZero.kt index 35374f8a250b..d9c5dfa96635 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/AlwaysZero.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/AlwaysZero.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x : Int, y: Array) { if (x == 0) { other(x) diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/Arrays.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/Arrays.kt index cd8734269b51..d96072ec23f9 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/Arrays.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/Arrays.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun arrayCast(x: Array) { @Suppress("UNCHECKED_CAST") val y = x as Array diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/Boolean.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/Boolean.kt index b44f4518816e..9df00d4c06bd 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/Boolean.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/Boolean.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun literal() { var b : Boolean b = true diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/BooleanConst.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/BooleanConst.kt index 4277e27af9c9..87362e706003 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/BooleanConst.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/BooleanConst.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // Tests from PR#1176 fun foo(a: Int, b: Int) { val flag = a > b diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/BoxedInt.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/BoxedInt.kt index 11519869d55e..36de1834edf6 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/BoxedInt.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/BoxedInt.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x : Int?) { if (x != null && x > 5) {} if (x != null && x > 5 && x < 3) {} diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/BrokenCode.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/BrokenCode.kt index 5f63cc15193c..b7615697ff8a 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/BrokenCode.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/BrokenCode.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { try { for() diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/CastGenericMethodReturn.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/CastGenericMethodReturn.kt index 951f1808976f..00ebfaa4ead0 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/CastGenericMethodReturn.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/CastGenericMethodReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(t: Test) { val result = t.returnT() as? String if (result == null) {} diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/ClassRef.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/ClassRef.kt index e12ba756b1d7..1e18273feed9 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/ClassRef.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/ClassRef.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun javaClassRef() { val xKClass = X::class val x = xKClass.java diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/CollectionConstructors.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/CollectionConstructors.kt index 2ef116a321b5..6e22955ab629 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/CollectionConstructors.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/CollectionConstructors.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import kotlin.collections.* fun simple() { diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/Comparison.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/Comparison.kt index 6dee5e1dcdbc..515ed7c508d9 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/Comparison.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/Comparison.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun testParameter(x : Int) { if (x > 5) { if (x < 3) { diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/CustomObjectComparison.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/CustomObjectComparison.kt index 9624d1b2266f..d9f94081a9d0 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/CustomObjectComparison.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/CustomObjectComparison.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun compareObjects(x: Any?, y: Any?) { if (x == x) {} if (x == y) { diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/DoubleComparison.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/DoubleComparison.kt index 9d972ba38f02..1c36b7e65acb 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/DoubleComparison.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/DoubleComparison.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { if (x > y) {} else if (x == y) {} diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/EnumComparison.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/EnumComparison.kt index 13757c4195c6..c95096a0ef5d 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/EnumComparison.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/EnumComparison.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import Enum.* enum class Enum { diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/Exclamation.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/Exclamation.kt index f8748bfc8c1b..ccf819ef6559 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/Exclamation.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/Exclamation.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun notNull(i:Int) { i!!.toLong() } diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/ForLoop.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/ForLoop.kt index 98b781937d5b..86d56f8a5d6e 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/ForLoop.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/ForLoop.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import kotlin.collections.List fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/InRange.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/InRange.kt index 8e693b82f0db..6bdc9a94562c 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/InRange.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/InRange.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(obj : Int) { if (obj > 10) { if (obj in 1..5) {} diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/IncompleteCode1.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/IncompleteCode1.kt index fecae4e4a0f1..5737c0674839 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/IncompleteCode1.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/IncompleteCode1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun oops(a: String, b: String) : Boolean { var i = 0 var j = 0 diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/InlineLambda.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/InlineLambda.kt index 824a60c50c39..41b38f1ffb02 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/InlineLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/InlineLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import kotlin.contracts.* fun lambdaGlobalReturn(ints: Array, b : Boolean) { diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/InlineStandardCalls.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/InlineStandardCalls.kt index 6d85cf29f77b..20724c4dcbd3 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/InlineStandardCalls.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/InlineStandardCalls.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun inlineLet() { val x = 5 val y = x.let { if(it == 5) 1 else 2 } diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/JavaMethods.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/JavaMethods.kt index 56da0ad5f2b6..fb3990057d23 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/JavaMethods.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/JavaMethods.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class JavaMethods { var f : Int = 0 diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/Lambda.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/Lambda.kt index 67ff19c8aab3..9a83892b2e54 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/Lambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/Lambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun itVariable(x:List) { x.forEach { if (it > 0) { diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/LanguageConstructs.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/LanguageConstructs.kt index 874239df0838..767f36612aba 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/LanguageConstructs.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/LanguageConstructs.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun objectDeclaration() { var x : Any = object : X(), Y {} if (x is X) {} diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/List.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/List.kt index bec173de8fe8..4ceb11c2d27e 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/List.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/List.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun listIsEmpty(x: List): Unit { if (x.size == 0) return if (x.isEmpty()) {} diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/Math.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/Math.kt index d0e79ccc1332..1fbb924267f5 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/Math.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/Math.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun basicMath(x: Int, y: Int) { if (x == 12 && y == 2) { if (x + y == 14) {} diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/NothingType.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/NothingType.kt index 44009fd26328..4d4c70b4b577 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/NothingType.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/NothingType.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x : Int) { if (x > 5) { fail(x) diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/Property.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/Property.kt index e6dc66e4d09c..a0702e8c045a 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/Property.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/Property.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class X { var a: Int = 0 @Volatile diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/Qualifier.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/Qualifier.kt index 975156677b0b..98f8f4fa0978 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/Qualifier.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/Qualifier.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class X { var p: Int = 0 diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/SmartCastConflict.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/SmartCastConflict.kt index 901acfea784b..82853dab0376 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/SmartCastConflict.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/SmartCastConflict.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun qualifierDoesNotAddSmartCast(x: Any) { x as String if (x.length == 0) return diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/StaticAnalysisVsHumanBrain.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/StaticAnalysisVsHumanBrain.kt index 8c37c0a5e062..a635f9ef659a 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/StaticAnalysisVsHumanBrain.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/StaticAnalysisVsHumanBrain.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // KTIJ-18352 fun process(options: Map, inputs: List, s: String): List { val res = mutableListOf() diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/StringComparison.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/StringComparison.kt index 396399232a96..b57169ed2c69 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/StringComparison.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/StringComparison.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun compareStrings(s1: String, s2: String, s3: String) { if (s1 > s1) {} if (s1 > s2) { diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/StringTemplate.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/StringTemplate.kt index c72ab559bab1..bf0510c2ec0f 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/StringTemplate.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/StringTemplate.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun lenthTest(x : Int) { val data = "Value = ${x}" if (data.length > 5) { } diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/Strings.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/Strings.kt index a226b072ea69..0d3c6c923b2a 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/Strings.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/Strings.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun concat(x : Int) { val data = "Value = " + x if (data.length > 5) { } diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/Suppressions.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/Suppressions.kt index c2b70364783f..c9e979a871e9 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/Suppressions.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/Suppressions.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun assertCall(x: Int, b: Boolean, c: Boolean) { if (x < 0) return if (Math.random() > 0.5) { diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/TryCatch.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/TryCatch.kt index 145d69f66499..f2565af696c9 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/TryCatch.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/TryCatch.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun divisionByZero(x: Int) { val result = try { 100 / x } catch(ex: ArithmeticException) { 200 } if (result == 200) { diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/TryCatchInsideFinally.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/TryCatchInsideFinally.kt index 2abe619d2da1..4993cddabecd 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/TryCatchInsideFinally.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/TryCatchInsideFinally.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(cn: Cn?): String? { var query: Q? = null var result: String? = null diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/TryFinally.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/TryFinally.kt index bd7033c606da..cd2ec9a77847 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/TryFinally.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/TryFinally.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.* import java.util.zip.ZipEntry import java.util.zip.ZipFile diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/TypeCast.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/TypeCast.kt index 07296f50cf50..9ac705e5700e 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/TypeCast.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/TypeCast.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun castMayFail(b: Boolean) { val x : Any = if (b) "x" else 5 val y = x as String diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/TypeTest.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/TypeTest.kt index 43fb021a5ad5..ced42132f3b4 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/TypeTest.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/TypeTest.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun unrelatedTypes(obj : Any) { if (obj is X) { if (obj is Y) { } diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/When.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/When.kt index f1e6b2522cc2..1e6c220b2e19 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/When.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/When.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun simpleRange(x: Int) = when { x > 10 -> 10 x > 15 -> 15 diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/WhileLoop.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/WhileLoop.kt index d58cf52b9ba4..d4fbfdd76b0a 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/WhileLoop.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/WhileLoop.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun simpleWhile() { var x = 0 while (x < 100000) { diff --git a/plugins/kotlin/idea/tests/testData/inspections/emptyRange/test.kt b/plugins/kotlin/idea/tests/testData/inspections/emptyRange/test.kt index dfa51d2d9dda..2b02677467c7 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/emptyRange/test.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/emptyRange/test.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB const val ONE = 1 fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspections/forEachParameterNotUsed/inspectionData/inspections.test b/plugins/kotlin/idea/tests/testData/inspections/forEachParameterNotUsed/inspectionData/inspections.test index ca92ab2769fa..450085f47a67 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/forEachParameterNotUsed/inspectionData/inspections.test +++ b/plugins/kotlin/idea/tests/testData/inspections/forEachParameterNotUsed/inspectionData/inspections.test @@ -1,2 +1,2 @@ // INSPECTION_CLASS: org.jetbrains.kotlin.idea.inspections.ForEachParameterNotUsedInspection -// WITH_RUNTIME +// WITH_STDLIB diff --git a/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/function.kt b/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/function.kt index 2dc794978b0e..56aa8f10529a 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/function.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/function.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() = java.lang.String.valueOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/local.kt b/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/local.kt index d2cc1014e434..52cd56635692 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/local.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/local.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val local = java.lang.String.valueOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/property1.kt b/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/property1.kt index f54eb28efe46..351c6348624e 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/property1.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/property1.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val bar = java.lang.String.valueOf(1) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/property2.kt b/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/property2.kt index f37ee86441bc..ff3c8a23426c 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/property2.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/property2.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB // By default OK: Array val list = arrayOf(java.lang.String.valueOf(1)) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/star.kt b/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/star.kt index c6e71914b5af..14825e8ae46c 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/star.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/hasPlatformType/star.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Wrapper(val value: T) diff --git a/plugins/kotlin/idea/tests/testData/inspections/redundantSuspendModifier/operators.kt b/plugins/kotlin/idea/tests/testData/inspections/redundantSuspendModifier/operators.kt index 959c1e68f294..5bda540a8b5b 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/redundantSuspendModifier/operators.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/redundantSuspendModifier/operators.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A(val x: Int) { // Redundant diff --git a/plugins/kotlin/idea/tests/testData/inspections/redundantSuspendModifier/test.kt b/plugins/kotlin/idea/tests/testData/inspections/redundantSuspendModifier/test.kt index 09509bf8d529..01f9f56eb445 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/redundantSuspendModifier/test.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/redundantSuspendModifier/test.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun coroutine(block: suspend () -> Unit) {} diff --git a/plugins/kotlin/idea/tests/testData/inspections/redundantWith/inspectionData/inspections.test b/plugins/kotlin/idea/tests/testData/inspections/redundantWith/inspectionData/inspections.test index 8c3d2fee556b..ae81dc67414c 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/redundantWith/inspectionData/inspections.test +++ b/plugins/kotlin/idea/tests/testData/inspections/redundantWith/inspectionData/inspections.test @@ -1,2 +1,2 @@ // INSPECTION_CLASS: org.jetbrains.kotlin.idea.inspections.RedundantWithInspection -// WITH_RUNTIME \ No newline at end of file +// WITH_STDLIB \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspections/unusedEquals/test.kt b/plugins/kotlin/idea/tests/testData/inspections/unusedEquals/test.kt index 558aed92fdfb..e97f4e4886b0 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/unusedEquals/test.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/unusedEquals/test.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Int, b: Int) { a == b // not used diff --git a/plugins/kotlin/idea/tests/testData/inspections/unusedImport/duplicatedImports.kt b/plugins/kotlin/idea/tests/testData/inspections/unusedImport/duplicatedImports.kt index 753e8c820087..4033e70561e9 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/unusedImport/duplicatedImports.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/unusedImport/duplicatedImports.kt @@ -10,5 +10,5 @@ import java.sql.* // unused fun foo(file: File, list: ArrayList) { } -// WITH_RUNTIME +// WITH_STDLIB // FULL_JDK diff --git a/plugins/kotlin/idea/tests/testData/inspections/unusedImport/file.kt b/plugins/kotlin/idea/tests/testData/inspections/unusedImport/file.kt index 816731f1110d..911f5e730dcd 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/unusedImport/file.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/unusedImport/file.kt @@ -19,5 +19,5 @@ fun foo(list: ArrayList, p: RootPackageClass, e: ConExc) { class RootPackageClass -// WITH_RUNTIME +// WITH_STDLIB // FULL_JDK diff --git a/plugins/kotlin/idea/tests/testData/inspections/unusedImport/propertyWithExtensionFunctionType.Dependency.kt b/plugins/kotlin/idea/tests/testData/inspections/unusedImport/propertyWithExtensionFunctionType.Dependency.kt index b0ba4d4e69c1..907f2872afed 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/unusedImport/propertyWithExtensionFunctionType.Dependency.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/unusedImport/propertyWithExtensionFunctionType.Dependency.kt @@ -4,4 +4,4 @@ class CrExtended val funExtension = fun CrExtended.(): Unit {} -// WITH_RUNTIME \ No newline at end of file +// WITH_STDLIB \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspections/unusedImport/propertyWithExtensionFunctionType.kt b/plugins/kotlin/idea/tests/testData/inspections/unusedImport/propertyWithExtensionFunctionType.kt index fa895ffd5b02..50832fd5aa92 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/unusedImport/propertyWithExtensionFunctionType.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/unusedImport/propertyWithExtensionFunctionType.kt @@ -7,4 +7,4 @@ fun test() { CrExtended().funExtension() } -// WITH_RUNTIME \ No newline at end of file +// WITH_STDLIB \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspections/unusedImport/unusedStarWhenExplicit.kt b/plugins/kotlin/idea/tests/testData/inspections/unusedImport/unusedStarWhenExplicit.kt index af000562fa73..daba282c6b57 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/unusedImport/unusedStarWhenExplicit.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/unusedImport/unusedStarWhenExplicit.kt @@ -9,5 +9,5 @@ import java.util.* // used because HashMap is used fun foo(file: File, input: InputStream, arrayList: ArrayList, hashMap: HashMap) { } -// WITH_RUNTIME +// WITH_STDLIB // FULL_JDK diff --git a/plugins/kotlin/idea/tests/testData/inspections/unusedSymbol/class/unusedButEntryPointApplet.kt b/plugins/kotlin/idea/tests/testData/inspections/unusedSymbol/class/unusedButEntryPointApplet.kt index 4cb64d08a076..2342ab1370f2 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/unusedSymbol/class/unusedButEntryPointApplet.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/unusedSymbol/class/unusedButEntryPointApplet.kt @@ -1,5 +1,5 @@ -// WITH_RUNTIME +// WITH_STDLIB // FULL_JDK open class A: java.applet.Applet() diff --git a/plugins/kotlin/idea/tests/testData/inspections/unusedSymbol/object/inspectionData/inspections.test b/plugins/kotlin/idea/tests/testData/inspections/unusedSymbol/object/inspectionData/inspections.test index 870169db2ee3..b52031dce9c8 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/unusedSymbol/object/inspectionData/inspections.test +++ b/plugins/kotlin/idea/tests/testData/inspections/unusedSymbol/object/inspectionData/inspections.test @@ -1,2 +1,2 @@ // INSPECTION_CLASS: org.jetbrains.kotlin.idea.inspections.UnusedSymbolInspection -// WITH_RUNTIME +// WITH_STDLIB diff --git a/plugins/kotlin/idea/tests/testData/inspections/unusedSymbol/object/unusedButEntryPointMain.kt b/plugins/kotlin/idea/tests/testData/inspections/unusedSymbol/object/unusedButEntryPointMain.kt index c17aa223ebae..5e30b5eb2f84 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/unusedSymbol/object/unusedButEntryPointMain.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/unusedSymbol/object/unusedButEntryPointMain.kt @@ -1,6 +1,6 @@ package entryPoint -// WITH_RUNTIME +// WITH_STDLIB object EntryPoint { @JvmStatic public fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/arrayInDataClass/test.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/arrayInDataClass/test.kt index 5898ab2e7ec5..c09d851968f6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/arrayInDataClass/test.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/arrayInDataClass/test.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB data class A(val a: IntArray) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/arrayInDataClass/test.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/arrayInDataClass/test.kt.after index 050f735b3cb7..57cd035a4791 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/arrayInDataClass/test.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/arrayInDataClass/test.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class A(val a: IntArray) { override fun equals(other: Any?): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/booleanLiteralArgument/pair.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/booleanLiteralArgument/pair.kt index fb7f1e1217de..259e61dfa5fc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/booleanLiteralArgument/pair.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/booleanLiteralArgument/pair.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test() { Pair(true, false) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/booleanLiteralArgument/triple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/booleanLiteralArgument/triple.kt index 8f45f520e25c..2ef83094145a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/booleanLiteralArgument/triple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/booleanLiteralArgument/triple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test() { Triple(true, false, true) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/applicableForLocalStableVar.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/applicableForLocalStableVar.kt index 9ba668a0ef22..7b74e6ace7c6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/applicableForLocalStableVar.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/applicableForLocalStableVar.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun maybeFoo(): String? { return "foo" } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/applicableForLocalStableVar.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/applicableForLocalStableVar.kt.after index 3030ce633368..b8f1f9424e35 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/applicableForLocalStableVar.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/applicableForLocalStableVar.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun maybeFoo(): String? { return "foo" } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/implicitReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/implicitReceiver.kt index 187b60f183d7..c10a21d1e7c7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/implicitReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/implicitReceiver.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB fun String?.foo() = if (this == null) true else isEmpty() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/implicitReceiver.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/implicitReceiver.kt.after index b87e929e9ed2..ed7950270944 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/implicitReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/implicitReceiver.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB fun String?.foo() = this?.isEmpty() ?: true \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/inspectionData/inspections.test b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/inspectionData/inspections.test index 5a880dbab9ef..dd9e5a3318dd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/inspectionData/inspections.test +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/inspectionData/inspections.test @@ -1,2 +1,2 @@ // INSPECTION_CLASS: org.jetbrains.kotlin.idea.inspections.branchedTransformations.IfThenToElvisInspection -// WITH_RUNTIME +// WITH_STDLIB diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/kt19666.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/kt19666.kt index e83c7b548e9c..8821391ca46f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/kt19666.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/kt19666.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface Taggable { val tag: String } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/kt19666.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/kt19666.kt.after index b74dc269e526..1bca68d05eb9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/kt19666.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/kt19666.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface Taggable { val tag: String } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/notApplicableForLocalUnstableVar.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/notApplicableForLocalUnstableVar.kt index 4d8c8bb9fea1..8842b253242e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/notApplicableForLocalUnstableVar.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/notApplicableForLocalUnstableVar.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun maybeFoo(): String? { return "foo" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/notApplicableForSimpleKotlinNPE.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/notApplicableForSimpleKotlinNPE.kt index b9c955d1a9b3..4aa299c29e89 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/notApplicableForSimpleKotlinNPE.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/notApplicableForSimpleKotlinNPE.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS fun main(args: Array) { val t: String? = "abc" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/notApplicableForSimpleNPE.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/notApplicableForSimpleNPE.kt index 47bbfd8167f0..aed6c84487e7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/notApplicableForSimpleNPE.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/notApplicableForSimpleNPE.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS fun main(args: Array) { val t: String? = "abc" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/nullCheckWithSelectorCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/nullCheckWithSelectorCall.kt index 77c1d528b025..2bb3d9b213f6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/nullCheckWithSelectorCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/nullCheckWithSelectorCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val nullableString: String? = "abc" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/nullCheckWithSelectorCall.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/nullCheckWithSelectorCall.kt.after index d7efccae838b..d30fdade8213 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/nullCheckWithSelectorCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/nullCheckWithSelectorCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val nullableString: String? = "abc" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/nullCheckWithSelectorCallChain.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/nullCheckWithSelectorCallChain.kt index da880bec5926..4e10ab26f56a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/nullCheckWithSelectorCallChain.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/nullCheckWithSelectorCallChain.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val nullableString: String? = "abc" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/nullCheckWithSelectorCallChain.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/nullCheckWithSelectorCallChain.kt.after index 8e8c151a34c9..62f4b69af2f9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/nullCheckWithSelectorCallChain.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/nullCheckWithSelectorCallChain.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val nullableString: String? = "abc" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLet.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLet.kt index b51527f94420..8cd4f2217a5f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLet.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLet.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String?) { val x = if (s != null) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLet.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLet.kt.after index 0fbd6187c096..e33dae02aae5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLet.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLet.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String?) { val x = s?.let { bar(it) } ?: 13 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetAndRenameIt.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetAndRenameIt.kt index 36c6bce3ab49..bff698cae6e1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetAndRenameIt.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetAndRenameIt.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(it: String?) { val x = if (it != null) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetAndRenameIt.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetAndRenameIt.kt.after index ca8ade85b1f6..61dbdff7b092 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetAndRenameIt.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetAndRenameIt.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(it: String?) { val x = it?.let { it1 -> bar(it1) } ?: 13 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetInMember.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetInMember.kt index a7e3488b66a4..731a0d0859c6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetInMember.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetInMember.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Test { fun doAThing(param1: String): String { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetInMember.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetInMember.kt.after index 310721e46c18..87db6dcfcd78 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetInMember.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetInMember.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Test { fun doAThing(param1: String): String { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetInMemberWithIs.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetInMemberWithIs.kt index a21c96d28a37..d0ae936d85c8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetInMemberWithIs.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetInMemberWithIs.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Test { fun doAThing(param1: String): String { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetInMemberWithIs.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetInMemberWithIs.kt.after index aae7e405e954..94ca13a9d8ae 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetInMemberWithIs.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/replaceWithLetInMemberWithIs.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Test { fun doAThing(param1: String): String { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/throwsNPEwithArgument.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/throwsNPEwithArgument.kt index 4b4451d3e639..9544b12ff48e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/throwsNPEwithArgument.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/throwsNPEwithArgument.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main(args: Array) { val t: String? = "abc" if (t != null) t else throw NullPointerException("'t' must not be null") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/throwsNPEwithArgument.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/throwsNPEwithArgument.kt.after index 63c53d875a28..5059c1d6b494 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/throwsNPEwithArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToElvis/throwsNPEwithArgument.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main(args: Array) { "abc" ?: throw NullPointerException("'t' must not be null") } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call.kt index 265b51061ac1..f34c124529e4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: INFORMATION fun convert(x: String, y: String) = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call.kt.after index f96c8485d648..5c0eb1ed37c1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: INFORMATION fun convert(x: String, y: String) = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call2.kt index fb1eac183068..9e2641c47958 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: INFORMATION fun convert(x: String, y: String) = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call2.kt.after index 53ea330dd5f6..1d7f887bc3c8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: INFORMATION fun convert(x: String, y: String) = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call3.kt index 69ece72692a2..9387d3c9921c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: INFORMATION fun convert(x: String, y: Int) = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call3.kt.after index 2110d53a9b8a..5639a2e0f639 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: INFORMATION fun convert(x: String, y: Int) = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call4.kt index 56c7aa053a6f..0cab73cd5d24 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: INFORMATION fun maybeFoo(): String? { return "foo" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call4.kt.after index 32de64e80359..c51e147cdd33 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: INFORMATION fun maybeFoo(): String? { return "foo" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/callWithNamedArgument.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/callWithNamedArgument.kt index 4442ed744d21..a52ca9d9a634 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/callWithNamedArgument.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/callWithNamedArgument.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class D(val x: Int = 1, val y: Int = 2, val z: Int = 3) fun test(i: Int?, j: Int) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/callWithNamedArgument.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/callWithNamedArgument.kt.after index 3b0ea84c37a8..572db5b277b3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/callWithNamedArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/callWithNamedArgument.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class D(val x: Int = 1, val y: Int = 2, val z: Int = 3) fun test(i: Int?, j: Int) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/implicitReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/implicitReceiver.kt index 21be42334ab4..d3f80e0e031a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/implicitReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/implicitReceiver.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB fun String?.foo() = if (this == null) null else isEmpty() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/implicitReceiver.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/implicitReceiver.kt.after index 3fd38588bbe9..e4fa36dc2cef 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/implicitReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/implicitReceiver.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB fun String?.foo() = this?.isEmpty() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/implicitReceiverInApply.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/implicitReceiverInApply.kt index dcf807414469..e311746089e2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/implicitReceiverInApply.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/implicitReceiverInApply.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class Foo class Test { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/inspectionData/inspections.test b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/inspectionData/inspections.test index f9f307e9f3c2..fe9f7a74630c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/inspectionData/inspections.test +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/inspectionData/inspections.test @@ -1,2 +1,2 @@ // INSPECTION_CLASS: org.jetbrains.kotlin.idea.inspections.branchedTransformations.IfThenToSafeAccessInspection -// WITH_RUNTIME \ No newline at end of file +// WITH_STDLIB \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/notApplicableResultInCallChain.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/notApplicableResultInCallChain.kt index c55b76564618..122018722ad3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/notApplicableResultInCallChain.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/notApplicableResultInCallChain.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS val someNullableString: String? = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/nullCheckWithSelectorCallChain.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/nullCheckWithSelectorCallChain.kt index 24ece6ed2893..64998feb4161 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/nullCheckWithSelectorCallChain.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/nullCheckWithSelectorCallChain.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val nullableString: String? = "abc" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/nullCheckWithSelectorCallChain.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/nullCheckWithSelectorCallChain.kt.after index d5117fa93cf8..7dd4f671a8c2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/nullCheckWithSelectorCallChain.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/nullCheckWithSelectorCallChain.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val nullableString: String? = "abc" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/replaceWithLetInMember.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/replaceWithLetInMember.kt index 1f4b3e6c60e8..9e3c2550bb7c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/replaceWithLetInMember.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/replaceWithLetInMember.kt @@ -1,5 +1,5 @@ // HIGHLIGHT: INFORMATION -// WITH_RUNTIME +// WITH_STDLIB class Test { fun doAThing(param1: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/replaceWithLetInMember.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/replaceWithLetInMember.kt.after index 7bd445140919..0e8c35ecd704 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/replaceWithLetInMember.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/replaceWithLetInMember.kt.after @@ -1,5 +1,5 @@ // HIGHLIGHT: INFORMATION -// WITH_RUNTIME +// WITH_STDLIB class Test { fun doAThing(param1: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/replaceWithLetInMemberWithIs.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/replaceWithLetInMemberWithIs.kt index a710782de475..d20fc87e473a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/replaceWithLetInMemberWithIs.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/replaceWithLetInMemberWithIs.kt @@ -1,5 +1,5 @@ // HIGHLIGHT: INFORMATION -// WITH_RUNTIME +// WITH_STDLIB class Test { fun doAThing(param1: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/replaceWithLetInMemberWithIs.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/replaceWithLetInMemberWithIs.kt.after index daba9239d2b6..6d506e7db94c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/replaceWithLetInMemberWithIs.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/replaceWithLetInMemberWithIs.kt.after @@ -1,5 +1,5 @@ // HIGHLIGHT: INFORMATION -// WITH_RUNTIME +// WITH_STDLIB class Test { fun doAThing(param1: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/resultCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/resultCall.kt index 36a12d476677..b779c829a6ea 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/resultCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/resultCall.kt @@ -1,5 +1,5 @@ // DISABLE-ERRORS -// WITH_RUNTIME +// WITH_STDLIB val someNullableString: String? = "" fun String.bar(): Result = Result.success("") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/resultCall.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/resultCall.kt.after index 0a47c2dcaa2f..c4e72a99553b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/resultCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/resultCall.kt.after @@ -1,5 +1,5 @@ // DISABLE-ERRORS -// WITH_RUNTIME +// WITH_STDLIB val someNullableString: String? = "" fun String.bar(): Result = Result.success("") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/cannotIntroduceSubject.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/cannotIntroduceSubject.kt index 7b4708facd91..25e10adce7ce 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/cannotIntroduceSubject.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/cannotIntroduceSubject.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { if (i == 1) { "a" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/normal.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/normal.kt index 5e6c8c718b93..8d363d4ec9d5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/normal.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/normal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun println(s: String) {} fun test(i: Int) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/normal.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/normal.kt.after index acf309e1b8ab..d363427a1188 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/normal.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/normal.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun println(s: String) {} fun test(i: Int) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/withAnnotation.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/withAnnotation.kt index 7aa64dd6af03..bab409cf1f23 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/withAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/withAnnotation.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Any) { if (a == "") { println(a) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/withAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/withAnnotation.kt.after index e7579b38469b..cb1626e17718 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/withAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/cascadeIf/withAnnotation.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Any) { when (a) { "" -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/allTransformations.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/allTransformations.kt index b4fbe42e8f80..cbc9694f5e24 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/allTransformations.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/allTransformations.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List>, IndexedValue>>> { return list diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/allTransformations.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/allTransformations.kt.after index 0d1b0a682f84..e84dfbcab562 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/allTransformations.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/allTransformations.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List>, IndexedValue>>> { return list diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/comment.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/comment.kt index 324677395be2..ab7a24410219 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/comment.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/comment.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): Int { return list // comment1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/comment.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/comment.kt.after index b55c4eed135d..4d1aa47ac63f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/comment.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/comment.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): Int { return list // comment1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/comment2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/comment2.kt index 08d7cb5069e3..d93ac64a088a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/comment2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/comment2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return list // comment1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/comment2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/comment2.kt.after index 4835fbca2d3b..df531ba2822a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/comment2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/comment2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return list // comment1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/endsWithGroupingBy.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/endsWithGroupingBy.kt index c506129bc370..78a115b43b86 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/endsWithGroupingBy.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/endsWithGroupingBy.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.map { it * 2 }.map { it * 3 }.map { it * 4 }.groupingBy { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/endsWithGroupingBy.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/endsWithGroupingBy.kt.after index 7ddd770a771f..c0b687a1d593 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/endsWithGroupingBy.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/endsWithGroupingBy.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().map { it * 2 }.map { it * 3 }.map { it * 4 }.groupingBy { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/flatten.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/flatten.kt index 08c99218577a..1fc5eddafdd5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/flatten.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/flatten.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf(listOf(1), listOf(2)).flatten().filter { it > 1 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/flatten.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/flatten.kt.after index 660f19c7fac0..bb6db8cf4846 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/flatten.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/flatten.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf(listOf(1), listOf(2)).asSequence().flatten().filter { it > 1 }.toList() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/flatten2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/flatten2.kt index e87bdc32d61b..7625a26782e2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/flatten2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/flatten2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf(listOf(1), listOf(2, 3)).filter { it.size > 1 }.flatten() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/flatten2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/flatten2.kt.after index 501ddc310b57..a078a4e69888 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/flatten2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/flatten2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf(listOf(1), listOf(2, 3)).asSequence().filter { it.size > 1 }.flatten().toList() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/implicitReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/implicitReceiver.kt index 4a6f4506ba20..f292ba407c16 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/implicitReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/implicitReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun List.test(): List { return filter { it > 1 }.map { it * 2 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/implicitReceiver.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/implicitReceiver.kt.after index 48bde2737555..839cfbd85e1f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/implicitReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/implicitReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun List.test(): List { return asSequence().filter { it > 1 }.map { it * 2 }.toList() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/iterable.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/iterable.kt index 0752ce12220e..445fbb8567ba 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/iterable.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/iterable.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Iterable): List { return i.filter { it > 1 }.map { it * 2 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/iterable.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/iterable.kt.after index 9eff1a9a50f9..ceac8a08bd65 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/iterable.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/iterable.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Iterable): List { return i.asSequence().filter { it > 1 }.map { it * 2 }.toList() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/iterable2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/iterable2.kt index 162dac93497b..490458a310e5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/iterable2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/iterable2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A(private val list: List) : Iterable { override fun iterator(): Iterator = list.iterator() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/iterable2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/iterable2.kt.after index 16e8b3c85dab..fe051e5af7c4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/iterable2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/iterable2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A(private val list: List) : Iterable { override fun iterator(): Iterator = list.iterator() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/mutableList.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/mutableList.kt index d4efa1e084a2..726484cf2ee4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/mutableList.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/mutableList.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): List { return mutableListOf(1, 2, 3).filter { it > 1 }.map { it * 2 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/mutableList.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/mutableList.kt.after index 31d5d771c0ca..5ba1b4bfa9c4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/mutableList.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/mutableList.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): List { return mutableListOf(1, 2, 3).asSequence().filter { it > 1 }.map { it * 2 }.toList() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/mutableSet.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/mutableSet.kt index 65dbaed86daa..3056121357d5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/mutableSet.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/mutableSet.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): List { return mutableSetOf(1, 2, 3).filter { it > 1 }.map { it * 2 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/mutableSet.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/mutableSet.kt.after index 60665d2f7a27..5094a9ba6feb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/mutableSet.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/mutableSet.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): List { return mutableSetOf(1, 2, 3).asSequence().filter { it > 1 }.map { it * 2 }.toList() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetCallChain.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetCallChain.kt index 069532c93e92..07799c384697 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetCallChain.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetCallChain.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return list.filter { it > 1 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetCallChain2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetCallChain2.kt index 945f8fab1384..361aafcd377c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetCallChain2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetCallChain2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return list diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetCallChain3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetCallChain3.kt index 3985562e198d..a1a300dedf4d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetCallChain3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetCallChain3.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return list diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetTermination.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetTermination.kt index f09e56dcd9ad..7d0c283d8205 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetTermination.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetTermination.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List>): List { return list diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetTermination.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetTermination.kt.after index 18157f01cdf4..d2f5ca963031 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetTermination.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetTermination.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List>): List { return list diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetTermination2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetTermination2.kt index 4b050dd75943..db8a08a7f602 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetTermination2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetTermination2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): Int { return listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetTermination2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetTermination2.kt.after index ba65f16b1471..ac97c009d12b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetTermination2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetTermination2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): Int { return listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/nullable.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/nullable.kt index 1fc731f55c81..9de732743937 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/nullable.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/nullable.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List?): List? { return list diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/nullable.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/nullable.kt.after index 19dd6d75e977..a66e55316967 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/nullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/nullable.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List?): List? { return list diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/nullable2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/nullable2.kt index 723877c5b30e..11fb0a3fc609 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/nullable2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/nullable2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List?): List? { return list?.filter { it > 1 }!!.filter { it > 2 }.filter { it > 3 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/nullable2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/nullable2.kt.after index 79d87da12c6d..c99e62cd7dee 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/nullable2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/nullable2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List?): List? { return list?.filter { it > 1 }!!.asSequence().filter { it > 2 }.filter { it > 3 }.toList() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/return.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/return.kt index fff6dbbd7df0..d6f74367c299 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/return.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/return.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return list diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/returnAtLabels.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/returnAtLabels.kt index d6141e2b2f4e..5d573710d18b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/returnAtLabels.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/returnAtLabels.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return list diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/returnAtLabels.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/returnAtLabels.kt.after index ba31f839d4c5..c7ae9e8e1f96 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/returnAtLabels.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/returnAtLabels.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return list diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/set.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/set.kt index d4e25db9fc9d..1072717225a9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/set.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/set.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): List { return setOf(1, 2, 3).filter { it > 1 }.map { it * 2 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/set.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/set.kt.after index a20547d4f629..8a3f4d4dc3ce 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/set.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/set.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): List { return setOf(1, 2, 3).asSequence().filter { it > 1 }.map { it * 2 }.toList() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple.kt index 1eebdf75ea5f..738a75d5d0df 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple.kt @@ -1,6 +1,6 @@ // PROBLEM: Call chain on a collection could be converted into 'Sequence' to improve performance // HIGHLIGHT: GENERIC_ERROR_OR_WARNING -// WITH_RUNTIME +// WITH_STDLIB fun test(): List { return listOf(1, 2, 3).filter { it > 1 }.map { it * 2 }.map { it * 3 }.map { it * 4 }.map { it * 5 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple.kt.after index cd7351abff4c..69bfe66d6f2b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Call chain on a collection could be converted into 'Sequence' to improve performance // HIGHLIGHT: GENERIC_ERROR_OR_WARNING -// WITH_RUNTIME +// WITH_STDLIB fun test(): List { return listOf(1, 2, 3).asSequence().filter { it > 1 }.map { it * 2 }.map { it * 3 }.map { it * 4 }.map { it * 5 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple2.kt index ba85c6ba4048..45192a5795c4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple2.kt @@ -1,5 +1,5 @@ // HIGHLIGHT: INFORMATION -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return list diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple2.kt.after index 659f0d2a66ee..cf9a7dacdc2f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple2.kt.after @@ -1,5 +1,5 @@ // HIGHLIGHT: INFORMATION -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return list diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple3.kt index e86e9534fdea..430efc8c02e6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return list diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple3.kt.after index 19a98589b3e2..52c0305cc57f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return list diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple4.kt index 0e17f9cb386d..a6e240948a5b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(foo: Foo): List { return foo.getList() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple4.kt.after index ef44191a086f..eec766e126df 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(foo: Foo): List { return foo.getList() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/startsWithGroupingBy.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/startsWithGroupingBy.kt index f3421d2116ef..f59bc2233604 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/startsWithGroupingBy.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/startsWithGroupingBy.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.groupingBy { it }.reduce { _, acc, _ -> acc } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/all.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/all.kt index 4e6a133d6a21..41e4fa1f4b76 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/all.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/all.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val all: Boolean = list.filter { it > 1 }.all { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/all.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/all.kt.after index 6728ebb37112..af6610ac8f02 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/all.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/all.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val all: Boolean = list.asSequence().filter { it > 1 }.all { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/any.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/any.kt index b7683f47cf65..2f2e2ba001a8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/any.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/any.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val any: Boolean = list.filter { it > 1 }.any() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/any.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/any.kt.after index 70286e1c7061..76df3c460774 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/any.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/any.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val any: Boolean = list.asSequence().filter { it > 1 }.any() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/asIterable.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/asIterable.kt index cbf7410e43a2..2412f3a03c63 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/asIterable.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/asIterable.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val asIterable: Iterable = list.filter { it > 1 }.asIterable() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/asIterable.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/asIterable.kt.after index 9332f1b249f9..ac1ea72f01c0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/asIterable.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/asIterable.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val asIterable: Iterable = list.asSequence().filter { it > 1 }.asIterable() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/asSequence.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/asSequence.kt index b6a90b373c0e..48ddcd5744a7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/asSequence.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/asSequence.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val asSequence: Sequence = list.filter { it > 1 }.asSequence() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/asSequence.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/asSequence.kt.after index d1ea6f63cb37..f3ace7354fd7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/asSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/asSequence.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val asSequence: Sequence = list.asSequence().filter { it > 1 }.asSequence() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiate.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiate.kt index ad89469557be..26037f088921 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiate.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiate.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val associate: Map = list.filter { it > 1 }.associate { it to it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiate.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiate.kt.after index 4c18aa342d18..5bd5f83d80dd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiate.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiate.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val associate: Map = list.asSequence().filter { it > 1 }.associate { it to it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateBy.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateBy.kt index 652e57c5eb7c..ab2e56398f75 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateBy.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateBy.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val associateBy: Map = list.filter { it > 1 }.associateBy { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateBy.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateBy.kt.after index 3ace57d0ba9b..6dd24e38a1cd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateBy.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateBy.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val associateBy: Map = list.asSequence().filter { it > 1 }.associateBy { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateByTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateByTo.kt index a6cd0327656b..841382979492 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateByTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateByTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val associateByTo = list.filter { it > 1 }.associateByTo(mutableMapOf()) { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateByTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateByTo.kt.after index ec5a8ec1ac82..5eccd4e38ff5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateByTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateByTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val associateByTo = list.asSequence().filter { it > 1 }.associateByTo(mutableMapOf()) { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateTo.kt index 8531f1797e4d..8d4a60fdfa80 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val associateTo: MutableMap = list.filter { it > 1 }.associateTo(mutableMapOf()) { it to it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateTo.kt.after index 288cc04c841e..1f49afa225bf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/assosiateTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val associateTo: MutableMap = list.asSequence().filter { it > 1 }.associateTo(mutableMapOf()) { it to it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/average.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/average.kt index 91424dc63bc3..05fd81189729 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/average.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/average.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val average: Double = list.filter { it > 1 }.average() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/average.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/average.kt.after index e7895e3c95da..fe7cfcd5649a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/average.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/average.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val average: Double = list.asSequence().filter { it > 1 }.average() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/contains.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/contains.kt index f7aa5824741a..59c85db81582 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/contains.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/contains.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val contains: Boolean = list.filter { it > 1 }.contains(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/contains.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/contains.kt.after index 63a8bf453c9c..59a6497a8af2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/contains.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/contains.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val contains: Boolean = list.asSequence().filter { it > 1 }.contains(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/count.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/count.kt index ece4bbfec98f..391edd9654cb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/count.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/count.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val count: Int = list.filter { it > 1 }.count() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/count.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/count.kt.after index 140ef381e3aa..66c5ec9aec78 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/count.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/count.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val count: Int = list.asSequence().filter { it > 1 }.count() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAt.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAt.kt index e80efbf7b485..0161ed214aa2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAt.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAt.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val elementAt = list.filter { it > 1 }.elementAt(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAt.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAt.kt.after index a8b5a9cc802f..0e9cae88f6ac 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAt.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAt.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val elementAt = list.asSequence().filter { it > 1 }.elementAt(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAtOrElse.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAtOrElse.kt index 7768c339c8e6..e197dc51ff65 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAtOrElse.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAtOrElse.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val elementAtOrElse: Int = list.filter { it > 1 }.elementAtOrElse(1) { 1 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAtOrElse.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAtOrElse.kt.after index 963822fd5bb0..f85483a53805 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAtOrElse.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAtOrElse.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val elementAtOrElse: Int = list.asSequence().filter { it > 1 }.elementAtOrElse(1) { 1 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAtOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAtOrNull.kt index dcef7b7ea6ad..cacb9cb2347a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAtOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAtOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val elementAtOrNull: Int? = list.filter { it > 1 }.elementAtOrNull(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAtOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAtOrNull.kt.after index 49fe9f2c9411..cc9cca5aa250 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAtOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/elementAtOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val elementAtOrNull: Int? = list.asSequence().filter { it > 1 }.elementAtOrNull(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterIndexedTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterIndexedTo.kt index cba619985273..94b089fceb33 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterIndexedTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterIndexedTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val filterIndexedTo: MutableList = list.filter { it > 1 }.filterIndexedTo(mutableListOf()) { index, it -> true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterIndexedTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterIndexedTo.kt.after index edf4e5830465..6b90bbd7afe6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterIndexedTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterIndexedTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val filterIndexedTo: MutableList = list.asSequence().filter { it > 1 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterIsInstanceTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterIsInstanceTo.kt index 43e330ec13f9..66bb0edb7949 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterIsInstanceTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterIsInstanceTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val filterIsInstanceTo = list.filter { it > 1 }.filterIsInstanceTo(mutableListOf()) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterIsInstanceTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterIsInstanceTo.kt.after index bbcfc998040a..d91930a24c84 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterIsInstanceTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterIsInstanceTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val filterIsInstanceTo = list.asSequence().filter { it > 1 }.filterIsInstanceTo(mutableListOf()) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterNotNullTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterNotNullTo.kt index 077ad077ff16..c78a5c27ff7f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterNotNullTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterNotNullTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val filterNotNullTo: MutableList = list.filter { it > 1 }.filterNotNullTo(mutableListOf()) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterNotNullTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterNotNullTo.kt.after index 3db1f764a70e..4bebd446b500 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterNotNullTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterNotNullTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val filterNotNullTo: MutableList = list.asSequence().filter { it > 1 }.filterNotNullTo(mutableListOf()) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterNotTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterNotTo.kt index 164fd7e43942..12505e9cb8ac 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterNotTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterNotTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val filterNotTo: MutableList = list.filter { it > 1 }.filterNotTo(mutableListOf()) { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterNotTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterNotTo.kt.after index 4de662049c1e..85a102d2a1be 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterNotTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterNotTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val filterNotTo: MutableList = list.asSequence().filter { it > 1 }.filterNotTo(mutableListOf()) { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterTo.kt index afe97184d0a4..5ab7cb632d08 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val filterTo: MutableList = list.filter { it > 1 }.filterTo(mutableListOf()) { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterTo.kt.after index 855ae6827b05..f03f4206817a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val filterTo: MutableList = list.asSequence().filter { it > 1 }.filterTo(mutableListOf()) { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/find.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/find.kt index 7d76f3fdd1d1..14819b3d100c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/find.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/find.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val find: Int? = list.filter { it > 1 }.find { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/find.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/find.kt.after index 69036a34f139..94e957ba2521 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/find.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/find.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val find: Int? = list.asSequence().filter { it > 1 }.find { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/findLast.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/findLast.kt index 86019ff0c82f..9f1f02309cf7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/findLast.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/findLast.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val findLast: Int? = list.filter { it > 1 }.findLast { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/findLast.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/findLast.kt.after index 128b1951447b..e018db17edb4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/findLast.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/findLast.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val findLast: Int? = list.asSequence().filter { it > 1 }.findLast { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/first.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/first.kt index 647e9395e650..4f13ac2e8714 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/first.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/first.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val first: Int = list.filter { it > 1 }.first() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/first.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/first.kt.after index 21e977bec942..7e8f92c3bfc2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/first.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/first.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val first: Int = list.asSequence().filter { it > 1 }.first() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstNotNullOf.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstNotNullOf.kt index 3d544d1f75d3..94e3ceecd31d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstNotNullOf.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstNotNullOf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class User(val id: Long, val name: String?) fun test(users: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstNotNullOf.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstNotNullOf.kt.after index 4eda77fd373d..f42bbb9b4ee8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstNotNullOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstNotNullOf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class User(val id: Long, val name: String?) fun test(users: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstNotNullOfOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstNotNullOfOrNull.kt index a7df6d793cfe..ccdc6c296331 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstNotNullOfOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstNotNullOfOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class User(val id: Long, val name: String?) fun test(users: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstNotNullOfOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstNotNullOfOrNull.kt.after index 24fad163ef03..04a18b775d26 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstNotNullOfOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstNotNullOfOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class User(val id: Long, val name: String?) fun test(users: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstOrNull.kt index 529d0e95cf15..868fd8fc3f79 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val firstOrNull: Int? = list.filter { it > 1 }.firstOrNull() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstOrNull.kt.after index c0395c80b7b9..45e7fdb11552 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/firstOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val firstOrNull: Int? = list.asSequence().filter { it > 1 }.firstOrNull() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/fold.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/fold.kt index 11c0fe2816f6..0673ce46bd02 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/fold.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/fold.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val fold: Int = list.filter { it > 1 }.fold(0) { acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/fold.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/fold.kt.after index ffac153f435f..0419cc885ada 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/fold.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/fold.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val fold: Int = list.asSequence().filter { it > 1 }.fold(0) { acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/foldIndexed.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/foldIndexed.kt index 59737d884cad..c5beaa7caeae 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/foldIndexed.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/foldIndexed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val foldIndexed = list.filter { it > 1 }.foldIndexed(0) { index, acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/foldIndexed.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/foldIndexed.kt.after index 9e5c645f1fdb..55c28d378666 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/foldIndexed.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/foldIndexed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val foldIndexed = list.asSequence().filter { it > 1 }.foldIndexed(0) { index, acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/forEach.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/forEach.kt index 0e584b43dc83..02071e11f1c9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/forEach.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/forEach.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val forEach: Unit = list.filter { it > 1 }.forEach { } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/forEachIndexed.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/forEachIndexed.kt index 67aab3156e97..bda7150ae027 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/forEachIndexed.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/forEachIndexed.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val forEachIndexed: Unit = list.filter { it > 1 }.forEachIndexed { index, i -> } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupBy.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupBy.kt index 3cbabc859688..66472344b340 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupBy.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupBy.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val groupBy = list.filter { it > 1 }.groupBy { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupBy.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupBy.kt.after index 16692d48a37b..5730ec8daf99 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupBy.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupBy.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val groupBy = list.asSequence().filter { it > 1 }.groupBy { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupByTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupByTo.kt index a65b0df220c9..b571ef40b595 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupByTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupByTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val groupByTo: MutableMap> = list.filter { it > 1 }.groupByTo(mutableMapOf()) { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupByTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupByTo.kt.after index 2c4018e95e0f..d022cf1865c5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupByTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupByTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val groupByTo: MutableMap> = list.asSequence().filter { it > 1 }.groupByTo(mutableMapOf()) { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupingBy.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupingBy.kt index bb2a13c8debf..ec7eb3cf3efc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupingBy.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupingBy.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val groupingBy: Grouping = list.filter { it > 1 }.groupingBy { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupingBy.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupingBy.kt.after index d3d24984a326..fadafc3a36f7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupingBy.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/groupingBy.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val groupingBy: Grouping = list.asSequence().filter { it > 1 }.groupingBy { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOf.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOf.kt index 2c05d205c980..2cbd128eec35 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOf.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val indexOf: Int = list.filter { it > 1 }.indexOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOf.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOf.kt.after index af15c1fd05ad..d6c1b83c4b11 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val indexOf: Int = list.asSequence().filter { it > 1 }.indexOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOfFirst.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOfFirst.kt index fa1febe2d70b..19ffcbc62884 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOfFirst.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOfFirst.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val indexOfFirst: Int = list.filter { it > 1 }.indexOfFirst { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOfFirst.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOfFirst.kt.after index 581aa49d8796..080748e4e919 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOfFirst.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOfFirst.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val indexOfFirst: Int = list.asSequence().filter { it > 1 }.indexOfFirst { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOfLast.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOfLast.kt index 063e58de3d5e..6bac1986319c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOfLast.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOfLast.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val indexOfLast: Int = list.filter { it > 1 }.indexOfLast { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOfLast.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOfLast.kt.after index 5c151606413b..6f92329486a4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOfLast.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/indexOfLast.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val indexOfLast: Int = list.asSequence().filter { it > 1 }.indexOfLast { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/joinTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/joinTo.kt index a2506bcba2b1..fb0c7ca01e28 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/joinTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/joinTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val joinTo: StringBuilder = list.filter { it > 1 }.joinTo(StringBuilder()) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/joinTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/joinTo.kt.after index 18870c2a7522..648f09e233f3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/joinTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/joinTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val joinTo: StringBuilder = list.asSequence().filter { it > 1 }.joinTo(StringBuilder()) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/joinToString.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/joinToString.kt index 1edfd97539dd..1cb26c855dc5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/joinToString.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/joinToString.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val joinToString: String = list.filter { it > 1 }.joinToString() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/joinToString.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/joinToString.kt.after index 8620386c9f0f..a1cc7a427bc1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/joinToString.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/joinToString.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val joinToString: String = list.asSequence().filter { it > 1 }.joinToString() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/last.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/last.kt index 1dc7c38e9227..091044d028ad 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/last.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/last.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val last: Int = list.filter { it > 1 }.last() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/last.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/last.kt.after index 37bb298a9a94..f99301b78e23 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/last.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/last.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val last: Int = list.asSequence().filter { it > 1 }.last() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/lastIndexOf.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/lastIndexOf.kt index e8bea9fa18c1..d7f167d7d86c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/lastIndexOf.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/lastIndexOf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val lastIndexOf: Int = list.filter { it > 1 }.lastIndexOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/lastIndexOf.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/lastIndexOf.kt.after index 7df945e78fe6..c74a9074bc2b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/lastIndexOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/lastIndexOf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val lastIndexOf: Int = list.asSequence().filter { it > 1 }.lastIndexOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/lastOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/lastOrNull.kt index 2fdf06aae4ef..dea459d2c52b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/lastOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/lastOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val lastOrNull = list.filter { it > 1 }.lastOrNull() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/lastOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/lastOrNull.kt.after index 1504193ffb60..b1289fc0a715 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/lastOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/lastOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val lastOrNull = list.asSequence().filter { it > 1 }.lastOrNull() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapIndexedNotNullTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapIndexedNotNullTo.kt index 59167b30c1d4..5e335dddfb4e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapIndexedNotNullTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapIndexedNotNullTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val mapIndexedNotNullTo: MutableList = list.filter { it > 1 }.mapIndexedNotNullTo(mutableListOf()) { index, i -> i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapIndexedNotNullTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapIndexedNotNullTo.kt.after index 34c98cd51bc1..6ef696febe8f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapIndexedNotNullTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapIndexedNotNullTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val mapIndexedNotNullTo: MutableList = list.asSequence().filter { it > 1 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapIndexedTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapIndexedTo.kt index c442ac1bc6ea..7697c8914d67 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapIndexedTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapIndexedTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val mapIndexedTo: MutableList = list.filter { it > 1 }.mapIndexedTo(mutableListOf()) { index, i -> i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapIndexedTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapIndexedTo.kt.after index aa72796f498a..0a697b8d0b98 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapIndexedTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapIndexedTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val mapIndexedTo: MutableList = list.asSequence().filter { it > 1 }.mapIndexedTo(mutableListOf()) { index, i -> i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapNotNullTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapNotNullTo.kt index bbd2835d8d85..e31304047616 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapNotNullTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapNotNullTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val mapNotNullTo: MutableList = list.filter { it > 1 }.mapNotNullTo(mutableListOf()) { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapNotNullTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapNotNullTo.kt.after index ea0aab0ed966..1698cab20014 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapNotNullTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapNotNullTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val mapNotNullTo: MutableList = list.asSequence().filter { it > 1 }.mapNotNullTo(mutableListOf()) { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapTo.kt index 7207d9490ab4..46426e4fc76f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val mapTo: MutableList = list.filter { it > 1 }.mapTo(mutableListOf()) { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapTo.kt.after index 0c9a56f2c430..10eb44ba5bdb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val mapTo: MutableList = list.asSequence().filter { it > 1 }.mapTo(mutableListOf()) { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxByOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxByOrNull.kt index adb19efb2dac..d199b03d1029 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxByOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxByOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.maxByOrNull { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxByOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxByOrNull.kt.after index a6482a0389e5..1de5bd883352 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxByOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxByOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.maxByOrNull { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOf.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOf.kt index 903b90538bf0..bb9c68ee8e9e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOf.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.maxOf { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOf.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOf.kt.after index 86874ed5b9c2..6b8340c636b3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.maxOf { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfOrNull.kt index b586cea57539..6dd6c0c4f678 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.maxOfOrNull { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfOrNull.kt.after index a3ebff06ec8c..d58dc1683a9a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.maxOfOrNull { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfWith.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfWith.kt index 3552c44ad846..f244e0cf8ee7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfWith.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfWith.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.maxOfWith({ _, _ -> 0 }) { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfWith.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfWith.kt.after index cb3a348fe6a1..baee6c10edf4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfWith.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfWith.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.maxOfWith({ _, _ -> 0 }) { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfWithOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfWithOrNull.kt index f880756d6e85..107ed3790632 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfWithOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfWithOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.maxOfWithOrNull({ _, _ -> 0 }) { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfWithOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfWithOrNull.kt.after index d3650e6c1ea5..06a556dc623e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfWithOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOfWithOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.maxOfWithOrNull({ _, _ -> 0 }) { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOrNull.kt index 6475242fd455..c752401a0ce1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.maxOrNull() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOrNull.kt.after index a44a0e9707de..424100f46d5e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.maxOrNull() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxWithOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxWithOrNull.kt index be83bb7ae941..4111390ea95b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxWithOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxWithOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.maxWithOrNull { _, _ -> 0 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxWithOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxWithOrNull.kt.after index a8d7a62e501c..2c55d5b486bd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxWithOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxWithOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.maxWithOrNull { _, _ -> 0 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minByOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minByOrNull.kt index 8c052bd3ae2f..25ae6de85d69 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minByOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minByOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.minByOrNull { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minByOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minByOrNull.kt.after index 7a5cc4da357a..c2209c5c1ab1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minByOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minByOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.minByOrNull { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOf.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOf.kt index 1b7c447f7566..9962e287407f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOf.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.minOf { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOf.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOf.kt.after index 1f7b61f3421c..c2e109a7b1be 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.minOf { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfOrNull.kt index ac4f6e8086f0..2b7cc3c6bdce 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.minOfOrNull { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfOrNull.kt.after index 6314ff706cfa..aaab05c74de4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.minOfOrNull { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfWith.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfWith.kt index 5e99dfaafd99..43fc15ffc4d0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfWith.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfWith.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.minOfWith({ _, _ -> 0 }) { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfWith.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfWith.kt.after index a16d715e9980..ca4bf958b05b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfWith.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfWith.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.minOfWith({ _, _ -> 0 }) { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfWithOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfWithOrNull.kt index ac7a7f0d437a..2ffa4dac75e6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfWithOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfWithOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.minOfWithOrNull({ _, _ -> 0 }) { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfWithOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfWithOrNull.kt.after index a3c36c10ac60..07f8d69e058b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfWithOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOfWithOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.minOfWithOrNull({ _, _ -> 0 }) { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOrNull.kt index 3d54eeb60b53..f594965d5822 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.minOrNull() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOrNull.kt.after index 8fd6c11d5957..7bbb46ed4ea8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.minOrNull() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minWithOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minWithOrNull.kt index 587ae1dd5f71..2a9a82dadeeb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minWithOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minWithOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.minWithOrNull { _, _ -> 0 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minWithOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minWithOrNull.kt.after index 566a87f190bc..e5ca268d4841 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minWithOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minWithOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.minWithOrNull { _, _ -> 0 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/none.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/none.kt index cbadda6532f6..8f044028d677 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/none.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/none.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val none: Boolean = list.filter { it > 1 }.none() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/none.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/none.kt.after index fc606898a5a4..a229ed1d9240 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/none.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/none.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val none: Boolean = list.asSequence().filter { it > 1 }.none() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/partition.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/partition.kt index 911f2456b212..613255efcc1a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/partition.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/partition.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val partition: Pair, List> = list.filter { it > 1 }.partition { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/partition.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/partition.kt.after index 63719f7b3781..3d6918e90c74 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/partition.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/partition.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val partition: Pair, List> = list.asSequence().filter { it > 1 }.partition { true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduce.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduce.kt index 36dbe1380560..7f0be8e214bc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduce.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduce.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val reduce: Int = list.filter { it > 1 }.reduce { acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduce.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduce.kt.after index 42d5da82cc53..093e0dd3bb75 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduce.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduce.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val reduce: Int = list.asSequence().filter { it > 1 }.reduce { acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceIndexed.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceIndexed.kt index 19a7cc5aefa9..2f399bb2484d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceIndexed.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceIndexed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val reduceIndexed: Int = list.filter { it > 1 }.reduceIndexed { index, acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceIndexed.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceIndexed.kt.after index 00689752e11c..d7775b666238 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceIndexed.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceIndexed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val reduceIndexed: Int = list.asSequence().filter { it > 1 }.reduceIndexed { index, acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceIndexedOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceIndexedOrNull.kt index b5b024e42aba..f0daeef5ce85 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceIndexedOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceIndexedOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.reduceIndexedOrNull { _, acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceIndexedOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceIndexedOrNull.kt.after index b51d139f9862..b0b5c14fc9c6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceIndexedOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceIndexedOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.reduceIndexedOrNull { _, acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceOrNull.kt index 3ac2c24afb5e..019ab29f530e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.reduceOrNull { acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceOrNull.kt.after index 2f22224b0d28..078bcef32238 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/reduceOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.reduceOrNull { acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningFold.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningFold.kt index 0782c9414df6..a32b86c7a449 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningFold.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningFold.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.runningFold(0) { acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningFold.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningFold.kt.after index e53fb1953f78..23b929e967f3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningFold.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningFold.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.runningFold(0) { acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningFoldIndexed.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningFoldIndexed.kt index 929cc7a2b630..b2b599d86e2c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningFoldIndexed.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningFoldIndexed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.runningFoldIndexed(0) { _, acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningFoldIndexed.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningFoldIndexed.kt.after index f7347a1f2693..7388afd6375d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningFoldIndexed.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningFoldIndexed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.runningFoldIndexed(0) { _, acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningReduce.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningReduce.kt index 53bdbd1a3cbc..a9d0cd912cec 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningReduce.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningReduce.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.runningReduce { acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningReduce.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningReduce.kt.after index 0d6e9557caea..d25d8183eba7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningReduce.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningReduce.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.runningReduce { acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningReduceIndexed.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningReduceIndexed.kt index b0a6912e3b29..e04eba051bfa 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningReduceIndexed.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningReduceIndexed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.runningReduceIndexed { _, acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningReduceIndexed.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningReduceIndexed.kt.after index 34fa1481aa38..657551c105e9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningReduceIndexed.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/runningReduceIndexed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.runningReduceIndexed { _, acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/scan.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/scan.kt index bee645129e81..35b829b9cc9a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/scan.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/scan.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.scan(0) { acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/scan.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/scan.kt.after index da77addf5d98..2973f805b59d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/scan.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/scan.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.scan(0) { acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/scanIndexed.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/scanIndexed.kt index c90860e6a745..9d5db4b3da12 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/scanIndexed.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/scanIndexed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.scanIndexed(0) { _, acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/scanIndexed.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/scanIndexed.kt.after index d6a5e2c88f3a..98da1fe49d7d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/scanIndexed.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/scanIndexed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.scanIndexed(0) { _, acc, i -> acc + i } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/single.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/single.kt index 4cf9b82afbd4..4c91c5976fff 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/single.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/single.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val single: Int = list.filter { it > 1 }.single() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/single.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/single.kt.after index 45f2b78059b0..3742973a4403 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/single.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/single.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val single: Int = list.asSequence().filter { it > 1 }.single() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/singleOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/singleOrNull.kt index c94bf8cf3bfe..ccc0c0f14bb9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/singleOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/singleOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val singleOrNull: Int? = list.filter { it > 1 }.singleOrNull() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/singleOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/singleOrNull.kt.after index ba3c3c541260..21c4d9700b57 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/singleOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/singleOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val singleOrNull: Int? = list.asSequence().filter { it > 1 }.singleOrNull() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sum.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sum.kt index d14cff8d0b15..47521e0378c8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sum.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sum.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val sum: Int = list.filter { it > 1 }.sum() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sum.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sum.kt.after index 412437582bf2..f713a37a1547 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sum.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sum.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val sum: Int = list.asSequence().filter { it > 1 }.sum() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumBy.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumBy.kt index 1b12d814c454..e2d9bc9e17da 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumBy.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumBy.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val sumBy: Int = list.filter { it > 1 }.sumBy { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumBy.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumBy.kt.after index c1523cffadb1..737f1615e887 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumBy.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumBy.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val sumBy: Int = list.asSequence().filter { it > 1 }.sumBy { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumByDouble.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumByDouble.kt index 1605b62bd332..032dae591af7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumByDouble.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumByDouble.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val sumByDouble: Double = list.filter { it > 1 }.sumByDouble { it.toDouble() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumByDouble.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumByDouble.kt.after index 269152888bf7..134cc2e2b059 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumByDouble.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumByDouble.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val sumByDouble: Double = list.asSequence().filter { it > 1 }.sumByDouble { it.toDouble() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumOf.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumOf.kt index f75a40fa270a..f1ff54622160 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumOf.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumOf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.sumOf { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumOf.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumOf.kt.after index 81564b134471..45180955c9f2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/sumOf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().filter { it > 1 }.sumOf { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toCollection.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toCollection.kt index 0bfb5f529bc2..6662cf71c9b3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toCollection.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toCollection.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val toCollection: MutableList = list.filter { it > 1 }.toCollection(mutableListOf()) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toCollection.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toCollection.kt.after index 1256a976a8ae..b156ff604e6d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toCollection.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toCollection.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val toCollection: MutableList = list.asSequence().filter { it > 1 }.toCollection(mutableListOf()) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toHashSet.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toHashSet.kt index 257da6b768e1..b01dcca1c9bf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toHashSet.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toHashSet.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val toHashSet: HashSet = list.filter { it > 1 }.toHashSet() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toHashSet.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toHashSet.kt.after index 464368149f39..9d5432651d1c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toHashSet.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toHashSet.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val toHashSet: HashSet = list.asSequence().filter { it > 1 }.toHashSet() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toList.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toList.kt index 03c1e36f4130..68e6ffc3b751 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toList.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toList.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val toList: List = list.filter { it > 1 }.toList() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toList.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toList.kt.after index 38769f9de80f..87e0efbbf888 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toList.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toList.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val toList: List = list.asSequence().filter { it > 1 }.toList() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toMutableList.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toMutableList.kt index 51d9b88c7524..17f9cd949e08 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toMutableList.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toMutableList.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val toMutableList = list.filter { it > 1 }.toMutableList() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toMutableList.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toMutableList.kt.after index 5042abf5bf95..758b3db5be8e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toMutableList.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toMutableList.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val toMutableList = list.asSequence().filter { it > 1 }.toMutableList() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toMutableSet.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toMutableSet.kt index 899f6aea3850..83cacc969b7c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toMutableSet.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toMutableSet.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val toMutableSet = list.filter { it > 1 }.toMutableSet() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toMutableSet.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toMutableSet.kt.after index 5efcf8ab2679..f6d8447ac2a3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toMutableSet.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toMutableSet.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val toMutableSet = list.asSequence().filter { it > 1 }.toMutableSet() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toSet.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toSet.kt index 1efd3677b713..5d499e1ad595 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toSet.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toSet.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val toSet: Set = list.filter { it > 1 }.toSet() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toSet.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toSet.kt.after index aa620e4c2dd3..9e98b1ff670b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toSet.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toSet.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val toSet: Set = list.asSequence().filter { it > 1 }.toSet() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toSortedSet.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toSortedSet.kt index b03fc4d93047..dba2785317cc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toSortedSet.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toSortedSet.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val toSortedSet = list.filter { it > 1 }.toSortedSet() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toSortedSet.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toSortedSet.kt.after index 52f4dd175ceb..f0238d0da0e2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toSortedSet.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/toSortedSet.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val toSortedSet = list.asSequence().filter { it > 1 }.toSortedSet() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/unzip.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/unzip.kt index 7f197e911287..c60b311b9e7f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/unzip.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/unzip.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val pair: Pair, List> = listOf(1 to 2, 3 to 4).filter { it.first > 1 }.filter { it.second > 2 }.unzip() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/unzip.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/unzip.kt.after index 8eb86e4cf483..3fb348f6300a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/unzip.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/unzip.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val pair: Pair, List> = listOf(1 to 2, 3 to 4).asSequence().filter { it.first > 1 }.filter { it.second > 2 }.unzip() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/hasComment.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/hasComment.kt index 3bdc30c670ad..a2f15a3c3982 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/hasComment.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/hasComment.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list/*comment*/.asSequence().last() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/hasComment.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/hasComment.kt.after index a96f6ca0a731..c1bbb9c74246 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/hasComment.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/hasComment.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list/*comment*/.last() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/hasLineBreak.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/hasLineBreak.kt index 86df98d0a7b5..cfdc4ed618b6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/hasLineBreak.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/hasLineBreak.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list // comment diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/hasLineBreak.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/hasLineBreak.kt.after index 435089c50223..5d8abed47491 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/hasLineBreak.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/hasLineBreak.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list // comment diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/inCallChain.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/inCallChain.kt index 6710149c6b87..21a90395e734 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/inCallChain.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/inCallChain.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().runningReduce { acc, i -> acc + i }.take(10).last() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/map.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/map.kt index 0764327c04b3..dc7e1ff0144f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/map.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/map.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map): Map.Entry? { return map.asSequence().firstOrNull() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/notTermination.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/notTermination.kt index f47469ab2951..9c2ac9ece740 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/notTermination.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/notTermination.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().sorted().first() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/nullable.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/nullable.kt index f529d04440bd..db9713bf4e61 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/nullable.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/nullable.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List?) { list?.asSequence()?.first() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/nullable.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/nullable.kt.after index 58313ab07eab..198fee156134 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/nullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/nullable.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List?) { list?.first() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/simple.kt index c024f7676113..1bc20bdba806 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.asSequence().all { it.isBlank() } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/simple.kt.after index c7bbb898d700..2b6c417da40c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.all { it.isBlank() } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/simple2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/simple2.kt index 2b5fa744c0cf..0f8203b40cf9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/simple2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/simple2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(set: Set) { set.asSequence().any { it.isBlank() } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/simple2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/simple2.kt.after index 7997d81689fa..82c5c8d2fc8c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/simple2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/redundantAsSequence/simple2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(set: Set) { set.any { it.isBlank() } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/arrayFlatMap.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/arrayFlatMap.kt index 7b45805a4ea1..8462bd584a9d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/arrayFlatMap.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/arrayFlatMap.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { arrayOf(listOf(1), listOf(2)).flatMap { it } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/arrayFlatMap2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/arrayFlatMap2.kt index 73935c8ab4d4..a688dce8caf0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/arrayFlatMap2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/arrayFlatMap2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun Array>.test() { flatMap { it } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/arrayFlatMap3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/arrayFlatMap3.kt index 970337af0d64..a4603ee8e9b6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/arrayFlatMap3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/arrayFlatMap3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { arrayOf(arrayOf(1, 2), arrayOf(3)).flatMap { it } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/arrayFlatMap3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/arrayFlatMap3.kt.after index a68cf393ee03..d681e36c0901 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/arrayFlatMap3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/arrayFlatMap3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { arrayOf(arrayOf(1, 2), arrayOf(3)).flatten() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/explicitLambdaParameter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/explicitLambdaParameter.kt index de2cf09f0f5c..6dfe52f1539f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/explicitLambdaParameter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/explicitLambdaParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf(listOf(1)).flatMap { i -> i } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/explicitLambdaParameter.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/explicitLambdaParameter.kt.after index cd15b7587276..768195d5a575 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/explicitLambdaParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/explicitLambdaParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf(listOf(1)).flatten() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceDisjointHierarchy.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceDisjointHierarchy.kt index 6f6a40c7db10..396add1701d1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceDisjointHierarchy.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceDisjointHierarchy.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none interface Foo diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceReceiver.kt index 3297332b7513..fec3147cff18 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun List.test() { filter { it is String } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceReceiver.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceReceiver.kt.after index 335ca2a8eb3a..27d882a6e804 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun List.test() { filterIsInstance() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceSimple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceSimple.kt index 6864b8331a3c..5c384e4d3040 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceSimple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceSimple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it is String } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceSimple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceSimple.kt.after index 9693c06067a5..b95acd946fa4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceSimple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceSimple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filterIsInstance() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceSupertype.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceSupertype.kt index b4b4c7be7db6..4348f0725482 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceSupertype.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsInstanceSupertype.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none interface Foo diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsNotInstance.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsNotInstance.kt index 40455e83dd73..1cf9d98e1a14 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsNotInstance.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterIsNotInstance.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test(list: List) { list.filter { it !is String } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullBrackets.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullBrackets.kt index 3ae84f39d312..4561439657b0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullBrackets.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullBrackets.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter({ it != null }) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullBrackets.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullBrackets.kt.after index 36c607db47e1..7b3631c4808f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullBrackets.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullBrackets.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filterNotNull() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullDestructuring.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullDestructuring.kt index 56c2beeb89bd..a21f30a72163 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullDestructuring.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullDestructuring.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test(map: Map) { map.filter { (k, v) -> k != null && v != null } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullExplicit.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullExplicit.kt index 2c89c829333e..5f81ad456885 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullExplicit.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullExplicit.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { arg -> arg != null } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullExplicit.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullExplicit.kt.after index 36c607db47e1..7b3631c4808f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullExplicit.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullExplicit.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filterNotNull() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullFake.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullFake.kt index 97efe536ce0c..da38de949a8c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullFake.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullFake.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test(list: List) { list.filter { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullIdentity.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullIdentity.kt index 1f8418aef9e6..cd9f426663b4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullIdentity.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullIdentity.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it !== null } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullIdentity.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullIdentity.kt.after index 36c607db47e1..7b3631c4808f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullIdentity.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullIdentity.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filterNotNull() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullMap.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullMap.kt index 3ddd7d0e4bf7..c6917e137103 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullMap.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullMap.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test(map: Map) { map.filter { it != null } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullReverse.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullReverse.kt index b633653ec23b..7542101d75f3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullReverse.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullReverse.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { null != it } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullReverse.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullReverse.kt.after index 36c607db47e1..7b3631c4808f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullReverse.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullReverse.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filterNotNull() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullSimple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullSimple.kt index 23725115608a..641fca1232ca 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullSimple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullSimple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it != null } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullSimple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullSimple.kt.after index 36c607db47e1..7b3631c4808f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullSimple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/filterNotNullSimple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filterNotNull() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/notOnlyReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/notOnlyReference.kt index 3f6ad1eecc04..35ac9dfd337c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/notOnlyReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/notOnlyReference.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf(listOf(1)).flatMap { it + 1 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/primitiveArrayFlatMap.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/primitiveArrayFlatMap.kt index f3b5f4ab36c7..4169e64153cf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/primitiveArrayFlatMap.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/primitiveArrayFlatMap.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS fun test() { intArrayOf(1, 2).flatMap { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/set.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/set.kt index 69df01a7dffa..4f16877ad1ea 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/set.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/set.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { setOf(setOf(1)).flatMap { it } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/set.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/set.kt.after index 9da21c7c51b4..f1e69a2a437a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/set.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/set.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { setOf(setOf(1)).flatten() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/simple.kt index df2f5adc81ab..97db661be1da 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf(listOf(1)).flatMap { it } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/simple.kt.after index cd15b7587276..768195d5a575 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf(listOf(1)).flatten() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/simple2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/simple2.kt index f43de75a39d0..47a686324059 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/simple2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/simple2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf(listOf(1)).flatMap({ it }) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/simple2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/simple2.kt.after index cd15b7587276..768195d5a575 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/simple2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCall/simple2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf(listOf(1)).flatten() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentInFirstCallLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentInFirstCallLambda.kt index 11a560c37eed..fa9848e4fa2e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentInFirstCallLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentInFirstCallLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): List { return listOf(1, null, 2) // TEXT1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentInFirstCallLambda.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentInFirstCallLambda.kt.after index 237ba2a18f7b..54f8546904ca 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentInFirstCallLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentInFirstCallLambda.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): List { return listOf(1, null, 2).mapNotNull { // TEXT2 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda.kt index 96db9d277159..d7b6de11e818 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val v1 = listOf(1, 2, 3, 11, 33, 25, 100) .filter { it % 2 == 0 } /* Block comment */ // Some Comment .isNotEmpty() // Some Additional Comment \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda.kt.after index 0e8df103beb4..053f09c05213 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val v1 = listOf(1, 2, 3, 11, 33, 25, 100).any { it % 2 == 0 } // Some Additional Comment \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda2.kt index f59bc6eade45..87ff087da526 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val v1 = listOf(1, 2, 3, 11, 33, 25, 100) .filter { it % 2 == 0 } // Some Comment .isNotEmpty() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda2.kt.after index 429df7a8fa2b..4ad2a6e40968 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda2.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val v1 = listOf(1, 2, 3, 11, 33, 25, 100).any { it % 2 == 0 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda3.kt index c54f3118ae59..07fb53f1f912 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val v1 = listOf(1, 2, 3, 11, 33, 25, 100) .filter { it % 2 == 0 } .isNotEmpty() // Some Comment \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda3.kt.after index 47f97f0f332d..f86a0e8f2df3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/commentOutsideLambda3.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val v1 = listOf(1, 2, 3, 11, 33, 25, 100).any { it % 2 == 0 } // Some Comment \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterAny.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterAny.kt index c19382621ac7..73b076c36194 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterAny.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterAny.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1, 2, 3).filter { it > 1 }.any() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterAny.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterAny.kt.after index 02cc8e0df490..f52018e00f19 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterAny.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterAny.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1, 2, 3).any { it > 1 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterCount.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterCount.kt index fbea53ab726b..b440d050cf1c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterCount.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterCount.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1, 2, 3).filter { it > 1 }.count() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterCount.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterCount.kt.after index 84b0028d711e..178609b30507 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterCount.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterCount.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1, 2, 3).count { it > 1 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirst.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirst.kt index ced1c738267e..350592098950 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirst.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirst.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val nullableList: List? = listOf("1", "") val x = nullableList?.filter { it.isNotEmpty() }?.first() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirst.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirst.kt.after index 662755aff63d..62cdedd121f3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirst.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirst.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val nullableList: List? = listOf("1", "") val x = nullableList?.first { it.isNotEmpty() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirstFake.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirstFake.kt index ce02728a413a..36a67bcf60be 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirstFake.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirstFake.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1", "").filter { it.isNotEmpty() }.first { it[0] == 'A' } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirstFakeReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirstFakeReference.kt index 7d85716ebd81..cb1d55a7fedf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirstFakeReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirstFakeReference.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val x = listOf('1', 'a', 0.toChar()).filter { it.toInt() != 0 }.first(Char::isLetter) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirstOrNullReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirstOrNullReference.kt index fda1c2161a28..feb150735441 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirstOrNullReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirstOrNullReference.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1", "").filter(String::isNotEmpty).firstOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirstOrNullReference.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirstOrNullReference.kt.after index 5a8a9e6d250a..15cd3740b643 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirstOrNullReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterFirstOrNullReference.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1", "").firstOrNull(String::isNotEmpty) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterIsEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterIsEmpty.kt index 71bd67d475e4..7281778e6bab 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterIsEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterIsEmpty.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 2, 3).filter { it % 2 != 0 }.isEmpty() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterIsEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterIsEmpty.kt.after index 620345872097..e1846fdd406f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterIsEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterIsEmpty.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 2, 3).none { it % 2 != 0 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterIsNotEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterIsNotEmpty.kt index fbbb8aacec1d..05defa19b9f2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterIsNotEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterIsNotEmpty.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 2, 3).filter { it % 2 != 0 }.isNotEmpty() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterIsNotEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterIsNotEmpty.kt.after index 3b8f7ac7f6f0..e0292986a280 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterIsNotEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterIsNotEmpty.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 2, 3).any { it % 2 != 0 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterLastExplicit.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterLastExplicit.kt index 3d757c490acb..21cdcedf4029 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterLastExplicit.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterLastExplicit.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1", "").filter { element -> element.isNotEmpty() }.last() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterLastExplicit.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterLastExplicit.kt.after index 81d3e4481e87..10cb6550ea73 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterLastExplicit.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterLastExplicit.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1", "").last { element -> element.isNotEmpty() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterNone.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterNone.kt index b0f6aa9705f9..fcfa318ae315 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterNone.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterNone.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1, 2, 3).filter { it > 1 }.none() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterNone.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterNone.kt.after index 5fb055c163be..0d31131989e4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterNone.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterNone.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1, 2, 3).none { it > 1 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextAny.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextAny.kt index 2d0d19960ba2..45c89cc3657e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextAny.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextAny.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { "abc".filter { it == 'a' }.any() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextAny.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextAny.kt.after index 454f66abbb8b..d94bccdbc2f0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextAny.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextAny.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { "abc".any { it == 'a' } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextCount.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextCount.kt index ae6eb471108d..f99c783694a5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextCount.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextCount.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { "abc".filter { it == 'a' }.count() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextCount.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextCount.kt.after index ec8759336f85..be6eec705597 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextCount.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextCount.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { "abc".count { it == 'a' } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextIsEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextIsEmpty.kt index 9c54460eb45b..20b9151ec40a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextIsEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextIsEmpty.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = "abcdef".filter { it.isDigit() }.isEmpty() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextIsEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextIsEmpty.kt.after index b5b5890d4bd0..cf69e0f453a8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextIsEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextIsEmpty.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = "abcdef".none { it.isDigit() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextNone.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextNone.kt index 1fab457b7c05..e39de00ff7ab 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextNone.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextNone.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { "abc".filter { it == 'a' }.none() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextNone.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextNone.kt.after index f77c7dcc6145..517020b2505f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextNone.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextNone.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { "abc".none { it == 'a' } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextSingleOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextSingleOrNull.kt index f1b9dc23c3d4..cdc6865a664a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextSingleOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextSingleOrNull.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = "5abc".filter { it.isDigit() }.singleOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextSingleOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextSingleOrNull.kt.after index 16da3c09766f..6f46d77fd86e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextSingleOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/filterTextSingleOrNull.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = "5abc".singleOrNull { it.isDigit() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinTo.kt index 4e475ab81480..beb7b38ec7bd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val sb = StringBuilder() val x = listOf(1, 2, 3).map { "$it*$it" }.joinTo(buffer = sb, prefix = "= ", separator = " + ") \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinTo.kt.after index 2c698b4bf4d5..75446ebdfdfd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val sb = StringBuilder() val x = listOf(1, 2, 3).joinTo(buffer = sb, prefix = "= ", separator = " + ") { "$it*$it" } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToFake.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToFake.kt index 2c57550a3eb6..7fdc51bce946 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToFake.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToFake.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val sb = StringBuilder() val x = listOf(1, 2, 3).map { "$it*$it" }.joinTo(buffer = sb, prefix = "= ", separator = " + ", transform = String::capitalize) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToFakeWithLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToFakeWithLambda.kt index 72e22d3a41ef..9164e5b0e0d8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToFakeWithLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToFakeWithLambda.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val sb = StringBuilder() val x = listOf(1, 2, 3).map { "$it*$it" }.joinTo(buffer = sb, prefix = "= ", separator = " + ") { "${it.substring(1)}"} \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToForHashMap.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToForHashMap.kt index a58f081b8785..cb2f680bfeb7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToForHashMap.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToForHashMap.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val x = hashMapOf(1 to 2, 3 to 4).map { (key, value) -> key + value }.joinToString() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToForMap.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToForMap.kt index b4e1bd4db527..aad24ad14ec1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToForMap.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToForMap.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val x = mapOf(1 to 2, 3 to 4).map { (key, value) -> key + value }.joinToString() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToString.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToString.kt index a98839c5208c..98fee60881fc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToString.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToString.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 2, 3).map { "$it*$it" }.joinToString(prefix = "= ", separator = " + ") \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToString.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToString.kt.after index 2f97dd7ba5bf..f3b80a9d1da7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToString.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToString.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 2, 3).joinToString(prefix = "= ", separator = " + ") { "$it*$it" } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringOnHashMap.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringOnHashMap.kt index 2f93cb9d57f0..58f2d0f57b42 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringOnHashMap.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringOnHashMap.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(data: HashMap) { val result = data.map { "${it.key}: ${it.value}" }.joinToString("\n") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringOnHashMap2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringOnHashMap2.kt index e9845798f62c..08caf6ff612c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringOnHashMap2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringOnHashMap2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB import java.util.* class MyMap: HashMap() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringOnMap.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringOnMap.kt index 935e6ae0b038..2e6ca3f7aa5d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringOnMap.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringOnMap.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val data = mutableMapOf() val result = data.map { "${it.key}: ${it.value}" }.joinToString("\n") \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringViaBuilder.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringViaBuilder.kt index 2bb1dd6d5057..03e8806bb359 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringViaBuilder.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringViaBuilder.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 2, 3).map { val sb = StringBuilder() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringViaBuilder.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringViaBuilder.kt.after index 3611c4d5858f..a00a33877263 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringViaBuilder.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringViaBuilder.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 2, 3).joinToString(prefix = "= ", separator = " + ") { val sb = StringBuilder() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReference.kt index be19a7bd7628..60d371fa5a48 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReference.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 2, 3).map(Int::toString).joinToString(prefix = "= ", separator = " + ") \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReference.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReference.kt.after index cdeb86c64f28..625b20aad6bd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReference.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 2, 3).joinToString(prefix = "= ", separator = " + ", transform = Int::toString) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReferenceAndComment.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReferenceAndComment.kt index a7f62f0a2790..d327e3869908 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReferenceAndComment.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReferenceAndComment.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 2, 3).map( // comment1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReferenceAndComment.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReferenceAndComment.kt.after index e8959b896893..d43d20b4665e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReferenceAndComment.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReferenceAndComment.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 2, 3).joinToString( // comment2 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReferenceFake.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReferenceFake.kt index 4972dcc3cbc0..90a0ce487d1c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReferenceFake.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReferenceFake.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 2, 3).map(Int::toDouble).joinToString(prefix = "= ", separator = " + ") \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithSuspendFunctionCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithSuspendFunctionCall.kt index 2a65160b0db1..759f3dfdc629 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithSuspendFunctionCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithSuspendFunctionCall.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB suspend fun mapString(input: String): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithTrailingComma.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithTrailingComma.kt index cdd58c92815d..1ffade4d5e6c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithTrailingComma.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithTrailingComma.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 2, 3).map { "$it*$it" }.joinToString( prefix = "= ", diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithTrailingComma.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithTrailingComma.kt.after index fb8c8c8819b1..82eca0dfc4e9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithTrailingComma.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithTrailingComma.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 2, 3).joinToString( prefix = "= ", diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithTrailingCommaAndImplicitReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithTrailingCommaAndImplicitReceiver.kt index e79a9ba061a3..c651027b2589 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithTrailingCommaAndImplicitReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithTrailingCommaAndImplicitReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun List.test() { val x = map { "$it*$it" }.joinToString( diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithTrailingCommaAndImplicitReceiver.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithTrailingCommaAndImplicitReceiver.kt.after index cc72ef0929fb..5c765632d2f7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithTrailingCommaAndImplicitReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithTrailingCommaAndImplicitReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun List.test() { val x = joinToString( diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToWithComment.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToWithComment.kt index 30d587a9af18..eb564beaf058 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToWithComment.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToWithComment.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val sb = StringBuilder() val x = listOf(1, 2, 3).map { "$it*$it" }.joinTo( diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToWithComment.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToWithComment.kt.after index 3038b4d120fa..3b3f8f39febf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToWithComment.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToWithComment.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val sb = StringBuilder() val x = listOf(1, 2, 3).joinTo( diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToWithSuspendFunctionCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToWithSuspendFunctionCall.kt index 744759780a4c..3e9a04060f4e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToWithSuspendFunctionCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/joinToWithSuspendFunctionCall.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB suspend fun mapString(input: String): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/listOfNotNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/listOfNotNull.kt index bfcb4c4e1c33..8d143b872a8a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/listOfNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/listOfNotNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val s: String? = null val x = listOf(s).filterNotNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/listOfNotNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/listOfNotNull.kt.after index 61962257e22d..6e96e0284e04 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/listOfNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/listOfNotNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val s: String? = null val x = listOfNotNull(s) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/listOfNotNullWithComment.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/listOfNotNullWithComment.kt index 7a9888d78779..6674324af9e1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/listOfNotNullWithComment.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/listOfNotNullWithComment.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf( diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/listOfNotNullWithComment.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/listOfNotNullWithComment.kt.after index 866ad50d53b9..39be15d4c3ef 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/listOfNotNullWithComment.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/listOfNotNullWithComment.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOfNotNull( diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax.kt index 1c1517dca45e..93122f1c0809 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax.kt @@ -1,5 +1,5 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax.kt.after index 5b780cb71c3b..ed9b7b22760a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax.kt.after @@ -1,5 +1,5 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax2.kt index c4b4de496019..048158b09546 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax2.kt @@ -1,5 +1,5 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax2.kt.after index 3df9f9654818..2327d36a2465 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax2.kt.after @@ -1,5 +1,5 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax3.kt index 50723935f78a..b6fd4c735489 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMax3.kt @@ -1,5 +1,5 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMaxOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMaxOrNull.kt index 16fff28a4285..1fb093d69562 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMaxOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMaxOrNull.kt @@ -1,5 +1,5 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMaxOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMaxOrNull.kt.after index 5b780cb71c3b..ed9b7b22760a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMaxOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMaxOrNull.kt.after @@ -1,5 +1,5 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMaxOrNull2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMaxOrNull2.kt index 41df4ae1b08e..a0197babf4fe 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMaxOrNull2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMaxOrNull2.kt @@ -1,5 +1,5 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMaxOrNull2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMaxOrNull2.kt.after index 3df9f9654818..2327d36a2465 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMaxOrNull2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMaxOrNull2.kt.after @@ -1,5 +1,5 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin.kt index 2539a4aa73c5..3464beabadc0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin.kt @@ -1,5 +1,5 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin.kt.after index d2c34c1e3ef7..58cd4fdd7a2f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin.kt.after @@ -1,5 +1,5 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin2.kt index 9e709a1b5bf5..3ca2529a69c2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin2.kt @@ -1,5 +1,5 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin2.kt.after index 62107fca75f7..f3a3d5dc9edc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin2.kt.after @@ -1,5 +1,5 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin3.kt index e1cdc132fe17..f3532d45747f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMin3.kt @@ -1,5 +1,5 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMinOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMinOrNull.kt index fb0c124eeb6d..f0e204800d8c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMinOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMinOrNull.kt @@ -1,5 +1,5 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMinOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMinOrNull.kt.after index d2c34c1e3ef7..58cd4fdd7a2f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMinOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMinOrNull.kt.after @@ -1,5 +1,5 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMinOrNull2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMinOrNull2.kt index d9775cc2cfee..f68bdd829635 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMinOrNull2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMinOrNull2.kt @@ -1,5 +1,5 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMinOrNull2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMinOrNull2.kt.after index 62107fca75f7..f3a3d5dc9edc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMinOrNull2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapMinOrNull2.kt.after @@ -1,5 +1,5 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNull.kt index a414a46d8ccb..dc4a6c405991 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNull.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 0, 2).map { if (it != 0) it else null }.filterNotNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNull.kt.after index ef63f8229b0d..71035e0e3069 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNull.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 0, 2).mapNotNull { if (it != 0) it else null } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullFirst.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullFirst.kt index 8f9eed038ba8..960c368ff7d1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullFirst.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullFirst.kt @@ -1,5 +1,5 @@ // API_VERSION: 1.5 -// WITH_RUNTIME +// WITH_STDLIB data class User(val id: Long, val name: String?) fun test(users: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullFirst.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullFirst.kt.after index 6ea1c5d3b939..271f2ba27e2a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullFirst.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullFirst.kt.after @@ -1,5 +1,5 @@ // API_VERSION: 1.5 -// WITH_RUNTIME +// WITH_STDLIB data class User(val id: Long, val name: String?) fun test(users: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullFirstOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullFirstOrNull.kt index 176efdd4561b..0a787bd22a4c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullFirstOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullFirstOrNull.kt @@ -1,5 +1,5 @@ // API_VERSION: 1.5 -// WITH_RUNTIME +// WITH_STDLIB data class User(val id: Long, val name: String?) fun test(users: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullFirstOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullFirstOrNull.kt.after index 6070a9713c24..65c7d8f7d01c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullFirstOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullFirstOrNull.kt.after @@ -1,5 +1,5 @@ // API_VERSION: 1.5 -// WITH_RUNTIME +// WITH_STDLIB data class User(val id: Long, val name: String?) fun test(users: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullWithSuspendFunctionCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullWithSuspendFunctionCall.kt index c0ebb65b7d28..bc002684f363 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullWithSuspendFunctionCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullWithSuspendFunctionCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB suspend fun mapString(input: String): String? = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullWithSuspendFunctionCall.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullWithSuspendFunctionCall.kt.after index de620caf5c2d..cbacd1070cb1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullWithSuspendFunctionCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapNotNullWithSuspendFunctionCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB suspend fun mapString(input: String): String? = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSum.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSum.kt index f6b638cc4da1..3801a9100e03 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSum.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSum.kt @@ -1,5 +1,5 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSum.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSum.kt.after index e615ba5b61d4..fc0949ad808c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSum.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSum.kt.after @@ -1,5 +1,5 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSum2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSum2.kt index 5650ae7e6cfe..f9c5710c703d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSum2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSum2.kt @@ -1,5 +1,5 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none data class OrderItem(val name: String, val price: Double, val count: Int) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithDouble.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithDouble.kt index 30d9e9e5cdb6..02a928146133 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithDouble.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithDouble.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1.0, 2.0).map { it * it }.sum() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithDouble.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithDouble.kt.after index 8bd12c5d3015..006bd2af7de1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithDouble.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithDouble.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1.0, 2.0).sumOf { it * it } } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithFloat.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithFloat.kt index 0f40676ab52c..0a28b8acfa13 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithFloat.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithFloat.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(0.1f, 0.2f).map { it * it }.sum() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithInt.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithInt.kt index 72a61ed89e33..34ec5c892569 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithInt.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithInt.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1, 2).map { it * it }.sum() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithInt.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithInt.kt.after index 32683ac64de5..cadc33b6493a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithInt.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1, 2).sumOf { it * it } } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithLong.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithLong.kt index 35f5fcef9b41..fd1e5a47cd01 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithLong.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithLong.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1L, 2L).map { it * it }.sum() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithLong.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithLong.kt.after index 77488d909188..ccba839aa9e3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithLong.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithLong.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1L, 2L).sumOf { it * it } } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithUInt.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithUInt.kt index 43bb964c85cf..2eb34584c033 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithUInt.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithUInt.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1u, 2u).map { it * it }.sum() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithUInt.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithUInt.kt.after index a948b0885252..ecc411c8048a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithUInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithUInt.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1u, 2u).sumOf { it * it } } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithULong.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithULong.kt index 7faea82c2eb5..4fb8adb79e60 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithULong.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithULong.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1uL, 2uL).map { it * it }.sum() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithULong.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithULong.kt.after index 226c4ccbbb0c..a37e0feaed5e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithULong.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithULong.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1uL, 2uL).sumOf { it * it } } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap.kt index ae64e341d2db..4f33eb4162e1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap.kt @@ -1,5 +1,5 @@ // FIX: Merge call chain to 'associate' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap.kt.after index 85c1fde2591e..47d40bc6d49f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap.kt.after @@ -1,5 +1,5 @@ // FIX: Merge call chain to 'associate' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap2.kt index d2af32a923ba..5086075ff321 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap2.kt @@ -1,5 +1,5 @@ // FIX: Merge call chain to 'associateBy' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap2.kt.after index 5e593877c38e..f0908a422e0e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap2.kt.after @@ -1,5 +1,5 @@ // FIX: Merge call chain to 'associateBy' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap3.kt index fcfab6485168..b932cf7fa60b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap3.kt @@ -1,5 +1,5 @@ // FIX: Merge call chain to 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap3.kt.after index 3a56aca9ca94..37e9bd4cafae 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap3.kt.after @@ -1,5 +1,5 @@ // FIX: Merge call chain to 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap4.kt index 30955592658c..84889cc89acb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap4.kt @@ -1,5 +1,5 @@ // FIX: Merge call chain to 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun foo() {} fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap4.kt.after index 229ab07d1d2e..c72cd6119c9a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapToMap4.kt.after @@ -1,5 +1,5 @@ // FIX: Merge call chain to 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun foo() {} fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapWithReturn.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapWithReturn.kt index 60a54555b483..b782114a142c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapWithReturn.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapWithReturn.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(args: List): String { return args.map { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/notApplicableSortedByFirst.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/notApplicableSortedByFirst.kt index 8b30d8d56286..5b56901c1f7e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/notApplicableSortedByFirst.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/notApplicableSortedByFirst.kt @@ -1,6 +1,6 @@ // PROBLEM: none // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1, null, 2).sortedBy { it }.first() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/notApplicableSortedByFirst2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/notApplicableSortedByFirst2.kt index 6fe4d31d1b80..d352674e3ee3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/notApplicableSortedByFirst2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/notApplicableSortedByFirst2.kt @@ -1,6 +1,6 @@ // PROBLEM: none // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB data class Foo(val x: Int?) fun main() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/notApplicableSortedByFirst3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/notApplicableSortedByFirst3.kt index 3a981dbe8a7e..5bf673420cf1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/notApplicableSortedByFirst3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/notApplicableSortedByFirst3.kt @@ -1,6 +1,6 @@ // PROBLEM: none // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB data class Foo(val x: Int?) fun main() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/notApplicableSortedByLast.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/notApplicableSortedByLast.kt index ccf429d13402..6db18d3d2809 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/notApplicableSortedByLast.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/notApplicableSortedByLast.kt @@ -1,6 +1,6 @@ // PROBLEM: none // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1, null, 2).sortedBy { it }.last() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/onMapImplementationClass.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/onMapImplementationClass.kt index 358f34db9c57..5a9bd6d7e3b7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/onMapImplementationClass.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/onMapImplementationClass.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB data class Foo(val map: Map) : Map by map fun main() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterFirst.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterFirst.kt index 388472b7593a..47b6bf71bd93 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterFirst.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterFirst.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterFirst.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterFirst.kt.after index be9e23b393d8..8d429da80d0b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterFirst.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterFirst.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterFirstOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterFirstOrNull.kt index 78777670d48e..99e1de0e23f3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterFirstOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterFirstOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterFirstOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterFirstOrNull.kt.after index a89a57cf2fe6..344e60107995 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterFirstOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterFirstOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterIsEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterIsEmpty.kt index aaed4e30a55c..dff53ecc96a0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterIsEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterIsEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterIsEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterIsEmpty.kt.after index ad50e8370bf5..8d7968557909 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterIsEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterIsEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterIsNotEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterIsNotEmpty.kt index c34c4abb00ac..ecd2c99eaf01 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterIsNotEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterIsNotEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterIsNotEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterIsNotEmpty.kt.after index c30e7cd27983..a67785520785 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterIsNotEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterIsNotEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterLast.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterLast.kt index d607e8bd4d9f..e95d701277c5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterLast.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterLast.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterLast.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterLast.kt.after index 7a4c521f4f84..7751e587697f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterLast.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterLast.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterLastOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterLastOrNull.kt index 7034f85b99a9..814461f7a757 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterLastOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterLastOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterLastOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterLastOrNull.kt.after index 11d6717f5347..0e18fd1fd04b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterLastOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterLastOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterSingle.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterSingle.kt index 7b30d5220a39..5bcf324a6078 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterSingle.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterSingle.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterSingle.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterSingle.kt.after index f4dbbeca51dc..39da6b32ac57 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterSingle.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterSingle.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterSingleOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterSingleOrNull.kt index 78b98ebd9fe4..03c69b03caeb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterSingleOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterSingleOrNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterSingleOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterSingleOrNull.kt.after index 04318b6c0967..64e2c0c85d4d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterSingleOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/filterSingleOrNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapFilterNotNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapFilterNotNull.kt index b36cd7183181..4fa28005e3c9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapFilterNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapFilterNotNull.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapJoinTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapJoinTo.kt index a8db5e3aa4cb..a8e921367891 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapJoinTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapJoinTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapJoinTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapJoinTo.kt.after index 05f3fa6ce736..166f3e9272fe 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapJoinTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapJoinTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapJoinToString.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapJoinToString.kt index a1e0ab187dae..a64012abe9df 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapJoinToString.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapJoinToString.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapJoinToString.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapJoinToString.kt.after index 97392eee3e94..8bb68b1ae9f7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapJoinToString.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/primitiveArray/mapJoinToString.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array: IntArray = intArrayOf(0, 1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirst.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirst.kt index 30cd15299fee..e64644c11728 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirst.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirst.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x: Pair = listOf("a" to 1, "c" to 3, "b" to 2).sortedByDescending { it.second }.first() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirst.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirst.kt.after index 901032c1acd7..f2d17780fe36 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirst.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirst.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x: Pair = listOf("a" to 1, "c" to 3, "b" to 2).maxBy { it.second }!! diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirst2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirst2.kt index 7aad93cac0e8..57d7cab6547c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirst2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirst2.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x: Pair = listOf("a" to 1, "c" to 3, "b" to 2).sortedByDescending { it.second }.first() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirst2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirst2.kt.after index 107dfe8f6929..f539ce02984f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirst2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirst2.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x: Pair = listOf("a" to 1, "c" to 3, "b" to 2).maxByOrNull { it.second }!! \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirstOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirstOrNull.kt index d26d899fff55..f45aa14cc0c0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirstOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirstOrNull.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("a" to 1, "c" to 3, "b" to 2).sortedByDescending { it.second }.firstOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirstOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirstOrNull.kt.after index 3b7daa9a5abf..48613c3e9c70 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirstOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirstOrNull.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("a" to 1, "c" to 3, "b" to 2).maxBy { it.second } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirstOrNull2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirstOrNull2.kt index 212eeb74981e..5d50776c8b48 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirstOrNull2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirstOrNull2.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("a" to 1, "c" to 3, "b" to 2).sortedByDescending { it.second }.firstOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirstOrNull2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirstOrNull2.kt.after index 9ab02dcd9152..b16bdce6324a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirstOrNull2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingFirstOrNull2.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("a" to 1, "c" to 3, "b" to 2).maxByOrNull { it.second } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLast.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLast.kt index c2bc79e71a39..3c3c201451a8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLast.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLast.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x: Pair = listOf("a" to 1, "c" to 3, "b" to 2).sortedByDescending { it.second }.last() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLast.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLast.kt.after index a386049c62ae..bb905d935af2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLast.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLast.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x: Pair = listOf("a" to 1, "c" to 3, "b" to 2).minBy { it.second }!! diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLast2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLast2.kt index 8bfd1c95b04f..48d9bad67f6d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLast2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLast2.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x: Pair = listOf("a" to 1, "c" to 3, "b" to 2).sortedByDescending { it.second }.last() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLast2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLast2.kt.after index d634b0b14a0e..351241d6bbc7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLast2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLast2.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x: Pair = listOf("a" to 1, "c" to 3, "b" to 2).minByOrNull { it.second }!! \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLastOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLastOrNull.kt index 8cad8028898b..fb494c5895b6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLastOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLastOrNull.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("a" to 1, "c" to 3, "b" to 2).sortedByDescending { it.second }.lastOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLastOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLastOrNull.kt.after index dad130055fe0..328fa1dde200 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLastOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLastOrNull.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("a" to 1, "c" to 3, "b" to 2).minBy { it.second } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLastOrNull2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLastOrNull2.kt index 1981ac6f7c9c..dd664ba14aee 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLastOrNull2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLastOrNull2.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("a" to 1, "c" to 3, "b" to 2).sortedByDescending { it.second }.lastOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLastOrNull2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLastOrNull2.kt.after index 84992bf46f4a..f3c4dd30ddef 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLastOrNull2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByDescendingLastOrNull2.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("a" to 1, "c" to 3, "b" to 2).minByOrNull { it.second } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirst.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirst.kt index 85426b5cc9fb..41db2d71a3b2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirst.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirst.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x: Pair = listOf("a" to 1, "c" to 3, "b" to 2).sortedBy { it.second }.first() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirst.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirst.kt.after index a386049c62ae..bb905d935af2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirst.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirst.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x: Pair = listOf("a" to 1, "c" to 3, "b" to 2).minBy { it.second }!! diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirst2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirst2.kt index e2e24bc08fd3..cdd4002f95e6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirst2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirst2.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x: Pair = listOf("a" to 1, "c" to 3, "b" to 2).sortedBy { it.second }.first() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirst2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirst2.kt.after index d634b0b14a0e..351241d6bbc7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirst2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirst2.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x: Pair = listOf("a" to 1, "c" to 3, "b" to 2).minByOrNull { it.second }!! \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirstOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirstOrNull.kt index 897657935d17..8150ccd71596 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirstOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirstOrNull.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("a" to 1, "c" to 3, "b" to 2).sortedBy { it.second }.firstOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirstOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirstOrNull.kt.after index dad130055fe0..328fa1dde200 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirstOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirstOrNull.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("a" to 1, "c" to 3, "b" to 2).minBy { it.second } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirstOrNull2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirstOrNull2.kt index f8feff4dc884..db0fc9830f58 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirstOrNull2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirstOrNull2.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("a" to 1, "c" to 3, "b" to 2).sortedBy { it.second }.firstOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirstOrNull2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirstOrNull2.kt.after index 84992bf46f4a..f3c4dd30ddef 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirstOrNull2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByFirstOrNull2.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("a" to 1, "c" to 3, "b" to 2).minByOrNull { it.second } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLast.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLast.kt index df83f3b7949b..d291354555d8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLast.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLast.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x: Pair = listOf("a" to 1, "c" to 3, "b" to 2).sortedBy { it.second }.last() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLast.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLast.kt.after index 901032c1acd7..f2d17780fe36 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLast.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLast.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x: Pair = listOf("a" to 1, "c" to 3, "b" to 2).maxBy { it.second }!! diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLast2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLast2.kt index 09b028924cdd..8a4f4ef5b519 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLast2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLast2.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x: Pair = listOf("a" to 1, "c" to 3, "b" to 2).sortedBy { it.second }.last() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLast2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLast2.kt.after index 107dfe8f6929..f539ce02984f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLast2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLast2.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x: Pair = listOf("a" to 1, "c" to 3, "b" to 2).maxByOrNull { it.second }!! \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLastOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLastOrNull.kt index bdd38bc42f55..3a9943745644 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLastOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLastOrNull.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("a" to 1, "c" to 3, "b" to 2).sortedBy { it.second }.lastOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLastOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLastOrNull.kt.after index 3b7daa9a5abf..48613c3e9c70 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLastOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLastOrNull.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("a" to 1, "c" to 3, "b" to 2).maxBy { it.second } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLastOrNull2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLastOrNull2.kt index ec007f652390..a18e6a3ddeed 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLastOrNull2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLastOrNull2.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("a" to 1, "c" to 3, "b" to 2).sortedBy { it.second }.lastOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLastOrNull2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLastOrNull2.kt.after index 9ab02dcd9152..b16bdce6324a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLastOrNull2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedByLastOrNull2.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("a" to 1, "c" to 3, "b" to 2).maxByOrNull { it.second } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirst.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirst.kt index 8f88167c7e21..f1c7f8546bc8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirst.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirst.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x: Int = listOf(1, 3, 2).sortedDescending().first() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirst.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirst.kt.after index 3ee944073c7b..960e294c46c3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirst.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirst.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x: Int = listOf(1, 3, 2).max()!! diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirst2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirst2.kt index c73e37f5feb9..2c5a85522521 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirst2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirst2.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x: Int = listOf(1, 3, 2).sortedDescending().first() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirst2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirst2.kt.after index cdcc91cbaa92..a6597dbee6c1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirst2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirst2.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x: Int = listOf(1, 3, 2).maxOf { it } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirstOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirstOrNull.kt index b1a454d5bf23..3eeb5cff086a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirstOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirstOrNull.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 3, 2).sortedDescending().firstOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirstOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirstOrNull.kt.after index 48c13c6ff48c..545f7c908d79 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirstOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirstOrNull.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 3, 2).max() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirstOrNull2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirstOrNull2.kt index ae2f70b6e811..b72d835ed849 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirstOrNull2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirstOrNull2.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 3, 2).sortedDescending().firstOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirstOrNull2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirstOrNull2.kt.after index fbc94a5f1f1a..03777ea7e23d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirstOrNull2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingFirstOrNull2.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 3, 2).maxOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLast.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLast.kt index a0a1c3f3232e..1966b2aac080 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLast.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLast.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x: Int = listOf(1, 3, 2).sortedDescending().last() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLast.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLast.kt.after index ccdabf61da72..89d9c91ab4a8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLast.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLast.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x: Int = listOf(1, 3, 2).min()!! diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLast2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLast2.kt index 51fa8c2266dc..b2eda885582f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLast2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLast2.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x: Int = listOf(1, 3, 2).sortedDescending().last() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLast2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLast2.kt.after index d2452746f7bc..37cf9647cc5e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLast2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLast2.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x: Int = listOf(1, 3, 2).minOf { it } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLastOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLastOrNull.kt index 518e81a92fa2..77683b85c4fa 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLastOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLastOrNull.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 3, 2).sortedDescending().lastOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLastOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLastOrNull.kt.after index 74e296cc605c..0159eb17e286 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLastOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLastOrNull.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 3, 2).min() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLastOrNull2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLastOrNull2.kt index 6e62f4738d17..9112b76997c1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLastOrNull2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLastOrNull2.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 3, 2).sortedDescending().lastOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLastOrNull2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLastOrNull2.kt.after index e573c462375b..5207e7e241f7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLastOrNull2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedDescendingLastOrNull2.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 3, 2).minOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirst.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirst.kt index a24b72b1243e..fdaa7140cca5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirst.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirst.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x: Int = listOf(1, 3, 2).sorted().first() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirst.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirst.kt.after index ccdabf61da72..89d9c91ab4a8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirst.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirst.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x: Int = listOf(1, 3, 2).min()!! diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirst2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirst2.kt index e931af20504a..2f06e8d044cd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirst2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirst2.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x: Int = listOf(1, 3, 2).sorted().first() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirst2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirst2.kt.after index d2452746f7bc..37cf9647cc5e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirst2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirst2.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x: Int = listOf(1, 3, 2).minOf { it } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirstOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirstOrNull.kt index c5ac5acebb76..8f96af670e02 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirstOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirstOrNull.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 3, 2).sorted().firstOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirstOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirstOrNull.kt.after index 74e296cc605c..0159eb17e286 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirstOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirstOrNull.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 3, 2).min() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirstOrNull2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirstOrNull2.kt index e8936249fa95..eb43d728d54a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirstOrNull2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirstOrNull2.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 3, 2).sorted().firstOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirstOrNull2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirstOrNull2.kt.after index e573c462375b..5207e7e241f7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirstOrNull2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedFirstOrNull2.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 3, 2).minOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLast.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLast.kt index d90276968754..f5cb567accf3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLast.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLast.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x: Int = listOf(1, 3, 2).sorted().last() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLast.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLast.kt.after index 3ee944073c7b..960e294c46c3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLast.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLast.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x: Int = listOf(1, 3, 2).max()!! diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLast2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLast2.kt index 2d3bb8aacc66..f5258d29cd98 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLast2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLast2.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x: Int = listOf(1, 3, 2).sorted().last() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLast2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLast2.kt.after index cdcc91cbaa92..a6597dbee6c1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLast2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLast2.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x: Int = listOf(1, 3, 2).maxOf { it } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLastOrNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLastOrNull.kt index a5422da5645a..4d4f414a4966 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLastOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLastOrNull.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 3, 2).sorted().lastOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLastOrNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLastOrNull.kt.after index 48c13c6ff48c..545f7c908d79 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLastOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLastOrNull.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 3, 2).max() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLastOrNull2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLastOrNull2.kt index 8c4b8be0132b..1292307c229e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLastOrNull2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLastOrNull2.kt @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 3, 2).sorted().lastOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLastOrNull2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLastOrNull2.kt.after index fbc94a5f1f1a..03777ea7e23d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLastOrNull2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLastOrNull2.kt.after @@ -1,3 +1,3 @@ // API_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(1, 3, 2).maxOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstance.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstance.kt index aa0178d3305a..d90a8b79ff6e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstance.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstance.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1").filterIsInstance() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstance.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstance.kt.after index e020a804f028..4bf590d26196 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstance.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstance.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1") \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceFake.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceFake.kt index a3c513a18ca3..f8065a7197bb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceFake.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceFake.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(true, "1").filterIsInstance() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnArray.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnArray.kt index db4f5cfa53ea..ca26a29c7d67 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnArray.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnArray.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x: List = arrayOf("1").filterIsInstance() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnArray.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnArray.kt.after index 1165abe1a8a4..29cac147cbf2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnArray.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x: List = arrayOf("1").toList() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnSequence.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnSequence.kt index 5f051ffd70ed..04c8da1d1aad 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnSequence.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnSequence.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x: Sequence = sequenceOf("1").filterIsInstance() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnSequence.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnSequence.kt.after index 39b63c1ad91a..ecf2c8c0eae3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnSequence.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x: Sequence = sequenceOf("1") \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnSequenceFake.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnSequenceFake.kt index 044423d791d2..4d30ca024635 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnSequenceFake.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsExactInstanceOnSequenceFake.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val x = sequenceOf(true, "1").filterIsInstance() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsForFlexible.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsForFlexible.kt index c31cc2b85e00..a7afb522a946 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsForFlexible.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsForFlexible.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(System.getProperty("")).filterIsInstance() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsForFlexibleOnSequence.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsForFlexibleOnSequence.kt index aa00a1010030..dda0c6eec8f3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsForFlexibleOnSequence.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsForFlexibleOnSequence.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val x = sequenceOf(System.getProperty("")).filterIsInstance() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstance.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstance.kt index 85d0440582a6..e76e2c0e3fb5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstance.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstance.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1").filterIsInstance() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstance.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstance.kt.after index e020a804f028..4bf590d26196 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstance.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstance.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1") \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstanceFake.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstanceFake.kt index bf816ff387c2..de903f917c41 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstanceFake.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstanceFake.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1", null).filterIsInstance() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstanceOnSequence.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstanceOnSequence.kt index 70c59824bd6f..747387bd89a3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstanceOnSequence.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstanceOnSequence.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = sequenceOf(1).filterIsInstance() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstanceOnSequence.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstanceOnSequence.kt.after index d2a9b83c4520..cf1de2b88d2a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstanceOnSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstanceOnSequence.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = sequenceOf(1) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstanceOnSequenceFake.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstanceOnSequenceFake.kt index db7ad173adb7..06a93a9950fb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstanceOnSequenceFake.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterIsSupertypeInstanceOnSequenceFake.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val x = sequenceOf("1", null).filterIsInstance() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNull.kt index f19f18ded64f..17e240856165 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNull.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1").filterNotNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNull.kt.after index e020a804f028..4bf590d26196 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNull.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1") \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnArray.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnArray.kt index f2d66c8b8e33..7d649353f7ad 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnArray.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnArray.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x: List = arrayOf("1").filterNotNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnArray.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnArray.kt.after index 1165abe1a8a4..29cac147cbf2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnArray.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x: List = arrayOf("1").toList() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnIterable.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnIterable.kt index 057a40160b21..e5a93b2c50ab 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnIterable.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnIterable.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(iterable: Iterable): List { return iterable.filterNotNull() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnIterable.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnIterable.kt.after index f8e0dd3c7551..95e3a54dcfe6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnIterable.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnIterable.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(iterable: Iterable): List { return iterable.toList() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSequence.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSequence.kt index 1acb8db07853..a57e7b9895c1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSequence.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSequence.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = sequenceOf("1", "2", "3").filterNotNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSequence.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSequence.kt.after index f35cec944981..9cce9cb4c423 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSequence.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = sequenceOf("1", "2", "3") \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSequenceFake.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSequenceFake.kt index d6d66c2b39a6..419f811f897f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSequenceFake.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSequenceFake.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val x = sequenceOf("1", null).filterNotNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSet.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSet.kt index 1452e3c76905..f174e338f71b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSet.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSet.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): List { return setOf(1).filterNotNull() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSet.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSet.kt.after index 8072b65aacf7..ad558b84b87c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSet.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/FilterNotNullOnSet.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): List { return setOf(1).toList() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapIndexedNotNullTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapIndexedNotNullTo.kt index 64ee2cf0cf1b..dcf103af481f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapIndexedNotNullTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapIndexedNotNullTo.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val someList = listOf("alpha", "beta").mapIndexedNotNullTo(destination = hashSetOf()) { index, value -> index + value.length } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapIndexedNotNullTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapIndexedNotNullTo.kt.after index a5f5e55dfa0e..b53e433b0e15 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapIndexedNotNullTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapIndexedNotNullTo.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val someList = listOf("alpha", "beta").mapIndexedTo(destination = hashSetOf()) { index, value -> index + value.length } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapIndexedNotNullToOnSequence.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapIndexedNotNullToOnSequence.kt index 4e67bc01bfb1..f2bcb2f459ad 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapIndexedNotNullToOnSequence.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapIndexedNotNullToOnSequence.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val someSeq = sequenceOf("alpha", "beta").mapIndexedNotNullTo(destination = hashSetOf()) { index, value -> index + value.length } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapIndexedNotNullToOnSequence.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapIndexedNotNullToOnSequence.kt.after index 283f83a9508e..e1e6877ca7ca 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapIndexedNotNullToOnSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapIndexedNotNullToOnSequence.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val someSeq = sequenceOf("alpha", "beta").mapIndexedTo(destination = hashSetOf()) { index, value -> index + value.length } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullOnGeneratedSequence.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullOnGeneratedSequence.kt index aaccdf877d7b..4ec701609deb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullOnGeneratedSequence.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullOnGeneratedSequence.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun fibonacci() = sequence { var terms = Pair(0, 1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullOnGeneratedSequence.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullOnGeneratedSequence.kt.after index e4c6e6b4fb32..7ee0011314d5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullOnGeneratedSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullOnGeneratedSequence.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun fibonacci() = sequence { var terms = Pair(0, 1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullTo.kt index 3c80c8615d83..5aa8e30754c6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullTo.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1").mapNotNullTo(mutableSetOf()) { it.toInt() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullTo.kt.after index aef4ecd5d994..5d2f566431f1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullTo.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1").mapTo(mutableSetOf()) { it.toInt() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullToOnSequence.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullToOnSequence.kt index c62be1c1a9c7..32cedf3abe42 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullToOnSequence.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullToOnSequence.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = sequenceOf("1").mapNotNullTo(mutableSetOf()) { it.toInt() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullToOnSequence.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullToOnSequence.kt.after index d8f11539e379..6ef2dad60d4c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullToOnSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullToOnSequence.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = sequenceOf("1").mapTo(mutableSetOf()) { it.toInt() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithGenericLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithGenericLambda.kt index 419e9124db1c..4a85a01a9ffc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithGenericLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithGenericLambda.kt @@ -1,6 +1,6 @@ // PROBLEM: none // COMPILER_ARGUMENTS: -XXLanguage:+NewInference -// WITH_RUNTIME +// WITH_STDLIB fun mylet(block: () -> R): R = block() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithGenericLambdaOnSequence.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithGenericLambdaOnSequence.kt index 0dfd73e03464..ac7fe0e97267 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithGenericLambdaOnSequence.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithGenericLambdaOnSequence.kt @@ -1,6 +1,6 @@ // PROBLEM: none // COMPILER_ARGUMENTS: -XXLanguage:+NewInference -// WITH_RUNTIME +// WITH_STDLIB fun mylet(block: () -> R): R = block() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda.kt index 3a9c0eac5c09..d70a18e53fb5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1").mapNotNull { it.toInt() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda.kt.after index b4e2aaf78d40..d5dad17a6481 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1").map { it.toInt() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda2.kt index 418d63154eff..346b29b56971 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Change call to 'map' fun foo(c: Collection) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda2.kt.after index 03f8dbae28e2..da398f1f8c6a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Change call to 'map' fun foo(c: Collection) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda3.kt index 3dc2c2d1b74a..e0192f30ffa6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Change call to 'map' fun foo(c: Collection, f: Boolean) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda3.kt.after index 66c83faf69f2..17b492a8abe1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Change call to 'map' fun foo(c: Collection, f: Boolean) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda4.kt index 2ea7780c8a00..6b3d63e0b1b2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Change call to 'map' fun foo(c: Collection) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda4.kt.after index 85692a74c24f..86816027198f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Change call to 'map' fun foo(c: Collection) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda5.kt index b6cdd372fac0..9672281ae064 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Change call to 'map' fun test(): List { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda5.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda5.kt.after index a1ad429c7477..5b06fdd893fd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda5.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambda5.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Change call to 'map' fun test(): List { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaFake.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaFake.kt index f591432669b8..cc3761924907 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaFake.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaFake.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1").mapNotNull { if (it.isNotEmpty()) it.toInt() else null } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaFake2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaFake2.kt index c13130905327..36776cf90877 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaFake2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaFake2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(): List { return listOf(1, 2, 3).mapNotNull { i -> foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence.kt index 4c8dad3d986c..486582db9e11 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1").asSequence().mapNotNull { it.toInt() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence.kt.after index e0f53675a16c..174c746f47b1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1").asSequence().map { it.toInt() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence2.kt index 2f3cec5a480e..223e7db0a9e7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Change call to 'map' fun foo(c: Sequence) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence2.kt.after index 2a34471499b9..b7f6f1b9bc46 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Change call to 'map' fun foo(c: Sequence) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence3.kt index 78c6f1a12fe2..1a73317a3fa6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Change call to 'map' fun foo(c: Sequence, f: Boolean) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence3.kt.after index 68a1d2aab839..9b0255f83f40 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Change call to 'map' fun foo(c: Sequence, f: Boolean) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence4.kt index 92707642ab9f..5f05c060e17c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Change call to 'map' fun foo(c: Sequence) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence4.kt.after index fe371717eb2b..4273d3810b02 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Change call to 'map' fun foo(c: Sequence) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence5.kt index d531e3b125ab..033b45d22a09 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Change call to 'map' fun test(): Sequence { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence5.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence5.kt.after index 8028566be5b3..4abb1ec2a8db 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence5.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequence5.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Change call to 'map' fun test(): Sequence { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequenceFake.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequenceFake.kt index a40f88ded4f3..0ce8c54bfada 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequenceFake.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequenceFake.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val x = sequenceOf("1").mapNotNull { if (it.isNotEmpty()) it.toInt() else null } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequenceFake2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequenceFake2.kt index ebd0b59fbb05..ccf527b94bef 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequenceFake2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithLambdaOnSequenceFake2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(): Sequence { return sequenceOf(1, 2, 3).mapNotNull { i -> foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReference.kt index 534d0dd98075..1e7adc536a2a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReference.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1").mapNotNull(String::toInt) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReference.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReference.kt.after index 43f1542b973f..f71e241b6246 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReference.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1").map(String::toInt) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReferenceFake.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReferenceFake.kt index f2c7e3e84da3..e1b0e34d8f9c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReferenceFake.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReferenceFake.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun String.toNullableInt(): Int? = null diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReferenceOnSequence.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReferenceOnSequence.kt index def18dbc8863..20957dddf152 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReferenceOnSequence.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReferenceOnSequence.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = sequenceOf("1").mapNotNull(String::toInt) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReferenceOnSequence.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReferenceOnSequence.kt.after index 9df2ee965d79..bebe7877928c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReferenceOnSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/MapNotNullWithReferenceOnSequence.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = sequenceOf("1").map(String::toInt) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/filterNotNullFake.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/filterNotNullFake.kt index 39cf8e50da96..fdfcc4ef22bc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/filterNotNullFake.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnCollection/filterNotNullFake.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("1", null).filterNotNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/ListIsNullOrEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/ListIsNullOrEmpty.kt index cebc965a8449..60c85b98dde7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/ListIsNullOrEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/ListIsNullOrEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.isNullOrEmpty() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/ListIsNullOrEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/ListIsNullOrEmpty.kt.after index 5a6ac8d21513..3537565deed8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/ListIsNullOrEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/ListIsNullOrEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.isEmpty() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NotNullType.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NotNullType.kt index 81605b6c5806..b68a0c57e92c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NotNullType.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NotNullType.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val list1: List = listOf(1) val list = list1.orEmpty() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NotNullType.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NotNullType.kt.after index 1ead3bb5f09d..9b13cb2b0698 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NotNullType.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NotNullType.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val list1: List = listOf(1) val list = list1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NotNullTypeChain.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NotNullTypeChain.kt index 8bb618154d0d..a68c2d348a86 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NotNullTypeChain.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NotNullTypeChain.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val list1: List = listOf(1) val list = list1.orEmpty().map { "$it" } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NotNullTypeChain.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NotNullTypeChain.kt.after index 2abb3dd65cfb..4677e5581ca3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NotNullTypeChain.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NotNullTypeChain.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val list1: List = listOf(1) val list = list1.map { "$it" } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrBlankSafe.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrBlankSafe.kt index e1b19a9b036a..9d76b8b62170 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrBlankSafe.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrBlankSafe.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Change call to 'isBlank' val s: String? = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrBlankSafe.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrBlankSafe.kt.after index cbda9b4e1ec9..c7b55ec108c1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrBlankSafe.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrBlankSafe.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Change call to 'isBlank' val s: String? = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmpty.kt index dcb8d7d11008..46c3ba19da88 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = "" val empty = s.isNullOrEmpty() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmpty.kt.after index 3c3a7834fe95..13c7dd2fa94b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = "" val empty = s.isEmpty() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptyAfterNullCheck.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptyAfterNullCheck.kt index b592ed538901..ade2ae343a15 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptyAfterNullCheck.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptyAfterNullCheck.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(str: String?) { if (str == null) return str.isNullOrEmpty() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptyAfterNullCheck.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptyAfterNullCheck.kt.after index d7aa6e861b03..057db1701177 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptyAfterNullCheck.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptyAfterNullCheck.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(str: String?) { if (str == null) return str.isEmpty() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptyFake.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptyFake.kt index 451e3d9a002a..02ab90207e73 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptyFake.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptyFake.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val s: String? = null val empty = s.isNullOrEmpty() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptySafe.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptySafe.kt index cd7e9ec61247..b40ca32902df 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptySafe.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptySafe.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace with dot call val s: String? = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptySafe.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptySafe.kt.after index 031eee691c4a..ab03bfe3dd97 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptySafe.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmptySafe.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace with dot call val s: String? = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/OrEmptyAfterNullCheck.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/OrEmptyAfterNullCheck.kt index 259a32352614..7533a34285f4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/OrEmptyAfterNullCheck.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/OrEmptyAfterNullCheck.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(str: String?) { if (str == null) return str.orEmpty() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/OrEmptyAfterNullCheck.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/OrEmptyAfterNullCheck.kt.after index ed2f26389a79..2e80b9737cbb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/OrEmptyAfterNullCheck.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/OrEmptyAfterNullCheck.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(str: String?) { if (str == null) return str diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/OrEmptyFake.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/OrEmptyFake.kt index a51568369000..f862c01f244d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/OrEmptyFake.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/OrEmptyFake.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val list: List? = null val empty = list.orEmpty() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/SafeCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/SafeCall.kt index f5ee86203ff1..b6a2fcb6fab1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/SafeCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/SafeCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val list1: List? = listOf(1) val list = list1?.orEmpty() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/SafeCall.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/SafeCall.kt.after index 8e74260c6204..e4b681aa521b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/SafeCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/SafeCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val list1: List? = listOf(1) val list = list1.orEmpty() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/Sequence.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/Sequence.kt index 655f12a83d04..37b59c1647cd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/Sequence.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/Sequence.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(s: Sequence) { val foo = s.orEmpty() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/Sequence.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/Sequence.kt.after index de8846437efa..820a871686e9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/Sequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/Sequence.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(s: Sequence) { val foo = s diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/String.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/String.kt index 23604ee541f6..4dd7debf29d8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/String.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/String.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = "" val s1 = s.orEmpty() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/String.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/String.kt.after index a8b0c8557921..c32f625d4c36 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/String.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/uselessCallOnNotNull/String.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = "" val s1 = s \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/assignment.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/assignment.kt index 47027fb4c59c..a395ffc158f5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/assignment.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/assignment.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun withAssign(arg: String?): String { var result: String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/binarySafeCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/binarySafeCall.kt index fde54d62b62a..593130e6747d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/binarySafeCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/binarySafeCall.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val x = 1 val y = x.let { it + it?.hashCode() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain.kt index 24d82b01d4f2..7bf2aff52bab 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.filter { it > 2 }.let { println(it) } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain.kt.after index 92b1bd87c81f..e321f0301893 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { println(list.filter { it > 1 }.filter { it > 2 }) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain2.kt index 779ceb99c3fc..9cbfec2ecebb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.filter { it > 2 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain2.kt.after index 92b1bd87c81f..e321f0301893 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { println(list.filter { it > 1 }.filter { it > 2 }) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain3.kt index 1d15f6922114..d70fc564e6ca 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.filter { it > 2 }.let { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain3.kt.after index 92b1bd87c81f..e321f0301893 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChain3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { println(list.filter { it > 1 }.filter { it > 2 }) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChainWithLineBreak.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChainWithLineBreak.kt index 6940dbdd1875..a36af068e66f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChainWithLineBreak.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChainWithLineBreak.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: INFORMATION fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChainWithLineBreak.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChainWithLineBreak.kt.after index deb1d311d366..86a9c28c3165 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChainWithLineBreak.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/callChainWithLineBreak.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: INFORMATION fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/comparisons.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/comparisons.kt index 965d929d6bd4..b99da8f7ec65 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/comparisons.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/comparisons.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun isAlphaOrBeta(str: String) = str.let { it == "Alpha" || it == "Beta" } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration.kt index a3b5bd3dbb71..a15768d15dc8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { (1 to 2).let { (i, j) -> foo() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration.kt.after index 386e5e1cbf8d..1d26bbbde749 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { foo() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration2.kt index 9ce2788527de..00fb438542a7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { (1 to 2).let { (i, j) -> foo(1, 2) } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration2.kt.after index de6ae800842b..a4785ac8b291 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { foo(1, 2) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration3.kt index da297683870a..d697891ad5c3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration4.kt index 41a00afaab8c..edeaaf60be35 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test(k: Int) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration5.kt index bb26cfe0ca92..2e8435e0221b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/dotWithComparison.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/dotWithComparison.kt index 24c6ed0c8026..4ff772dcc7be 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/dotWithComparison.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/dotWithComparison.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun main(args: Array) { args[0].let { it.isBlank() && it.toByteOrNull() != null } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall1.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall1.kt index 4838ec77623a..9c4112e74212 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall1.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall1.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall1.kt.after index 3847d2f396d7..987d50a3d6ce 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall1.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall1.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall2.kt index 34d7eb3a4f95..dd47cdbad923 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall2.kt.after index 4415eed32e5d..0348007dff73 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall3.kt index 383728c20c01..ad02e0366b41 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall3.kt.after index 9607a2a97e57..bc57af46b767 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall4.kt index 5ff2f7f21ba6..eb9af9f336d5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall4.kt.after index 9607a2a97e57..bc57af46b767 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall5.kt index 9311fa10a23e..2aedf0f74a10 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall5.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall5.kt.after index 9607a2a97e57..bc57af46b767 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall5.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall5.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall6.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall6.kt index 697d99d1585b..04542efab4ad 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall6.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall6.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall6.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall6.kt.after index ee0eafe0af08..c2b9df0dfb9c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall6.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall6.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall7.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall7.kt index e289957ee5f1..0e10f3162531 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall7.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCall7.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCallInExtension.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCallInExtension.kt index dc1040a873c5..13b56308c740 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCallInExtension.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCallInExtension.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCallInExtension.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCallInExtension.kt.after index 1816001fbaf1..c650a1f2ebb4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCallInExtension.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCallInExtension.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCallOnSafeCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCallOnSafeCall.kt index 467aa7baf448..7f0625f0edf7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCallOnSafeCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionCallOnSafeCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionInVariableCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionInVariableCall.kt index 1340729dbca5..564b7d065416 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionInVariableCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionInVariableCall.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class Foo(val bar: () -> Int) fun bar(foo: Foo?) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionInVariableInvokeCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionInVariableInvokeCall.kt index 97c9f7f895eb..c84067e318f6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionInVariableInvokeCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/functionInVariableInvokeCall.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class Foo(val bar: () -> Int) fun bar(foo: Foo?) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/in.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/in.kt index dcdf95158980..ce32bbf97551 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/in.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/in.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/in.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/in.kt.after index a8b3df875d35..892c17cc1462 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/in.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/in.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/inWithMultipleParam.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/inWithMultipleParam.kt index 9e257d0885f5..4bdf96529690 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/inWithMultipleParam.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/inWithMultipleParam.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/inWithRange.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/inWithRange.kt index 8f717491e03e..a9cee4b3cdb7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/inWithRange.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/inWithRange.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/inWithRange.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/inWithRange.kt.after index c582e2644a06..487d513c0076 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/inWithRange.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/inWithRange.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/inWithRangeMultipleParam.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/inWithRangeMultipleParam.kt index 6b7ed9d85c34..aff042ccf301 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/inWithRangeMultipleParam.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/inWithRangeMultipleParam.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall.kt index c9d93942f602..5e69d7bb7f51 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A { operator fun invoke() {} } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall.kt.after index f8e70f0c2e72..b48df2d3d801 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A { operator fun invoke() {} } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall2.kt index 3d77aeb7ebac..eb490134b450 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A { operator fun invoke() {} } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall2.kt.after index f8e70f0c2e72..b48df2d3d801 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A { operator fun invoke() {} } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall3.kt index 1875370c1e0f..ed2caa106f05 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall3.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class A { operator fun invoke() {} } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall4.kt index c65abc1d33de..984b5207cd4d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall4.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class A { operator fun invoke(a: A, i: Int) {} } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall5.kt index c1f848c977fc..62b87f1c3da3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/invokeCall5.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class A { operator fun invoke() {} } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/lambdaWithBinaryExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/lambdaWithBinaryExpression.kt index c969dbfab905..e3c08b65a482 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/lambdaWithBinaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/lambdaWithBinaryExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun baz(foo: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/lambdaWithBinaryExpression2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/lambdaWithBinaryExpression2.kt index 884a6f3c82b5..277fe1ab0ed3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/lambdaWithBinaryExpression2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/lambdaWithBinaryExpression2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun baz(foo: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/let.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/let.kt index 0343b1f75463..3344671ed354 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/let.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/let.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letMultipleLines.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letMultipleLines.kt index 5032dc961a93..cbbc6ce85fb3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letMultipleLines.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letMultipleLines.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letNoSafeCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letNoSafeCall.kt index 4ecbae17342f..3f6fb9a36355 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letNoSafeCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letNoSafeCall.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letNotUseParameterReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letNotUseParameterReceiver.kt index e12a770cc939..007aeb03851f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letNotUseParameterReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letNotUseParameterReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letNotUseReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letNotUseReceiver.kt index f4fcf8a99192..c5651d0528f5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letNotUseReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letNotUseReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseIt.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseIt.kt index a2423ec4d4a8..2a2ea6dad1bb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseIt.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseIt.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItAsParamWithBinaryExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItAsParamWithBinaryExpression.kt index b8bf79bb2379..3f9fac072878 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItAsParamWithBinaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItAsParamWithBinaryExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithBinaryExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithBinaryExpression.kt index f49ef207cae4..ec1bc4365043 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithBinaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithBinaryExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithBinaryExpression2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithBinaryExpression2.kt index 5fd8404ab80a..b12ec078a4cb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithBinaryExpression2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithBinaryExpression2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithMultipleMethodCall1.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithMultipleMethodCall1.kt index 05fddfe9c0dc..53f044985f06 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithMultipleMethodCall1.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithMultipleMethodCall1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithMultipleMethodCall2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithMultipleMethodCall2.kt index 12064396a0c3..edbb49a1f002 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithMultipleMethodCall2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithMultipleMethodCall2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithMultipleMethodCall3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithMultipleMethodCall3.kt index bd963a6660ea..3a21ac09d477 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithMultipleMethodCall3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseItWithMultipleMethodCall3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseParameter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseParameter.kt index cb69fc488415..db22bbacbdc6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseParameter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letUseParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithBinaryExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithBinaryExpression.kt index a0d6d2b0a0ab..0fe479066024 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithBinaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithBinaryExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithBinaryExpression.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithBinaryExpression.kt.after index c61927809576..eaeb96978f40 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithBinaryExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithBinaryExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithMethodCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithMethodCall.kt index 868e8456859f..7b311cf583e7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithMethodCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithMethodCall.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithMultipleMethodCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithMultipleMethodCall.kt index be64b1ed2e9f..76d2a31e81a2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithMultipleMethodCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithMultipleMethodCall.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithParameter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithParameter.kt index e57dd1a940de..1edeaa3f6802 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithParameter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithParameter.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithSimpleBinaryExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithSimpleBinaryExpression.kt index 231509520645..6da00f7103e6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithSimpleBinaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithSimpleBinaryExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithSimpleBinaryExpression.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithSimpleBinaryExpression.kt.after index 61fe574e5052..02431717eb0b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithSimpleBinaryExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithSimpleBinaryExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithThisBinaryExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithThisBinaryExpression.kt index 748d3902efc1..0cc6401506ce 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithThisBinaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithThisBinaryExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Int.foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithThisBinaryExpression.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithThisBinaryExpression.kt.after index 72bef7814237..9748341ab7d8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithThisBinaryExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithThisBinaryExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Int.foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithThisShortBinaryExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithThisShortBinaryExpression.kt index 2af45f703ec9..ee2e3bc84b35 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithThisShortBinaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithThisShortBinaryExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Int.foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithThisShortBinaryExpression.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithThisShortBinaryExpression.kt.after index 2a37592d960f..a491be479d80 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithThisShortBinaryExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/letWithThisShortBinaryExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Int.foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/longCallChain.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/longCallChain.kt index bc887f97fcf6..b64f05117b65 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/longCallChain.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/longCallChain.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: INFORMATION fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/longCallChain.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/longCallChain.kt.after index 59f1f31ffd07..f88bfc5853eb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/longCallChain.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/longCallChain.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: INFORMATION fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleLines.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleLines.kt index ac2120314c49..59e11a94cb52 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleLines.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleLines.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: INFORMATION fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleLines.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleLines.kt.after index f709f2698226..7d1d39d1f872 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleLines.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleLines.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: INFORMATION fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleReceiver.kt index afa1d6a16a60..9821d54db6d7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun baz(foo: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleReceiver2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleReceiver2.kt index ce7973f7ff5d..ea0b0b7ebe1f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleReceiver2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleReceiver2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun baz(foo: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleReceiver3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleReceiver3.kt index b7370b83e6a3..6edb9b5bf7d9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleReceiver3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleReceiver3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun baz(foo: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleUsages.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleUsages.kt index a624c9d591ff..8b5c2c13c200 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleUsages.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/multipleUsages.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { if (s.substring(1).let { it.startsWith("a") || it[1].isLowerCase() }) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/noReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/noReceiver.kt index 45846bb73557..01303ec1e1df 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/noReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/noReceiver.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun String.test(): Int { return let { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/plusNullable.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/plusNullable.kt index e194ff9b2904..9ddb914b9685 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/plusNullable.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/plusNullable.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun plusNullable(arg: String?) = arg?.let { it + "#" } ?: "" \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/receiverWithLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/receiverWithLambda.kt index 750f2aeb2bf3..e22b414c0532 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/receiverWithLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/receiverWithLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun baz(foo: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/receiverWithLambda2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/receiverWithLambda2.kt index d14367fde031..f076ab0cc346 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/receiverWithLambda2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/receiverWithLambda2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none // This should be reported. However, in order to avoid too complicate logic, the intention ignore this case. diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/sameLets.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/sameLets.kt index a5760ea50490..1d7e009be354 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/sameLets.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/sameLets.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/simple.kt index 92b7ee1b8bff..790cc38984b2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/simple.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String?): Int? { return s?.let { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/smartCastInBody.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/smartCastInBody.kt index 9262320b54f2..f3d674cd5a25 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/smartCastInBody.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/smartCastInBody.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB interface A diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/this.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/this.kt index 3369224a7196..5171f0dda231 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/this.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/this.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun Int.foo(): Int { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/thisShort.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/thisShort.kt index 5ef09818ca4a..1566b33a887e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/thisShort.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/thisShort.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun Int.foo(): Int { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/typeChecks.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/typeChecks.kt index 064f36d2ec33..f4ff169ac5e6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/typeChecks.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/typeChecks.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB interface Base diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/withInnerFunction.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/withInnerFunction.kt index 845ed8ccce6c..84e7aa7ec9ec 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/withInnerFunction.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/withInnerFunction.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val a = randomValue().let { r -> diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/withInnerLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/withInnerLambda.kt index 899ffb7cb03f..2560f570a9d9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/withInnerLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/complexRedundantLet/withInnerLambda.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val a = randomValue().let { r -> List(10) { r } } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIf.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIf.kt index 26c56b775bb3..9c4d5ef7df0a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIf.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(x: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIf.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIf.kt.after index b35d2202941e..0ec21f2e5703 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIf.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(x: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIf2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIf2.kt index d7b78a135f63..0ce8a04c7a0a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIf2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIf2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { foo(true); diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIf2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIf2.kt.after index 5951b93544e9..210b17abfe6a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIf2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIf2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { foo(true); diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIfNoBraces.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIfNoBraces.kt index ac38e3098778..77f193527ea4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIfNoBraces.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIfNoBraces.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(x: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIfNoBraces.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIfNoBraces.kt.after index 74fb361c40b7..38309b80d563 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIfNoBraces.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/endWithElseIfNoBraces.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(x: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expression.kt index 4c355519f651..dba9267f2c56 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(x: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expression.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expression.kt.after index c0e4ab06db71..6f9e524c1d0f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expression.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(x: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expressionElseIfBlock.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expressionElseIfBlock.kt index 40bf5b39c4ff..2395016a7ef9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expressionElseIfBlock.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expressionElseIfBlock.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(x: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expressionElseIfBlock.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expressionElseIfBlock.kt.after index 313411c67e1a..75a7d6fa6460 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expressionElseIfBlock.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expressionElseIfBlock.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(x: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expressionElseIfBlock2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expressionElseIfBlock2.kt index d26e3c71ba36..71092728dcf3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expressionElseIfBlock2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expressionElseIfBlock2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(x: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expressionElseIfBlock2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expressionElseIfBlock2.kt.after index 6b923821b348..34e40cdc4258 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expressionElseIfBlock2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/constantConditionIf/expressionElseIfBlock2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(x: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/anonymousFunction.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/anonymousFunction.kt index d3e979e99210..e93e26441949 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/anonymousFunction.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/anonymousFunction.kt @@ -1,6 +1,6 @@ // PROBLEM: 'also' has empty body // FIX: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { 42.also(fun(it: Int) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/anonymousFunctionHasStatement.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/anonymousFunctionHasStatement.kt index 92b9c4a4fb21..fd43582eb674 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/anonymousFunctionHasStatement.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/anonymousFunctionHasStatement.kt @@ -1,6 +1,6 @@ // PROBLEM: none // FIX: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { 42.also(fun(it: Int) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/block.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/block.kt index 1baf0b4f44be..af1c1bf0dbb6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/block.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/block.kt @@ -1,6 +1,6 @@ // PROBLEM: 'also' has empty body // FIX: none -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { i.also { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/block2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/block2.kt index 7dcb45c7effe..06275fb87528 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/block2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/block2.kt @@ -1,6 +1,6 @@ // PROBLEM: 'also' has empty body // FIX: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { 42.also({ }) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/blockHasComment.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/blockHasComment.kt index d8712b94a6f2..b5daa4ecc52d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/blockHasComment.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/blockHasComment.kt @@ -1,6 +1,6 @@ // PROBLEM: 'also' has empty body // FIX: none -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { i.also { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/blockHasStatement.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/blockHasStatement.kt index 824c4da743a0..2f6d0c9902b6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/blockHasStatement.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/blockHasStatement.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { i.also { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/blockHasStatement2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/blockHasStatement2.kt index 514745b95436..4757319c705e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/blockHasStatement2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/blockHasStatement2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { 42.also({ println(it) }) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/functionReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/functionReference.kt index b9ef433c1976..abd50e7e4b49 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/functionReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/functionReference.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { 42.also(::println) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/implicitReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/implicitReceiver.kt index 4ab64471666a..cb392d5feed1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/implicitReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/controlFlowWithEmptyBody/also/implicitReceiver.kt @@ -1,6 +1,6 @@ // PROBLEM: 'also' has empty body // FIX: none -// WITH_RUNTIME +// WITH_STDLIB fun String.test() { also { } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/float.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/float.kt index b987ebee194f..345b9d0e984b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/float.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/float.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = 0.5f != Float.NaN } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/float.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/float.kt.after index 2b75acb6d32b..404d504d9a3c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/float.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/float.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = !0.5f.isNaN() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/importedProperty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/importedProperty.kt index d5f71a54de64..a5b9dea6135a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/importedProperty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/importedProperty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import kotlin.Double.Companion.NaN fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/importedProperty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/importedProperty.kt.after index 22add4edc873..fca86c133752 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/importedProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/importedProperty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import kotlin.Double.Companion.NaN fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/inequality.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/inequality.kt index 7f8bdd2b6683..e05bc30c1d95 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/inequality.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/inequality.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { val result = 5.0 + 3.0 != Double.NaN; } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/inequality.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/inequality.kt.after index 41484f626fc0..8fbfbf151548 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/inequality.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/inequality.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { val result = !(5.0 + 3.0).isNaN(); } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/negative.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/negative.kt index c88cfa4caaf9..94dd2a165550 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/negative.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/negative.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class A { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/simple.kt index e0016de5d68e..4642c8110d5d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val t = 5.0 == Double.NaN } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/simple.kt.after index 0754e6c60ad5..3a4a161e8027 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertNaNEquality/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val t = 5.0.isNaN() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertPairConstructorToToFunction/invalidArgs.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertPairConstructorToToFunction/invalidArgs.kt index 4860f271e409..c6daf6ca9e69 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertPairConstructorToToFunction/invalidArgs.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertPairConstructorToToFunction/invalidArgs.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS import kotlin.Pair fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertPairConstructorToToFunction/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertPairConstructorToToFunction/simple.kt index ce589caced6e..4381af991eea 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertPairConstructorToToFunction/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertPairConstructorToToFunction/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import kotlin.Pair fun test() { val p = Pair(1, "foo") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertPairConstructorToToFunction/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertPairConstructorToToFunction/simple.kt.after index 62e3878d3528..8e50004b6bf7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertPairConstructorToToFunction/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertPairConstructorToToFunction/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import kotlin.Pair fun test() { val p = 1 to "foo" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/convertSubClassWithSecondaryConstructor.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/convertSubClassWithSecondaryConstructor.kt index ea8a765fbca1..903e439a3c0c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/convertSubClassWithSecondaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/convertSubClassWithSecondaryConstructor.kt @@ -1,5 +1,5 @@ // FIX: Convert sealed sub-class to object -// WITH_RUNTIME +// WITH_STDLIB sealed class Sealed diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/convertSubClassWithSecondaryConstructor.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/convertSubClassWithSecondaryConstructor.kt.after index 2ff1425460f5..7035fb9411f2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/convertSubClassWithSecondaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/convertSubClassWithSecondaryConstructor.kt.after @@ -1,5 +1,5 @@ // FIX: Convert sealed sub-class to object -// WITH_RUNTIME +// WITH_STDLIB sealed class Sealed diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/fakeState.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/fakeState.kt index f50d78a842a5..d4310a5e77d7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/fakeState.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/fakeState.kt @@ -1,5 +1,5 @@ // FIX: Convert sealed sub-class to object -// WITH_RUNTIME +// WITH_STDLIB abstract class Base { var s: String diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/fakeState.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/fakeState.kt.after index 49782de405ab..b7f90a3cefef 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/fakeState.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/fakeState.kt.after @@ -1,5 +1,5 @@ // FIX: Convert sealed sub-class to object -// WITH_RUNTIME +// WITH_STDLIB abstract class Base { var s: String diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/ownState.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/ownState.kt index 2ba5f9e35550..b469d7ec1aa3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/ownState.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/ownState.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB sealed class SC { class U : SC() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/compareToComparableSameType.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/compareToComparableSameType.kt index 3d79e016445b..ccb2e79cb737 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/compareToComparableSameType.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/compareToComparableSameType.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A(val _value: Int): Comparable { override operator fun compareTo(other: A) = _value.compareTo(other._value) } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/compareToComparableSameType.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/compareToComparableSameType.kt.after index dc098fea158a..def5cb7e4203 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/compareToComparableSameType.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/compareToComparableSameType.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A(val _value: Int): Comparable { override operator fun compareTo(other: A) = _value.compareTo(other._value) } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/compareToDifferentTypes.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/compareToDifferentTypes.kt index e76ba16d4eb6..882c6c9d6f0f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/compareToDifferentTypes.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/compareToDifferentTypes.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class A(val _value: Int) { operator fun compareTo(other: Int) = _value.compareTo(other) } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/compareToSameType.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/compareToSameType.kt index 23634e66727f..686ef4040d0a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/compareToSameType.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/compareToSameType.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class A(val _value: Int) { operator fun compareTo(other: A) = _value.compareTo(other._value) } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/double.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/double.kt index c6bc03b42e57..678b5912f659 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/double.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/double.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo(bar: Int) { bar >= 0.0 && 10.0 >= bar diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/doubleToInt1.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/doubleToInt1.kt index 2f76dcffaa53..bb3c596876cf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/doubleToInt1.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/doubleToInt1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Double) { 0 <= bar && bar <= 10.0 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/doubleToInt1.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/doubleToInt1.kt.after index 9f8b05c6b0e7..f82feee5dd08 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/doubleToInt1.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/doubleToInt1.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Double) { bar in 0.0..10.0 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/doubleToInt2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/doubleToInt2.kt index 53467c541a36..5f6d03c50478 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/doubleToInt2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/doubleToInt2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Double) { 0 <= bar && bar <= 10 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/doubleToInt2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/doubleToInt2.kt.after index 9f8b05c6b0e7..f82feee5dd08 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/doubleToInt2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/doubleToInt2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Double) { bar in 0.0..10.0 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/gtDouble.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/gtDouble.kt index 7746d0675f7b..6bdf5516ba4d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/gtDouble.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/gtDouble.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Int) { bar > 0.0 && 10.0 >= bar } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/gtDouble2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/gtDouble2.kt index ad774e901b16..7fe11076bbdd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/gtDouble2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/gtDouble2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Double) { bar > 0 && 10 >= bar } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/nonConstants.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/nonConstants.kt index add4aefe48eb..d5440a19b418 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/nonConstants.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/nonConstants.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Int, min: Int, max: Int) { min < bar && bar < max } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/nonConstants.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/nonConstants.kt.after index 4c4ef479f709..3cfbdf33d8a4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/nonConstants.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/nonConstants.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Int, min: Int, max: Int) { bar in (min + 1) until max } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/recursiveCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/recursiveCall.kt index 10dd9ab8874f..116f398137ae 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/recursiveCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/recursiveCall.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class TimeIndex(val intValue: Int) : Comparable { override fun compareTo(other: TimeIndex): Int { TODO() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/until.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/until.kt index 5ac16bf45b0b..629d09833330 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/until.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/until.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val N = 42 fun test(a: Int) = a >= 0 && a < N \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/until.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/until.kt.after index 4fade4fac059..d623077493bf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/until.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/until.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val N = 42 fun test(a: Int) = a in 0 until N \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/abstract.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/abstract.kt index 9834fd4031c9..6f2140765d58 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/abstract.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/abstract.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Unwrap 'Deferred' return type (breaks use-sites!) package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/abstract.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/abstract.kt.after index 98585eb087a2..e36e7cc7fcd1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/abstract.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/abstract.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Unwrap 'Deferred' return type (breaks use-sites!) package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/complex.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/complex.kt index 22c017003195..8949e03506f3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/complex.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/complex.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Add '.await()' to function result (breaks use-sites!) package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/complex.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/complex.kt.after index efcc3ae0efb3..703cc1856b48 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/complex.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/complex.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Add '.await()' to function result (breaks use-sites!) package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/lambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/lambda.kt index aa8f6ef6024e..84a41772b889 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/lambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/lambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/rename.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/rename.kt index f74be2956c29..cb39831174dd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/rename.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/rename.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Rename to 'myFunctionAsync' package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/rename.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/rename.kt.after index 074e1a1140dd..80624cd2c493 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/rename.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/rename.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Rename to 'myFunctionAsync' package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/simple.kt index d1d2fd6683e0..c2c4371c4709 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Add '.await()' to function result (breaks use-sites!) package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/simple.kt.after index ba284b28de52..3fa783b6a421 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/deferredIsResult/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Add '.await()' to function result (breaks use-sites!) package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/directUseOfResultType/complexBlock.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/directUseOfResultType/complexBlock.kt index 86dae3ce116b..84fa3963b250 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/directUseOfResultType/complexBlock.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/directUseOfResultType/complexBlock.kt @@ -1,5 +1,5 @@ // FIX: Add '.getOrThrow()' to function result (breaks use-sites!) -// WITH_RUNTIME +// WITH_STDLIB package kotlin diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/directUseOfResultType/complexBlock.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/directUseOfResultType/complexBlock.kt.after index 9ea1736d824b..2911e17694bd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/directUseOfResultType/complexBlock.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/directUseOfResultType/complexBlock.kt.after @@ -1,5 +1,5 @@ // FIX: Add '.getOrThrow()' to function result (breaks use-sites!) -// WITH_RUNTIME +// WITH_STDLIB package kotlin diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/experimental.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/experimental.kt index 3a2631859c4a..5a609fbf8a3e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/experimental.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/experimental.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package kotlinx.coroutines.experimental diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/experimental.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/experimental.kt.after index 9c954a36e59a..bbaa60b7b93d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/experimental.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/experimental.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package kotlinx.coroutines.experimental diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScope.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScope.kt index 1db3ec2b90f6..626adbba1d27 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScope.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScope.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScope.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScope.kt.after index 5cbd52db4f84..e635efb3a914 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScope.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScope.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScopeNamed.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScopeNamed.kt index fa5d7cf87deb..41672b8e90bd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScopeNamed.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScopeNamed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScopeNamed.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScopeNamed.kt.after index 01f7893eab8b..bbf124e993d8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScopeNamed.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScopeNamed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScopeNoContext.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScopeNoContext.kt index 2bef8843d17c..820c89e3bd28 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScopeNoContext.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScopeNoContext.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScopeNoContext.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScopeNoContext.kt.after index d4f901068ce9..e3fcf49a5ec4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScopeNoContext.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/explicitScopeNoContext.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScope.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScope.kt index 0e3cc0e3d6e1..c7195d06a8d8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScope.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScope.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScope.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScope.kt.after index 273a7dac96e0..b761e21d1dfe 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScope.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScope.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScopeNoContext.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScopeNoContext.kt index 284e9d8c578d..4a8eb949bb27 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScopeNoContext.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScopeNoContext.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScopeNoContext.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScopeNoContext.kt.after index c1fa61e4d99e..45f00a423aac 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScopeNoContext.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScopeNoContext.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScopeNoContextNoPackage.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScopeNoContextNoPackage.kt index 9a4da53363f6..1749590bd04a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScopeNoContextNoPackage.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScopeNoContextNoPackage.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import kotlinx.coroutines.GlobalScope import kotlinx.coroutines.async diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScopeNoContextNoPackage.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScopeNoContextNoPackage.kt.after index 4bc5feacf83c..779f0883ff07 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScopeNoContextNoPackage.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/globalScopeNoContextNoPackage.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/simple.kt index bf8fe8d7c1be..7314005108d1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Merge call chain to 'withContext' package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/simple.kt.after index f45fd7701061..35740c036aa0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Merge call chain to 'withContext' package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/simplest.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/simplest.kt index 93d37878616e..911a383d9511 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/simplest.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/simplest.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Merge call chain to 'withContext' package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/simplest.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/simplest.kt.after index 8e7dfd341fb6..25fe3342a397 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/simplest.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/simplest.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Merge call chain to 'withContext' package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/withStartAndContext.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/withStartAndContext.kt index 859abfbc05c0..f1a7887f9e06 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/withStartAndContext.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/withStartAndContext.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/withStartNoContext.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/withStartNoContext.kt index 3aa82896939f..de54a199736e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/withStartNoContext.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/withStartNoContext.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB package kotlinx.coroutines diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantRunCatching/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantRunCatching/simple.kt index b4cc4aa6481c..9974dc0f62b2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantRunCatching/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantRunCatching/simple.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() = runCatching { 42 }.getOrThrow() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantRunCatching/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantRunCatching/simple.kt.after index 2fdd31c6c6d8..c7be370a8b04 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantRunCatching/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/coroutines/redundantRunCatching/simple.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() = run { 42 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/NoDefaultImport.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/NoDefaultImport.kt index a3ee732ab887..9ee3216f5d66 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/NoDefaultImport.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/NoDefaultImport.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("") fun foo(s: String): String { return s.substring(1) + Int.MAX_VALUE diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/NoDefaultImport.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/NoDefaultImport.kt.after index 272d3fbc691a..5af7879bd8a1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/NoDefaultImport.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/NoDefaultImport.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("s.substring(1) + Int.MAX_VALUE")) fun foo(s: String): String { return s.substring(1) + Int.MAX_VALUE diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/destructuringWithLambdaInScript.kts b/plugins/kotlin/idea/tests/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/destructuringWithLambdaInScript.kts index 5ad8c13c6bbd..a99f605f4015 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/destructuringWithLambdaInScript.kts +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/destructuringWithLambdaInScript.kts @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // SKIP_ERRORS_BEFORE // SKIP_ERRORS_AFTER diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/justLambdaInScript.kts b/plugins/kotlin/idea/tests/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/justLambdaInScript.kts index 77f0cea166df..ad0b3f2cc1f7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/justLambdaInScript.kts +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/justLambdaInScript.kts @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // SKIP_ERRORS_BEFORE // SKIP_ERRORS_AFTER diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/char.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/char.kt index 2a9f1cb6e16d..37d1bbdfa828 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/char.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/char.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val range = 'b'..'a' \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/char.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/char.kt.after index cd10837c66f7..455abba3e21e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/char.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/char.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val range = 'b' downTo 'a' \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/downTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/downTo.kt index 497df875477e..526d518bc6ce 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/downTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/downTo.kt @@ -1,5 +1,5 @@ // PROBLEM: This range is empty. Did you mean to use 'rangeTo'? -// WITH_RUNTIME +// WITH_STDLIB fun test() { 0 downTo 10 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/downTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/downTo.kt.after index 59b1ef7a152d..611785c269e5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/downTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/downTo.kt.after @@ -1,5 +1,5 @@ // PROBLEM: This range is empty. Did you mean to use 'rangeTo'? -// WITH_RUNTIME +// WITH_STDLIB fun test() { 0..10 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/downTo2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/downTo2.kt index 2b60ff8dd219..7d5684a33ec7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/downTo2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/downTo2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { 0 downTo 0 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/simple.kt index eb4d5959bfe5..4e0ea8a722cb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { for (i in 9..0) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/simple.kt.after index daaca4dbdb3c..8c7d7f2bd0b9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { for (i in 9 downTo 0) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedByte.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedByte.kt index 2713a5e53e1e..44ec68bead24 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedByte.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedByte.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val a: UByte = 1u val b: UByte = 0u val range = a..b \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedByte.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedByte.kt.after index 246e579dae46..1160e43a76fc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedByte.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedByte.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val a: UByte = 1u val b: UByte = 0u val range = a downTo b \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedInt.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedInt.kt index 67840bf5002c..94293a66c3a3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedInt.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedInt.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val range = 1u..0u \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedInt.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedInt.kt.after index a1cb94c0f609..b7fadc4efc91 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedInt.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val range = 1u downTo 0u \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedLong.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedLong.kt index e83e4c71a253..2d92603b4590 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedLong.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedLong.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val range = 1UL..0UL \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedLong.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedLong.kt.after index d43015fd19df..bbaed606b3e7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedLong.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedLong.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val range = 1UL downTo 0UL \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedShort.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedShort.kt index 908872dbd221..db7a25893f24 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedShort.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedShort.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val a: UShort = 1u val b: UShort = 0u val range = a..b \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedShort.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedShort.kt.after index 2a6873fd5f8c..3a4c8638af53 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedShort.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/unsignedShort.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val a: UShort = 1u val b: UShort = 0u val range = a downTo b \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/until.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/until.kt index d79676e6fe48..8e96b9758687 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/until.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/until.kt @@ -1,5 +1,5 @@ // PROBLEM: This range is empty. Did you mean to use 'downTo'? -// WITH_RUNTIME +// WITH_STDLIB fun test() { 0 until -1 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/until.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/until.kt.after index 30315ec3eb89..c72aeb6a0ec7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/until.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/until.kt.after @@ -1,5 +1,5 @@ // PROBLEM: This range is empty. Did you mean to use 'downTo'? -// WITH_RUNTIME +// WITH_STDLIB fun test() { 0 downTo -1 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/until2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/until2.kt index 9ce31812e3a6..2eb063e5da3d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/until2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/until2.kt @@ -1,5 +1,5 @@ // PROBLEM: This range is empty. Did you mean to use 'rangeTo'? -// WITH_RUNTIME +// WITH_STDLIB fun test() { 0 until 0 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/until2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/until2.kt.after index 590af552cfb9..5cbc83b677b4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/until2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/emptyRange/until2.kt.after @@ -1,5 +1,5 @@ // PROBLEM: This range is empty. Did you mean to use 'rangeTo'? -// WITH_RUNTIME +// WITH_STDLIB fun test() { 0..0 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstance.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstance.kt index 554978703dd9..20f71f6ad43e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstance.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstance.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension.kt index aa82cedc2093..5725ca0ed8f3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension2.kt index f06087548bac..b94dacb0b6b4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none open class Foo diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension3.kt index b4f9d068ee33..2f9777a302f5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none open class Foo diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension4.kt index b3055caf7ef6..2b9456b6c641 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB open class Foo diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension4.kt.after index 0c980ff5c82b..fcf29c03f8c4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverInstanceExtension4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB open class Foo diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverType.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverType.kt index 04fb3f2db3d6..664886c3cbce 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverType.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverType.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverTypeExtension.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverTypeExtension.kt index 87f5d92ab46f..4512df5bc40c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverTypeExtension.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/differentReceiverTypeExtension.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/multipleReceivers.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/multipleReceivers.kt index 0f99eb1562b4..8b4ea27e6bee 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/multipleReceivers.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/multipleReceivers.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo { val s = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/multipleReceivers.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/multipleReceivers.kt.after index 0e7deecdf93b..c6d8d494ca68 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/multipleReceivers.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/multipleReceivers.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo { val s = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/multipleReceiversExtension.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/multipleReceiversExtension.kt index 07f79def7122..2b85ce2a9316 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/multipleReceiversExtension.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/multipleReceiversExtension.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo { fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/multipleReceiversExtension.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/multipleReceiversExtension.kt.after index 741e7c63e9d3..66d15cbb2d57 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/multipleReceiversExtension.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/multipleReceiversExtension.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo { fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/nestedReceivers.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/nestedReceivers.kt index b0e6fe00aa17..d419e2571efc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/nestedReceivers.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/nestedReceivers.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/nestedReceiversDifferentParameters.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/nestedReceiversDifferentParameters.kt index 185188a5a982..2677f1f01a0a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/nestedReceiversDifferentParameters.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/nestedReceiversDifferentParameters.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/nestedReceiversExtension.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/nestedReceiversExtension.kt index 3bbcce71d67c..b267d51a8f60 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/nestedReceiversExtension.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/nestedReceiversExtension.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/nestedReceiversExtensionDifferentParameters.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/nestedReceiversExtensionDifferentParameters.kt index 742a264b1856..2b15985d4bae 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/nestedReceiversExtensionDifferentParameters.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/nestedReceiversExtensionDifferentParameters.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty.kt index e5d90adb048e..c6bd6484f18e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test1() { Foo().apply { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty.kt.after index 57eb9509b83d..896cd52253a5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test1() { Foo().apply { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_nestedReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_nestedReceiver.kt index e8a5907db4d4..46ffe3703ebf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_nestedReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_nestedReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_sameClassNestedReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_sameClassNestedReceiver.kt index 4ebf32eab9ba..4e3fdbae5a61 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_sameClassNestedReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_sameClassNestedReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_sameNameJavaProperty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_sameNameJavaProperty.kt index 0781fd8c1872..addf60710a13 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_sameNameJavaProperty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_sameNameJavaProperty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { Foo().apply { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_sameNameJavaProperty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_sameNameJavaProperty.kt.after index 4c6c231f53be..9d8d8a01e80f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_sameNameJavaProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_sameNameJavaProperty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { Foo().apply { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_sameNameVariable.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_sameNameVariable.kt index 2926a6f04e8c..a1cf77741e6f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_sameNameVariable.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/syntheticJavaProperty_sameNameVariable.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/variableWithSameName.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/variableWithSameName.kt index 9a6b003efbc9..97ddc75c5437 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/variableWithSameName.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/explicitThis/variableWithSameName.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doublePi11.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doublePi11.kt index aaeb4c2b5ed4..ef5f5df42d08 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doublePi11.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doublePi11.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none val pi = 3.14159265359 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding1.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding1.kt index 41ced771b89c..9eb5687b84db 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding1.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none val x = 0.1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding2.kt index 47dda2d02878..e79275ea473a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none val x: Double = 0.100 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding3.kt index 0e57cc4df9bb..e5493eaf4e2e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding3.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = 9_999_999_999.000001 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding3.kt.after index e2caa4b0aee5..9608a473e278 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding3.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = 9.999999999000002E9 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding4.kt index e82a09cf7011..b0329d29b128 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none val x = 9_999_999_999.000002 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding5.kt index 1865e58b92ed..980fb625bda9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none val x = 1.000000000000001 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding6.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding6.kt index cb522ede71cc..12ef540f436a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding6.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding6.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = 1.0000000000000001 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding6.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding6.kt.after index 4a4c0821bda6..3758753b7970 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding6.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding6.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = 1.0 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding7.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding7.kt index da701debbf1d..1fb17ba10cb3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding7.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding7.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none val x = 1.0000000000000002 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding8.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding8.kt index 4fcb8a11bc5a..1813cf0580db 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding8.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding8.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(x: Double): Double = x * 2.0 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding8.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding8.kt.after index f53f13f47c1b..6318a3240259 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding8.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding8.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(x: Double): Double = x * 2.0 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding9.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding9.kt index 6d9b171cd94b..a2d53e4d3a67 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding9.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding9.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = 9999999999999999.1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding9.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding9.kt.after index 66930a62f8f1..479cfe76047c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding9.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding9.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = 1.0E16 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatKeepSuffixCase1.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatKeepSuffixCase1.kt index 76c43fcffa77..eaf72569f816 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatKeepSuffixCase1.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatKeepSuffixCase1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): Float { return 0.123456789f diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatKeepSuffixCase1.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatKeepSuffixCase1.kt.after index ed0702064c72..2d4698b7786c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatKeepSuffixCase1.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatKeepSuffixCase1.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): Float { return 0.12345679f diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatKeepSuffixCase2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatKeepSuffixCase2.kt index 4a6711a87df9..0ab61e433bee 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatKeepSuffixCase2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatKeepSuffixCase2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): Float { return 0.123456789F diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatKeepSuffixCase2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatKeepSuffixCase2.kt.after index 03e08769d91f..f20c378d5f4b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatKeepSuffixCase2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatKeepSuffixCase2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): Float { return 0.12345679F diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatLargeInteger.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatLargeInteger.kt index 301c3e7a0ed4..1363d881db3f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatLargeInteger.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatLargeInteger.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = 9_999_999_999f diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatLargeInteger.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatLargeInteger.kt.after index 4e6ef3ae8760..9fb7313a10b1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatLargeInteger.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatLargeInteger.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = 1.0E10f diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatPi6Digits.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatPi6Digits.kt index 5844f5fcb2e6..5934825e432f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatPi6Digits.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatPi6Digits.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none val pi = 3.141593f; diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatPi7Digits.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatPi7Digits.kt index f860c337a78e..5968884d87d0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatPi7Digits.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatPi7Digits.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val pi = 3.1415926f; diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatPi7Digits.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatPi7Digits.kt.after index 90676310cad0..482484fec364 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatPi7Digits.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatPi7Digits.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val pi = 3.1415925f; diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding1.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding1.kt index 67db1afeb038..b2ed75318d59 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding1.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding1.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x: Float = 1.00000000000000001f diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding1.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding1.kt.after index 94b1e5e7cc0d..d7255ec0e9a6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding1.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding1.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x: Float = 1.0f diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding2.kt index 7e1b398347be..623dd4363e3b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding2.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = 1.00000000000000002f diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding2.kt.after index a34fd5b63816..192fc7cb5ed9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding2.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = 1.0f diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding3.kt index 74e57a394da6..b6a5aeb220b4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding3.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = 1.9999999999999999999999999999999f diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding3.kt.after index 96c9e9da9d72..1b4bedb59ef9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding3.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = 2.0f diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding4.kt index 48099d0a7100..c73371bc4aee 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding4.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = 9_999_999_999.000001f diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding4.kt.after index ee6570b44424..923b2cba0f56 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding4.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = 1.0E10f diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding5.kt index c2a8db6747d4..c7180e8d2939 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding5.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = 9_999_999_999.000002f diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding5.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding5.kt.after index ee6570b44424..923b2cba0f56 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding5.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding5.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = 1.0E10f diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding6.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding6.kt index 09b227b119f5..83b6ccecbff6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding6.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/floatRounding6.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none val x = 0.100000000000000000000f diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ExplicitValType.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ExplicitValType.kt index cc424166c292..3ed5bd38e081 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ExplicitValType.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ExplicitValType.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): String? = null fun bar() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ExplicitValType.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ExplicitValType.kt.after index 932a4f07996d..aca9e51e1916 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ExplicitValType.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ExplicitValType.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): String? = null fun bar() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ExplicitVarType.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ExplicitVarType.kt index ac148c868d34..fdde60084d0c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ExplicitVarType.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ExplicitVarType.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): String? = null diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ExplicitVarType.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ExplicitVarType.kt.after index 55bc6f64aeec..e9055b92a9c5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ExplicitVarType.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ExplicitVarType.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): String? = null diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ThrowInBlock.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ThrowInBlock.kt index 8b1a17d6be85..455102b6de17 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ThrowInBlock.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ThrowInBlock.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(p: List) { val v = p[0] diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ThrowInBlock.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ThrowInBlock.kt.after index 20a03b819341..03ef86e253f0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ThrowInBlock.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ThrowInBlock.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(p: List) { val v = p[0] ?: throw RuntimeException() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ifStatementPriority.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ifStatementPriority.kt index cceb84ed01c0..b10a068d043a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ifStatementPriority.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ifStatementPriority.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(a: String?, b: String): String { val x = if (true) a else b if (x == null) throw Exception() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ifStatementPriority.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ifStatementPriority.kt.after index 57603eb9f9a6..dda47c330bbe 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ifStatementPriority.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/foldInitializerAndIfToElvis/ifStatementPriority.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(a: String?, b: String): String { val x = (if (true) a else b) ?: throw Exception() return x diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/invoke.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/invoke.kt index d5e9f3613c0a..591a5dd9f7de 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/invoke.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/invoke.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class My { operator fun invoke() {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/normal.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/normal.kt index dd9a1e5eac02..3864f8694d18 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/normal.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/normal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Introduce anonymous parameter fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/normal.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/normal.kt.after index a390c37c24ab..d029600e7f08 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/normal.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/normal.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Introduce anonymous parameter fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/repeat.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/repeat.kt index 1832b399bd10..5c11ea95c2f8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/repeat.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/repeat.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace with 'repeat()' fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/repeat.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/repeat.kt.after index c62be2b16064..22820a0e23bc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/repeat.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/repeat.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace with 'repeat()' fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/safe.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/safe.kt index 11acec11cc2e..e67f08874cec 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/safe.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/safe.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List?) { list?.forEach {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/safe.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/safe.kt.after index 633869bb6392..fdaf4cfef9f7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/safe.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/safe.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List?) { list?.forEach { _ -> } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/sequence.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/sequence.kt index d8fe7ab2cc6d..3584229a7e25 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/sequence.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/sequence.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace with 'repeat()' fun test(sequence: Sequence) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/sequence.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/sequence.kt.after index 1f2a89f7992b..0ad18e2c4bee 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/sequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/sequence.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace with 'repeat()' fun test(sequence: Sequence) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/string.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/string.kt index 08c22e277205..9b43b39166a0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/string.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/string.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace with 'repeat()' fun test(s: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/string.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/string.kt.after index 6245b50a4803..264c75161b4e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/string.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/forEachParameterNotUsed/string.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace with 'repeat()' fun test(s: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/removeBraces/functionReturnsNothing.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/removeBraces/functionReturnsNothing.kt index 20c34be24463..dbd842281e6c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/removeBraces/functionReturnsNothing.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/removeBraces/functionReturnsNothing.kt @@ -1,3 +1,3 @@ // FIX: Remove braces -// WITH_RUNTIME +// WITH_STDLIB fun test() = { error("") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/removeBraces/functionReturnsNothing.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/removeBraces/functionReturnsNothing.kt.after index 53a9163d6387..29f7c9a30551 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/removeBraces/functionReturnsNothing.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/removeBraces/functionReturnsNothing.kt.after @@ -1,3 +1,3 @@ // FIX: Remove braces -// WITH_RUNTIME +// WITH_STDLIB fun test(): Nothing = error("") \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/removeBraces/getterReturnsNothing.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/removeBraces/getterReturnsNothing.kt index 5f549836006c..28b6792ab006 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/removeBraces/getterReturnsNothing.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/removeBraces/getterReturnsNothing.kt @@ -1,3 +1,3 @@ // FIX: Remove braces -// WITH_RUNTIME +// WITH_STDLIB val test get() = { error("") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/removeBraces/getterReturnsNothing.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/removeBraces/getterReturnsNothing.kt.after index f2ff2be13584..6c5651a4ebac 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/removeBraces/getterReturnsNothing.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/removeBraces/getterReturnsNothing.kt.after @@ -1,3 +1,3 @@ // FIX: Remove braces -// WITH_RUNTIME +// WITH_STDLIB val test: Nothing get() = error("") \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/body.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/body.kt index 4683158b8f5a..a6ca502705b6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/body.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/body.kt @@ -1,5 +1,5 @@ // FIX: Convert to run { ... } -// WITH_RUNTIME +// WITH_STDLIB fun test(a: Int, b: Int) = { println(a) a + b diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/body.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/body.kt.after index 416ce4c55284..b24ae00ab1f9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/body.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/body.kt.after @@ -1,5 +1,5 @@ // FIX: Convert to run { ... } -// WITH_RUNTIME +// WITH_STDLIB fun test(a: Int, b: Int) = run { println(a) a + b diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/function.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/function.kt index ce328ebc6fa9..bf39f8d1d6fa 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/function.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/function.kt @@ -1,3 +1,3 @@ // FIX: Convert to run { ... } -// WITH_RUNTIME +// WITH_STDLIB fun test(a: Int, b: Int) = { a + b } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/function.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/function.kt.after index 299086a5ab33..2b56c9a10295 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/function.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/function.kt.after @@ -1,3 +1,3 @@ // FIX: Convert to run { ... } -// WITH_RUNTIME +// WITH_STDLIB fun test(a: Int, b: Int) = run { a + b } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/functionReturnsNothing.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/functionReturnsNothing.kt index ad620badc9f5..51466b729517 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/functionReturnsNothing.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/functionReturnsNothing.kt @@ -1,3 +1,3 @@ // FIX: Convert to run { ... } -// WITH_RUNTIME +// WITH_STDLIB fun test() = { error("") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/functionReturnsNothing.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/functionReturnsNothing.kt.after index 69b5b6ed18fc..04e0d911afd3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/functionReturnsNothing.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/functionReturnsNothing.kt.after @@ -1,3 +1,3 @@ // FIX: Convert to run { ... } -// WITH_RUNTIME +// WITH_STDLIB fun test(): Nothing = run { error("") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/getter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/getter.kt index a246f39cb263..9d0cc8097f12 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/getter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/getter.kt @@ -1,3 +1,3 @@ // FIX: Convert to run { ... } -// WITH_RUNTIME +// WITH_STDLIB val test get() = { "" } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/getter.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/getter.kt.after index 39cf5c4f2e75..2dc3452c6a26 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/getter.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/getter.kt.after @@ -1,3 +1,3 @@ // FIX: Convert to run { ... } -// WITH_RUNTIME +// WITH_STDLIB val test get() = run { "" } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/getterReturnsNothing.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/getterReturnsNothing.kt index 793613dba238..0d85b9e39690 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/getterReturnsNothing.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/getterReturnsNothing.kt @@ -1,3 +1,3 @@ // FIX: Convert to run { ... } -// WITH_RUNTIME +// WITH_STDLIB val test get() = { error("") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/getterReturnsNothing.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/getterReturnsNothing.kt.after index 4af22d6bded9..56c17d7140f0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/getterReturnsNothing.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/getterReturnsNothing.kt.after @@ -1,3 +1,3 @@ // FIX: Convert to run { ... } -// WITH_RUNTIME +// WITH_STDLIB val test: Nothing get() = run { error("") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/kt32580.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/kt32580.kt index 0dd4f958ba2e..62fb383393e6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/kt32580.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/kt32580.kt @@ -1,5 +1,5 @@ // FIX: Convert to run { ... } -// WITH_RUNTIME +// WITH_STDLIB class C { fun f4() = { "single-expression function which returns lambda" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/kt32580.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/kt32580.kt.after index dab57752ae7e..2c8bc048ad5b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/kt32580.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/kt32580.kt.after @@ -1,5 +1,5 @@ // FIX: Convert to run { ... } -// WITH_RUNTIME +// WITH_STDLIB class C { fun f4() = run { "single-expression function which returns lambda" } } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/implicitThis/multipleReceivers.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/implicitThis/multipleReceivers.kt index aa6fd04a962e..04b4fd99a0d0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/implicitThis/multipleReceivers.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/implicitThis/multipleReceivers.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo { fun Bar.s() = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/implicitThis/multipleReceivers.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/implicitThis/multipleReceivers.kt.after index 203cd7935db8..8b2c847bab0a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/implicitThis/multipleReceivers.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/implicitThis/multipleReceivers.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo { fun Bar.s() = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/implicitThis/nested.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/implicitThis/nested.kt index ed753b4f30e9..a74ad4b6ca02 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/implicitThis/nested.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/implicitThis/nested.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo { fun s() = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/implicitThis/nested.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/implicitThis/nested.kt.after index e70dfa01fca3..959b68d832b7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/implicitThis/nested.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/implicitThis/nested.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo { fun s() = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/incompleteDestructuringInspection/lambdaParameter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/incompleteDestructuringInspection/lambdaParameter.kt index fe8b8bba571c..09dfc1148e36 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/incompleteDestructuringInspection/lambdaParameter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/incompleteDestructuringInspection/lambdaParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class Person( val name: String, val hobbies: List, diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/incompleteDestructuringInspection/lambdaParameter.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/incompleteDestructuringInspection/lambdaParameter.kt.after index 9d9b3e138e34..f4fae979c636 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/incompleteDestructuringInspection/lambdaParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/incompleteDestructuringInspection/lambdaParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class Person( val name: String, val hobbies: List, diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/javaMapForEach/kotlin.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/javaMapForEach/kotlin.kt index f9e5b3c88340..3a697f7bf34f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/javaMapForEach/kotlin.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/javaMapForEach/kotlin.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map) { map.forEach { (key, value) -> foo(key, value) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/javaMapForEach/kotlin2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/javaMapForEach/kotlin2.kt index 7c0f59056871..6b7756499c7a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/javaMapForEach/kotlin2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/javaMapForEach/kotlin2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map) { map.forEach { foo(it) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/cascadeIf.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/cascadeIf.kt index 3ac4528e8d3d..98a901bb0954 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/cascadeIf.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/cascadeIf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Any) { var res: String if (x is String) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/cascadeIf.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/cascadeIf.kt.after index 618af93f6e46..657bb65b7124 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/cascadeIf.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/cascadeIf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Any) { var res: String res = if (x is String) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/nullableMutableList.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/nullableMutableList.kt index 566f8705588f..2fb401d5e85b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/nullableMutableList.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/nullableMutableList.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean, x: Int, y: Int?) { val list = mutableListOf() if (b) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/nullableMutableList.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/nullableMutableList.kt.after index 4e742dd1a00b..c0d57c2943fb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/nullableMutableList.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/nullableMutableList.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean, x: Int, y: Int?) { val list = mutableListOf() list += if (b) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/typeMismatchMutableList.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/typeMismatchMutableList.kt index 4575c424f6cc..9f3a6a12fb2c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/typeMismatchMutableList.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/typeMismatchMutableList.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { val list = mutableListOf() if (b) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/typeMismatchMutableList2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/typeMismatchMutableList2.kt index c1b0f8ae0618..e3bc20083379 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/typeMismatchMutableList2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/typeMismatchMutableList2.kt @@ -2,7 +2,7 @@ // PROBLEM: none // ERROR: Type mismatch: inferred type is List but MutableList was expected // ERROR: Val cannot be reassigned -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { val list = mutableListOf() if (b) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/typeMismatchMutableList2_ni.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/typeMismatchMutableList2_ni.kt index 000b48c21f48..f6eba0238385 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/typeMismatchMutableList2_ni.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToAssignment/typeMismatchMutableList2_ni.kt @@ -2,7 +2,7 @@ // PROBLEM: none // ERROR: Type mismatch: inferred type is List<{Comparable<*> & Number}> but MutableList was expected // ERROR: Val cannot be reassigned -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { val list = mutableListOf() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToReturn/cascadeIf.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToReturn/cascadeIf.kt index fe8dafc90568..d4629b44df12 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToReturn/cascadeIf.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToReturn/cascadeIf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Any): String { if (x is String) when { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToReturn/cascadeIf.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToReturn/cascadeIf.kt.after index 5d9748f0c6f9..f5a3d91a6226 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToReturn/cascadeIf.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/ifToReturn/cascadeIf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Any): String { return if (x is String) when { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/tryToAssignment/cascade.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/tryToAssignment/cascade.kt index 4f33dd597533..9d192f55fdc1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/tryToAssignment/cascade.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/tryToAssignment/cascade.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { var res: String? = null diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/tryToAssignment/cascade.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/tryToAssignment/cascade.kt.after index f68d5353080d..232b6b2fc837 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/tryToAssignment/cascade.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/tryToAssignment/cascade.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { var res: String? = null diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/tryToReturn/cascade.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/tryToReturn/cascade.kt index 3a3ad993910f..dbd01eda72e8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/tryToReturn/cascade.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/tryToReturn/cascade.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): String { try { try { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/tryToReturn/cascade.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/tryToReturn/cascade.kt.after index 0b6a1789058d..7425d3676fed 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/tryToReturn/cascade.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/tryToReturn/cascade.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): String { return try { try { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToAssignment/cascadeWhen.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToAssignment/cascadeWhen.kt index 6911b0b8f669..3814b3e644d0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToAssignment/cascadeWhen.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToAssignment/cascadeWhen.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Any) { var res: String when (x) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToAssignment/cascadeWhen.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToAssignment/cascadeWhen.kt.after index 9bbbf71ed3e8..b91e916024b3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToAssignment/cascadeWhen.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToAssignment/cascadeWhen.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Any) { var res: String res = when (x) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToAssignment/differentVariablesWithSame.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToAssignment/differentVariablesWithSame.kt index 32dcc87c92a0..2ae6f72c50fb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToAssignment/differentVariablesWithSame.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToAssignment/differentVariablesWithSame.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class A { val list: MutableList = mutableListOf() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToReturn/cascadeWhen.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToReturn/cascadeWhen.kt index 29c12aad2400..289c78c7b6d3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToReturn/cascadeWhen.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToReturn/cascadeWhen.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Any): String { when (x) { is String -> diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToReturn/cascadeWhen.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToReturn/cascadeWhen.kt.after index 423f61f0d3f2..ae4757cd52ce 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToReturn/cascadeWhen.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToReturn/cascadeWhen.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Any): String { return when (x) { is String -> diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToReturn/localReturns.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToReturn/localReturns.kt index db4d40ac381e..d89cf68910c7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToReturn/localReturns.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/liftOut/whenToReturn/localReturns.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(arg: String?): Int { arg?.let { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/canonicalName.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/canonicalName.kt index dce997768465..e5622c4d1cb8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/canonicalName.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/canonicalName.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.commons.logging class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/canonicalName.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/canonicalName.kt.after index 8d43ac171fb2..2d01f96483e9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/canonicalName.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/canonicalName.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.commons.logging class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getCanonicalName.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getCanonicalName.kt index 5c4025d77b34..1431bd4c2382 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getCanonicalName.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getCanonicalName.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.commons.logging class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getCanonicalName.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getCanonicalName.kt.after index e0e690fec0e9..ec14f5637fab 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getCanonicalName.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getCanonicalName.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.commons.logging class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getName.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getName.kt index a387163f7c05..4c8222b72be8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getName.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getName.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.commons.logging class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getName.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getName.kt.after index 54428f789637..f59b6f80fc12 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getName.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getName.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.commons.logging class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getSimpleName.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getSimpleName.kt index 47d03dbeadfe..c276ef362e43 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getSimpleName.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getSimpleName.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.commons.logging class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getSimpleName.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getSimpleName.kt.after index 0342a840aaaf..17a367d7d55e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getSimpleName.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/getSimpleName.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.commons.logging class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/kclassQualiiedName.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/kclassQualiiedName.kt index 94174db7ece3..8876bbe48de3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/kclassQualiiedName.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/kclassQualiiedName.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.commons.logging class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/kclassQualiiedName.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/kclassQualiiedName.kt.after index 2709c95edb57..cf3979ae08e4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/kclassQualiiedName.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/kclassQualiiedName.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.commons.logging class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/kclassSimpleName.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/kclassSimpleName.kt index d03958e90781..fde21427d55d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/kclassSimpleName.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/kclassSimpleName.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.commons.logging class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/kclassSimpleName.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/kclassSimpleName.kt.after index 786cb32733b3..505db5ee0056 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/kclassSimpleName.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/kclassSimpleName.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.commons.logging class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/name.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/name.kt index 731f1e4afd71..ce2767cc2ad1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/name.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/name.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.commons.logging class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/name.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/name.kt.after index a0ac4d281963..66add9d2f5e6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/name.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/name.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.commons.logging class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/nonForeignClass.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/nonForeignClass.kt index 2abd3fdd66db..317a1c45e4fa 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/nonForeignClass.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/nonForeignClass.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none package org.apache.commons.logging diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/simple.kt index 8c14b89ea287..38621bd0fce7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: Logger initialized with foreign class 'Bar::class' // FIX: Replace with 'Foo::class' package org.apache.commons.logging diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/simple.kt.after index 2e772e7152c6..b1bbbbb40b3d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: Logger initialized with foreign class 'Bar::class' // FIX: Replace with 'Foo::class' package org.apache.commons.logging diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/simpleName.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/simpleName.kt index 15d948d5f412..d509b1779048 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/simpleName.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/simpleName.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.commons.logging class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/simpleName.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/simpleName.kt.after index b297ab038b55..788d5431b687 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/simpleName.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/commons/simpleName.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.commons.logging class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/log4j/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/log4j/simple.kt index b9abf548416b..fddb78745337 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/log4j/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/log4j/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.log4j class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/log4j/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/log4j/simple.kt.after index 53f264f55165..3a990b6a5ea2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/log4j/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/log4j/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.log4j class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/log4j2/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/log4j2/simple.kt index b36f4c5b81cd..0cd1f01fb15e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/log4j2/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/log4j2/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.logging.log4j class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/log4j2/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/log4j2/simple.kt.after index aa243b6f0c62..42432f629ff8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/log4j2/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/log4j2/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.apache.logging.log4j class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/slf4j/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/slf4j/simple.kt index 3ad07c3cfea9..169df986775b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/slf4j/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/slf4j/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.slf4j class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/slf4j/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/slf4j/simple.kt.after index 1f4f88714a0e..ad5fd70adfaf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/slf4j/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/logging/loggerInitializedWithForeignClass/slf4j/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package org.slf4j class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/get.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/get.kt index 19b06741146c..03ed2cf16714 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/get.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/get.kt @@ -1,5 +1,5 @@ // FIX: Replace with 'getValue' call -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map) { val s = map.get(1)!! } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/get.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/get.kt.after index 6b558d2b0162..0c02a402351e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/get.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/get.kt.after @@ -1,5 +1,5 @@ // FIX: Replace with 'getValue' call -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map) { val s = map.getValue(1) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/getValue.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/getValue.kt index 0cc2bef1d54a..14d5c709c5ed 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/getValue.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/getValue.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map) { val s = map.getValue(1)!! } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/indexedAccess.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/indexedAccess.kt index 576c2e93190f..b535ed82d2f0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/indexedAccess.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/indexedAccess.kt @@ -1,5 +1,5 @@ // FIX: Replace with 'getValue' call -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map) { val s = map[1]!! } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/indexedAccess.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/indexedAccess.kt.after index 6b558d2b0162..0c02a402351e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/indexedAccess.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/indexedAccess.kt.after @@ -1,5 +1,5 @@ // FIX: Replace with 'getValue' call -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map) { val s = map.getValue(1) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/list.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/list.kt index 05a2119bd1c5..f37b9ee62fa2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/list.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/list.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val s = list.get(1)!! } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/noNotNullAssersion.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/noNotNullAssersion.kt index 3c6798343940..0f61a5485706 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/noNotNullAssersion.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/noNotNullAssersion.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map) { val s = map.get(1) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/replaceWithElvisError.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/replaceWithElvisError.kt index 4302535abcc9..dd1e0390c587 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/replaceWithElvisError.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/replaceWithElvisError.kt @@ -1,5 +1,5 @@ // FIX: Replace with '?: error("")' -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map) { val s = map[1]!! } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/replaceWithElvisError.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/replaceWithElvisError.kt.after index f1a93dabc109..f534edbd7a47 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/replaceWithElvisError.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/replaceWithElvisError.kt.after @@ -1,5 +1,5 @@ // FIX: Replace with '?: error("")' -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map) { val s = map[1] ?: error("") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/replaceWithGetOrElse.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/replaceWithGetOrElse.kt index dcc744fa7de3..3a7c2b5f185e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/replaceWithGetOrElse.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/replaceWithGetOrElse.kt @@ -1,6 +1,6 @@ // FIX: Replace with 'getOrElse' call // DISABLE-ERRORS -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map) { val s = map[1]!! } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/replaceWithGetOrElse.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/replaceWithGetOrElse.kt.after index c6a4c2241a88..76b0f8cb4e1f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/replaceWithGetOrElse.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/replaceWithGetOrElse.kt.after @@ -1,6 +1,6 @@ // FIX: Replace with 'getOrElse' call // DISABLE-ERRORS -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map) { val s = map.getOrElse(1) { } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/array.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/array.kt index 8b319868f854..17599e3c1a2e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/array.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/array.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val arr = arrayOf("alpha", "omega") \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/cascadeConst.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/cascadeConst.kt index 8907a84cf6a4..7dafbbfe145d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/cascadeConst.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/cascadeConst.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB const val y = 0 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/cascadeConst.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/cascadeConst.kt.after index d2173f10342a..46a2afcedf49 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/cascadeConst.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/cascadeConst.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB const val y = 0 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/const.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/const.kt index 04f1e643684a..7ead0f3c806c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/const.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/const.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB const val x = 13 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/inClass.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/inClass.kt index 8dd010687924..d7839100044d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/inClass.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/inClass.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class My { @JvmField val x = 13 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/nonJvmFieldAnnotated.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/nonJvmFieldAnnotated.kt index 3719b74091f4..2dc9beb51eec 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/nonJvmFieldAnnotated.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/nonJvmFieldAnnotated.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB annotation class A diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/object.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/object.kt index e002478cdd10..6f1bbc63b6ab 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/object.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/object.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB object O { @JvmField val s = "He" + "llo" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/object.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/object.kt.after index 9d28f11dce09..e1b4a598d211 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/object.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/object.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB object O { const val s = "He" + "llo" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/simple.kt index e883f9c3f4fd..2770e7f7c1d8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/simple.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB @JvmField val x = 1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/simple.kt.after index 81fccdefc308..e51c1f0a16e2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/mayBeConstant/simple.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB const val x = 1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/memberVisibilityCanBePrivate/JvmFieldOnParameter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/memberVisibilityCanBePrivate/JvmFieldOnParameter.kt index 575c4d87cb39..6e46fbabfec8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/memberVisibilityCanBePrivate/JvmFieldOnParameter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/memberVisibilityCanBePrivate/JvmFieldOnParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class J(@JvmField val a: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/memberVisibilityCanBePrivate/JvmFieldOnProperty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/memberVisibilityCanBePrivate/JvmFieldOnProperty.kt index 937041c6f24a..ac21747f4c04 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/memberVisibilityCanBePrivate/JvmFieldOnProperty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/memberVisibilityCanBePrivate/JvmFieldOnProperty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class J { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/memberVisibilityCanBePrivate/annotation.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/memberVisibilityCanBePrivate/annotation.kt index 24d3a19ec4a9..9b031ddd6207 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/memberVisibilityCanBePrivate/annotation.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/memberVisibilityCanBePrivate/annotation.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SKIP_ERRORS_BEFORE // SKIP_ERRORS_AFTER // PROBLEM: none diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/memberVisibilityCanBePrivate/usedInAnnotationOnContainingObject.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/memberVisibilityCanBePrivate/usedInAnnotationOnContainingObject.kt index e2a9dfe35385..6920bee53731 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/memberVisibilityCanBePrivate/usedInAnnotationOnContainingObject.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/memberVisibilityCanBePrivate/usedInAnnotationOnContainingObject.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none annotation class Annotation(val value: String) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction.kt index 526e7b7284c8..e50147d1e97c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(42).map { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction2.kt index 6696e1b16ddc..0ba66d16cf85 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(42).map { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction3.kt index d994ec8e2821..313d3c071543 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction3.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(42).map { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction4.kt index 7edd93eb7b1a..d7704033a2e0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction4.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(42).map { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction5.kt index f13fa16fefaf..59ea20f46a5c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction5.kt @@ -1,5 +1,5 @@ // FIX: Replace 'it' with explicit parameter -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(42).map { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction5.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction5.kt.after index 98cc0c262bb1..203f02d9860c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction5.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/nestedLambdaShadowedImplicitParameter/scopeFunction5.kt.after @@ -1,5 +1,5 @@ // FIX: Replace 'it' with explicit parameter -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(42).map { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/prohibitJvmOverloadsOnConstructorsOfAnnotationClassesMigration/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/prohibitJvmOverloadsOnConstructorsOfAnnotationClassesMigration/simple.kt index db20125f8290..57855db752d4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/prohibitJvmOverloadsOnConstructorsOfAnnotationClassesMigration/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/prohibitJvmOverloadsOnConstructorsOfAnnotationClassesMigration/simple.kt @@ -1,4 +1,4 @@ // LANGUAGE_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB annotation class A @JvmOverloads constructor(val x: Int = 1) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/prohibitJvmOverloadsOnConstructorsOfAnnotationClassesMigration/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/prohibitJvmOverloadsOnConstructorsOfAnnotationClassesMigration/simple.kt.after index 4d679956222e..c3ae34a9da3a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/prohibitJvmOverloadsOnConstructorsOfAnnotationClassesMigration/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/prohibitJvmOverloadsOnConstructorsOfAnnotationClassesMigration/simple.kt.after @@ -1,4 +1,4 @@ // LANGUAGE_VERSION: 1.4 -// WITH_RUNTIME +// WITH_STDLIB annotation class A constructor(val x: Int = 1) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/empty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/empty.kt index 20feebaff14f..bc9dbb71daf4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/empty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/empty.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class SomeException : RuntimeException() fun foo(): Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/inLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/inLambda.kt index 96e8f7a86f7c..46bac62517b6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/inLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/inLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() {} fun bar() {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/inLambda.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/inLambda.kt.after index e26b7fccd89a..a10133303de4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/inLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/inLambda.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() {} fun bar() {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/noElse.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/noElse.kt index f6e22b0342c0..d418b8d7840b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/noElse.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/noElse.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class SomeException : RuntimeException() fun test(x: Boolean, y: Boolean) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/notReturn.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/notReturn.kt index 278c1155a6cf..fb635f1e69cd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/notReturn.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/notReturn.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class SomeException : RuntimeException() fun foo(): Int = 1 fun bar(): Int = 2 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant.kt index f286c148d975..e15b6973eba5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class SomeException : RuntimeException() fun foo(): Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant.kt.after index eeea5d5b722c..214c0d613cfa 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class SomeException : RuntimeException() fun foo(): Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant3.kt index 9f6dd642cd0b..f3ae4244a3db 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class SomeException : RuntimeException() fun foo(): Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant3.kt.after index 3af08fb48ba3..bfd199e1cbc7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class SomeException : RuntimeException() fun foo(): Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant4.kt index 220e2268966f..f32bf966bc9c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class SomeException : RuntimeException() fun foo(): Int = 1 fun bar(): Int = 2 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant4.kt.after index fefb793be8ef..e52b8403aea2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundant4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class SomeException : RuntimeException() fun foo(): Int = 1 fun bar(): Int = 2 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundantSingleLine.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundantSingleLine.kt index 6453445d9f6d..9d4c433fe929 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundantSingleLine.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundantSingleLine.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class SomeException : RuntimeException() fun foo(): Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundantSingleLine.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundantSingleLine.kt.after index 6c5ae253cb8f..44a268e7910b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundantSingleLine.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundantSingleLine.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class SomeException : RuntimeException() fun foo(): Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundantSingleLine2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundantSingleLine2.kt index 227403fa41c0..a368977ddd6a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundantSingleLine2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundantSingleLine2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class SomeException : RuntimeException() fun foo(): Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundantSingleLine2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundantSingleLine2.kt.after index 026d550da90f..0fe20ae4a6db 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundantSingleLine2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/redundantSingleLine2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class SomeException : RuntimeException() fun foo(): Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/usedAsExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/usedAsExpression.kt index e31c0d76e063..2b8665114b9b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/usedAsExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantElseInIf/usedAsExpression.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class SomeException : RuntimeException() fun foo(): Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantInnerClassModifier/hasOuterClassMemberReferenceFromNotThis5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantInnerClassModifier/hasOuterClassMemberReferenceFromNotThis5.kt index ab4b6f9cc31e..29621b1836a5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantInnerClassModifier/hasOuterClassMemberReferenceFromNotThis5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantInnerClassModifier/hasOuterClassMemberReferenceFromNotThis5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo { fun Foo.foo() {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantInnerClassModifier/hasOuterClassMemberReferenceFromNotThis5.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantInnerClassModifier/hasOuterClassMemberReferenceFromNotThis5.kt.after index ce9b62e96044..f2836674b07f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantInnerClassModifier/hasOuterClassMemberReferenceFromNotThis5.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantInnerClassModifier/hasOuterClassMemberReferenceFromNotThis5.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo { fun Foo.foo() {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/forEach.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/forEach.kt index 8c7bb378e056..7a97fcfef647 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/forEach.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/forEach.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { // We do not report "redundant arrow" here, diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/forEachWithIt.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/forEachWithIt.kt index cf785dec4ff6..13df044f1095 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/forEachWithIt.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/forEachWithIt.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun println(s: String) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/forEachWithIt.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/forEachWithIt.kt.after index 36fdfe2dbb5c..7b76c8310e3c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/forEachWithIt.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/forEachWithIt.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun println(s: String) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/nestedLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/nestedLambda.kt index e4f80c8b3f5f..8456b8281618 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/nestedLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/nestedLambda.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf("A").forEach { setOf(1).map { _ -> it.length } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/nestedLambda2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/nestedLambda2.kt index 649cfcbfd498..5f40cd93aaf8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/nestedLambda2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/nestedLambda2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf("A").forEach { listOf("B").forEach { _ -> diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/nestedLambda3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/nestedLambda3.kt index b335048e90a7..635788099141 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/nestedLambda3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/nestedLambda3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf("A").forEach { setOf(1).map { _ -> diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/nestedLambda3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/nestedLambda3.kt.after index 0b7fcfbede2b..e464b1f951a4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/nestedLambda3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/nestedLambda3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf("A").forEach { setOf(1).map { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableGenericConstructor.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableGenericConstructor.kt index d7cb9e90b6ab..e486376705bc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableGenericConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableGenericConstructor.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun main() { MyClass { _: String -> 0 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableGenericConstructor2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableGenericConstructor2.kt index 5ac13534732d..e460c53dcf84 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableGenericConstructor2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableGenericConstructor2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun main() { MyClass { it: String -> 0 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableOverload.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableOverload.kt index 37811bdd4226..09c3df0eb475 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableOverload.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableOverload.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun bar(f: () -> Unit) {} fun bar(f: (Int) -> Unit) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableOverload2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableOverload2.kt index a31f50d2335a..f0ff31384436 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableOverload2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableOverload2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun bar(f: () -> Unit) {} fun bar(f: (Int) -> Unit) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableOverload3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableOverload3.kt index f91676c5ffb3..8775e38ab2f7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableOverload3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableOverload3.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun bar(f: () -> Unit) {} fun bar(f: (Int) -> Unit) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableOverload5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableOverload5.kt index 9a624677c979..58031b6a40c2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableOverload5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableOverload5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun bar(f: () -> Unit) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg.kt index 416a01f2ece1..bdbbddf8516e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg.kt @@ -1,6 +1,6 @@ // COMPILER_ARGUMENTS: -XXLanguage:-NewInference // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun main() { registerHandler(handlers = *arrayOf( diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg2.kt index 4d68bac2bc27..1f3d76199745 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg2.kt @@ -1,6 +1,6 @@ // COMPILER_ARGUMENTS: -XXLanguage:-NewInference // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun main() { registerHandler(handlers = *arrayOf( diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg2_ni.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg2_ni.kt index 20983e32d8fc..8469b1892b42 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg2_ni.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg2_ni.kt @@ -1,6 +1,6 @@ // COMPILER_ARGUMENTS: -XXLanguage:+NewInference // PROBLEM: Redundant lambda arrow -// WITH_RUNTIME +// WITH_STDLIB fun main() { registerHandler(handlers = *arrayOf( diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg2_ni.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg2_ni.kt.after index bb8918db77c0..ff19bafa930d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg2_ni.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg2_ni.kt.after @@ -1,6 +1,6 @@ // COMPILER_ARGUMENTS: -XXLanguage:+NewInference // PROBLEM: Redundant lambda arrow -// WITH_RUNTIME +// WITH_STDLIB fun main() { registerHandler(handlers = *arrayOf( diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg_ni.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg_ni.kt index 9d0455ef267e..feb67ba46186 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg_ni.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg_ni.kt @@ -1,6 +1,6 @@ // COMPILER_ARGUMENTS: -XXLanguage:+NewInference // PROBLEM: Redundant lambda arrow -// WITH_RUNTIME +// WITH_STDLIB fun main() { registerHandler(handlers = *arrayOf( diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg_ni.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg_ni.kt.after index 16fd01c2cb45..cdb45a9e42f1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg_ni.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/notApplicableVararg_ni.kt.after @@ -1,6 +1,6 @@ // COMPILER_ARGUMENTS: -XXLanguage:+NewInference // PROBLEM: Redundant lambda arrow -// WITH_RUNTIME +// WITH_STDLIB fun main() { registerHandler(handlers = *arrayOf( diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/overload4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/overload4.kt index 320acb570af9..791d830a347a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/overload4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/overload4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun bar(f: () -> Unit) {} fun bar(g: (Int, Int) -> Unit) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/overload4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/overload4.kt.after index 7bfa946b5595..a5ad4eb2b60f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/overload4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/overload4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun bar(f: () -> Unit) {} fun bar(g: (Int, Int) -> Unit) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/typeParameter3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/typeParameter3.kt index b81fe105cccf..ea35d7722da8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/typeParameter3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/typeParameter3.kt @@ -1,6 +1,6 @@ // COMPILER_ARGUMENTS: -XXLanguage:-NewInference // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun f(cbs: List<(Boolean) -> Unit>) { cbs[0](true) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/typeParameter3_ni.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/typeParameter3_ni.kt index 643b7cc5532b..dba2bbd9b6ae 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/typeParameter3_ni.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/typeParameter3_ni.kt @@ -1,6 +1,6 @@ // COMPILER_ARGUMENTS: -XXLanguage:+NewInference // PROBLEM: Redundant lambda arrow -// WITH_RUNTIME +// WITH_STDLIB fun f(cbs: List<(Boolean) -> Unit>) { cbs[0](true) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/typeParameter3_ni.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/typeParameter3_ni.kt.after index 65cb06b1c394..c5e657a7ba36 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/typeParameter3_ni.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/typeParameter3_ni.kt.after @@ -1,6 +1,6 @@ // COMPILER_ARGUMENTS: -XXLanguage:+NewInference // PROBLEM: Redundant lambda arrow -// WITH_RUNTIME +// WITH_STDLIB fun f(cbs: List<(Boolean) -> Unit>) { cbs[0](true) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/inWith.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/inWith.kt index 7eb8d5ad0d06..6d04f3f0db39 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/inWith.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/inWith.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val xx = with(fun(x: Int, y: Int) = x + y) { invoke(1, 2) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter.kt index accd529c969e..e5fef3f79fd7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Chain diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter.kt.after index 1fe0f5a51ee2..0f60d9c2677d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Chain diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter2.kt index ab531280fea2..f679f68184da 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Chain diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter2.kt.after index af0d7bfbc871..f61b619efb80 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Chain diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter3.kt index 7d411c29d4b7..3cee684aac1a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Chain diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter3.kt.after index ecd6b6d7ad9a..2a413e1c85d4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/lambdaWithReceiverAsParameter3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Chain diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/withReceiver2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/withReceiver2.kt index 25a7ce78f674..2f710d206321 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/withReceiver2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/withReceiver2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Chain fun complicate(chain: Chain) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/withReceiver2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/withReceiver2.kt.after index daa027fef7e0..4e6cdd8b36f2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/withReceiver2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/anonymousFunction/withReceiver2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Chain fun complicate(chain: Chain) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/inWith.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/inWith.kt index abf94716f882..dd90a1e39b27 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/inWith.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/inWith.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val xx = with({ x: Int, y: Int -> x + y }) { invoke(1, 2) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter.kt index 8f8ba9bcd646..4563a0698add 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Chain fun complicate(chain: Chain) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter.kt.after index 0ab314838230..c90eb5fcb12d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Chain fun complicate(chain: Chain) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter2.kt index 66043842eb9f..d7b072e576c5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Chain fun complicate(chain: Chain) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter2.kt.after index 9777e2331f77..0af08d0896fa 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Chain fun complicate(chain: Chain) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter3.kt index 7ac2edf73d96..be16f7ddb88e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Chain fun complicate(chain: Chain) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter3.kt.after index daa027fef7e0..4e6cdd8b36f2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaOrAnonymousFunction/lambdaExpression/lambdaWithReceiverAsParameter3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Chain fun complicate(chain: Chain) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/blockBody.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/blockBody.kt index 6573d1014db3..62a3779d200e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/blockBody.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/blockBody.kt @@ -1,5 +1,5 @@ // PROBLEM: 'foo' always returns non-null type -// WITH_RUNTIME +// WITH_STDLIB fun foo(xs: List): Int? { return xs.first() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/blockBody.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/blockBody.kt.after index 7a82c3628f3e..336366655230 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/blockBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/blockBody.kt.after @@ -1,5 +1,5 @@ // PROBLEM: 'foo' always returns non-null type -// WITH_RUNTIME +// WITH_STDLIB fun foo(xs: List): Int { return xs.first() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/blockBodyReturnsNullable.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/blockBodyReturnsNullable.kt index bdd89583b429..5254b6e6e16b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/blockBodyReturnsNullable.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/blockBodyReturnsNullable.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(xs: List, b: Boolean): Int? { if (b) { return xs.first() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/returnNullableForLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/returnNullableForLambda.kt index 87d46cfcbdb8..d90ecffa3838 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/returnNullableForLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/returnNullableForLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): Int? { val x = list.mapNotNull { return@mapNotNull null diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/returnNullableForLambda.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/returnNullableForLambda.kt.after index cc1f3dd617ae..edf4a19f2386 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/returnNullableForLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/returnNullableForLambda.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): Int { val x = list.mapNotNull { return@mapNotNull null diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/returnNullableFromLambdaInSingleExpressionBody.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/returnNullableFromLambdaInSingleExpressionBody.kt index c6a030fec11b..f8eae0562292 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/returnNullableFromLambdaInSingleExpressionBody.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/returnNullableFromLambdaInSingleExpressionBody.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(str: String): String? = str.run { return null } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/singleExpressionBody.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/singleExpressionBody.kt index 6b3eb57560da..d057e666d49c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/singleExpressionBody.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/singleExpressionBody.kt @@ -1,3 +1,3 @@ // PROBLEM: 'foo' always returns non-null type -// WITH_RUNTIME +// WITH_STDLIB fun foo(xs: List): Int? = xs.first() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/singleExpressionBody.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/singleExpressionBody.kt.after index 9e5198ba85a4..38da362a0587 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/singleExpressionBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/singleExpressionBody.kt.after @@ -1,3 +1,3 @@ // PROBLEM: 'foo' always returns non-null type -// WITH_RUNTIME +// WITH_STDLIB fun foo(xs: List): Int = xs.first() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/singleExpressionBodyReturnsNullable.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/singleExpressionBodyReturnsNullable.kt index 2149423fe027..709ad85b517c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/singleExpressionBodyReturnsNullable.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/function/singleExpressionBodyReturnsNullable.kt @@ -1,3 +1,3 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(xs: List, b: Boolean): Int? = if (b) xs.first() else xs.lastOrNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/property/hasTransientAnnotation.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/property/hasTransientAnnotation.kt index 63e9fd386287..7cf42915830f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/property/hasTransientAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/property/hasTransientAnnotation.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class FooClass { @Transient val test: Int? = 5 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/property/returnNullableFromLambdaInGetter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/property/returnNullableFromLambdaInGetter.kt index 1c20150e6fbf..d05e6259c92f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/property/returnNullableFromLambdaInGetter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantNullableReturnType/property/returnNullableFromLambdaInGetter.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val test: Int? get() = run { return null diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantOverride/boxedParameters.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantOverride/boxedParameters.kt index 26277a63356a..b937839850de 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantOverride/boxedParameters.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantOverride/boxedParameters.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB interface Foo { fun add(i: Int): Boolean diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/checkNotNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/checkNotNull.kt index 0b21f8272301..a9c022dacd60 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/checkNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/checkNotNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String) { println(1) kotlin.checkNotNull(s) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/checkNotNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/checkNotNull.kt.after index 9e26962c0ce3..bd0f34ddd98c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/checkNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/checkNotNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String) { println(1) println(2) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull.kt index 0aeb1d72ae9b..5c6286fc0827 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String) { println(1) requireNotNull(s) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull.kt.after index 9e26962c0ce3..bd0f34ddd98c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String) { println(1) println(2) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull2.kt index 1f608d7ff21e..76a1813e40ed 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String?) { if (s != null) { println(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull2.kt.after index 05ecbff68fff..0a2831d6d29b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String?) { if (s != null) { println(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull3.kt index 7a73ac5aaa15..f7b75091c231 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String?) { requireNotNull(s) requireNotNull(s) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull3.kt.after index 4b9f72461717..725f9e8d50c9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/notNull3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String?) { requireNotNull(s) println(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/nullable.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/nullable.kt index 3a14d124cd72..ce6ed1dc5870 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/nullable.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/nullable.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String?) { requireNotNull(s) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/nullable2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/nullable2.kt index 8f8ee26ada05..56de010f3eb8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/nullable2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/nullable2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class Test { var s: String? = null diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/require.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/require.kt index 12cce5ff2abb..adbd21c1f5aa 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/require.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/require.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { require(b) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression.kt index 3426b59c18de..608c55d8864c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { val a = requireNotNull(i) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression.kt.after index 05cf7bb1be78..a4d4ce1fffc6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { val a = i } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression2.kt index bad7177963d6..053b7abc8da1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { println(requireNotNull(i) { "" }) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression2.kt.after index fd9614c06f17..59264ee5cc74 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { println(i) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression3.kt index 93e760f0c3e7..eab82991cd00 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { "${checkNotNull(i)}" } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression3.kt.after index cf6238dd680d..157ada5b7472 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { "${i}" } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSemicolon/ifElse.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSemicolon/ifElse.kt index 0ea92072a36b..40b658a7d22f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSemicolon/ifElse.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSemicolon/ifElse.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { if (true) println("hello") else; diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSemicolon/startOfLineBeforeFunctionReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSemicolon/startOfLineBeforeFunctionReference.kt index b02d38f376b2..e43bf4f12aae 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSemicolon/startOfLineBeforeFunctionReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSemicolon/startOfLineBeforeFunctionReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): () -> Unit = if (true) { {} } else { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSemicolon/startOfLineBeforeFunctionReference.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSemicolon/startOfLineBeforeFunctionReference.kt.after index c5b9b6cd02c3..d3626503c469 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSemicolon/startOfLineBeforeFunctionReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSemicolon/startOfLineBeforeFunctionReference.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): () -> Unit = if (true) { {} } else { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSuspend/coroutineContext.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSuspend/coroutineContext.kt index fa6c7db4b832..58b0aaafb51c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSuspend/coroutineContext.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSuspend/coroutineContext.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB import kotlin.coroutines.coroutineContext diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSuspend/parenthesized.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSuspend/parenthesized.kt index c13e122df193..4180ad3e2af4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSuspend/parenthesized.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantSuspend/parenthesized.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB object Foo { val f: suspend SequenceScope.(low: Int, high: Int) -> Unit = { low, high -> diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/notRedundant4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/notRedundant4.kt index bfd46648a07e..8230d2c71b77 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/notRedundant4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/notRedundant4.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun nonUnit(p: Int): Int = p fun doIt(p: () -> T): T = TODO() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/notRedundant5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/notRedundant5.kt index 81b0da837819..2ca272e76bf3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/notRedundant5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/notRedundant5.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun nonUnit(p: Int): Int = p fun doIt(p: () -> T): T = TODO() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/notRedundant7.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/notRedundant7.kt index 827c1dd24696..f0205600336b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/notRedundant7.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/notRedundant7.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun doIt(p: () -> T): T = p() fun Any.doDo() = Unit diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/redundant5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/redundant5.kt index d3899ae73acd..85be0be305ff 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/redundant5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/redundant5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x: List = listOf(1, 2, 3).map { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/redundant5.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/redundant5.kt.after index 97d477884880..425e8a818a2c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/redundant5.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/redundant5.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x: List = listOf(1, 2, 3).map { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType.kt index 0caec992e2e3..46703d35197e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun doIt(p: () -> T): T = TODO() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType.kt.after index 896dbfa25241..596a4025f8d8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun doIt(p: () -> T): T = TODO() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType2.kt index bad18e778c77..7eb07fdb3501 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun doIt(p: () -> T): T = TODO() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType2.kt.after index 015c5f3f31f3..1b2215c2657a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun doIt(p: () -> T): T = TODO() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType3.kt index 928e3222425a..2450d76c009a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none // not yet supported fun doIt(p: () -> T): T = TODO() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType4.kt index 44df1633362b..cb5c04bcad9d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun doIt(p: () -> T): T = p() fun Any.doDo() = Unit diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType4.kt.after index 1eb90c5e0dcb..d14c54a0d2f9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun doIt(p: () -> T): T = p() fun Any.doDo() = Unit diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType5.kt index f6eeec4facce..d5212b83436d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun doIt(p: () -> T): T = p() fun Any.doDo() = Unit diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType5.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType5.kt.after index 5cc4e33319b7..05e8b67629b9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType5.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitExpression/unitReturnType5.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun doIt(p: () -> T): T = p() fun Any.doDo() = Unit diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/asInitializer.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/asInitializer.kt index 64997c38f67a..c32aa5e031d8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/asInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/asInitializer.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): Int = with("") { println() return 42 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/asInitializer.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/asInitializer.kt.after index c081878c9932..80c2d268bf74 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/asInitializer.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/asInitializer.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): Int { println() return 42 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/asInitializerWithSingleReturn.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/asInitializerWithSingleReturn.kt index 8788b0b41a6d..bb2a0bf21880 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/asInitializerWithSingleReturn.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/asInitializerWithSingleReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String): Int = with("s") { return 42 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/asInitializerWithSingleReturn.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/asInitializerWithSingleReturn.kt.after index 34b0b68eb17c..daf91955977a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/asInitializerWithSingleReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/asInitializerWithSingleReturn.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String): Int = 42 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/emptyExpressionInReturn.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/emptyExpressionInReturn.kt index b11e3f999e04..20ce4bdc3e52 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/emptyExpressionInReturn.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/emptyExpressionInReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { return with (1) { } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/emptyExpressionInReturn.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/emptyExpressionInReturn.kt.after index 9786313b79b2..95ba7e9ba96a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/emptyExpressionInReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/emptyExpressionInReturn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { return } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/nested.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/nested.kt index 500e5719dd7b..73ceec7fbd0e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/nested.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/nested.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { with ("") { with ("a") { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/nested.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/nested.kt.after index 5606ec0cec12..af24dde6e732 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/nested.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/nested.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { with ("a") { this diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_explicitThis.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_explicitThis.kt index 6fbf3e009ada..9e8e494fcf36 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_explicitThis.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_explicitThis.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { with ("") { this diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_explicitThis2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_explicitThis2.kt index 2178b098c4ce..0aaf611e1ade 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_explicitThis2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_explicitThis2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { with ("") { this.length diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_functionCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_functionCall.kt index 51366cc4e080..13c4af1d9711 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_functionCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_functionCall.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { val c = MyClass() with(c) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_implicitThis.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_implicitThis.kt index 37a45f6833bb..9e392b97f692 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_implicitThis.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_implicitThis.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { with ("") { length diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inBinaryExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inBinaryExpression.kt index 7d67aabc7aa9..ac5ff436afc5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inBinaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inBinaryExpression.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { val b = 1 == with ("") { println() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inFunctionBody.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inFunctionBody.kt index 597c45615f26..71bf68e326a3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inFunctionBody.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inFunctionBody.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() = with("") { println() 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inProperty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inProperty.kt index 65cceb0b0808..50761707995d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inProperty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inProperty.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { val i = with ("") { println() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inPropertyGetter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inPropertyGetter.kt index 7a1043ec2e92..3a5fe4f4b143 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inPropertyGetter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inPropertyGetter.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val a: Int get() = with("") { println() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inReturn.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inReturn.kt index cd503e2d5b06..c0d5c7c8ee82 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inReturn.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inReturn.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(): Int { return with ("") { println() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inValueArgument.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inValueArgument.kt index 266600d2365e..fb3174896c33 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inValueArgument.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_inValueArgument.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(i: Int) {} fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_labeledReturn.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_labeledReturn.kt index 412a3f004fc5..eeb20d935e9b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_labeledReturn.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_labeledReturn.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { with ("") { return@with diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_labeledReturn2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_labeledReturn2.kt index eeb2db7740d6..a139a51590f3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_labeledReturn2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_labeledReturn2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(): String { with("") { return this@with diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_labeledThis.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_labeledThis.kt index fd764727a551..01284e93ef70 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_labeledThis.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_labeledThis.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { with ("") { this@with diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_labeledThis2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_labeledThis2.kt index 387e268d26a9..d3bbb85dbcf7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_labeledThis2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_labeledThis2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { with ("") { this@with.length diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_variableFunctionCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_variableFunctionCall.kt index 827b93f6bde9..933509bd2d83 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_variableFunctionCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/notApplicable_variableFunctionCall.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { val c = MyClass() with(c) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/simple.kt index ba6e02893e64..37ba780bfa4c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { with ("") { println("1") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/simple.kt.after index f64260563391..eebfa67de439 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { println("1") println("2") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/simple2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/simple2.kt index 164ccf833a1b..4b051c725b4d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/simple2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/simple2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String) { with (s, { println("1") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/simple2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/simple2.kt.after index 5636aff48ac5..39cccc569d62 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/simple2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/simple2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String) { println("1") println("2") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/singleExpressionInReturn.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/singleExpressionInReturn.kt index e25fcab2ecb2..9040456aec34 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/singleExpressionInReturn.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/singleExpressionInReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): Int { return with (1) { 2 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/singleExpressionInReturn.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/singleExpressionInReturn.kt.after index 11a3633db986..990e08a54ba9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/singleExpressionInReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantWith/singleExpressionInReturn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): Int { return 2 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeArgumentsFromFunction.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeArgumentsFromFunction.kt index b8115c7de383..5f90afdee999 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeArgumentsFromFunction.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeArgumentsFromFunction.kt @@ -1,3 +1,3 @@ // FIX: Remove explicit type arguments -// WITH_RUNTIME +// WITH_STDLIB fun bar(): MutableList = mutableListOf>() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeArgumentsFromFunction.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeArgumentsFromFunction.kt.after index 19faaf211df2..5cc59a663e2b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeArgumentsFromFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeArgumentsFromFunction.kt.after @@ -1,3 +1,3 @@ // FIX: Remove explicit type arguments -// WITH_RUNTIME +// WITH_STDLIB fun bar(): MutableList = mutableListOf() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeArgumentsFromProperty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeArgumentsFromProperty.kt index 3c29486f08fe..88c40b6404f8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeArgumentsFromProperty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeArgumentsFromProperty.kt @@ -1,3 +1,3 @@ // FIX: Remove explicit type arguments -// WITH_RUNTIME +// WITH_STDLIB val foo: MutableList = mutableListOf>() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeArgumentsFromProperty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeArgumentsFromProperty.kt.after index 0a9b89fc69a0..ee36c0ae2d71 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeArgumentsFromProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeArgumentsFromProperty.kt.after @@ -1,3 +1,3 @@ // FIX: Remove explicit type arguments -// WITH_RUNTIME +// WITH_STDLIB val foo: MutableList = mutableListOf() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeFromFunction.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeFromFunction.kt index 8e3bb56931cb..9ba1e20df921 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeFromFunction.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeFromFunction.kt @@ -1,3 +1,3 @@ // FIX: Remove explicit type specification from 'bar' -// WITH_RUNTIME +// WITH_STDLIB fun bar(): MutableList = mutableListOf>() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeFromFunction.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeFromFunction.kt.after index af9d87e13389..7faaa22280c4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeFromFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeFromFunction.kt.after @@ -1,3 +1,3 @@ // FIX: Remove explicit type specification from 'bar' -// WITH_RUNTIME +// WITH_STDLIB fun bar() = mutableListOf() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeFromProperty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeFromProperty.kt index 7a118c47b09b..7e2bf3599c7e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeFromProperty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeFromProperty.kt @@ -1,3 +1,3 @@ // FIX: Remove explicit type specification from 'foo' -// WITH_RUNTIME +// WITH_STDLIB val foo: MutableList = mutableListOf>() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeFromProperty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeFromProperty.kt.after index 30182ddbde47..d9fc9cf4e4f1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeFromProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeExplicitTypeArguments/removeTypeFromProperty.kt.after @@ -1,3 +1,3 @@ // FIX: Remove explicit type specification from 'foo' -// WITH_RUNTIME +// WITH_STDLIB val foo = mutableListOf() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/functionArgument.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/functionArgument.kt index b0c08d73a714..7b0d97f76b10 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/functionArgument.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/functionArgument.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(`a`: Int) { } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/functionArgument.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/functionArgument.kt.after index ba304535b550..549da257ab41 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/functionArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/functionArgument.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Int) { } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/functionCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/functionCall.kt index 6cfe15c85cd3..bd77c452e597 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/functionCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/functionCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { `print`("I don't want to use ticks in Kotlin anymore") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/functionCall.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/functionCall.kt.after index f335140c3b93..881d5a522d36 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/functionCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/functionCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { print("I don't want to use ticks in Kotlin anymore") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/property.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/property.kt index 052d82ffb91b..ac6823d80cf8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/property.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/property.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val `a` = 1 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/property.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/property.kt.after index af779ebb806c..931bae1dc50e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/property.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantBackticks/property.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val a = 1 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/asReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/asReceiver.kt index bedf0e5dbf21..466f66e1fef9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/asReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/asReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import B.G diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/asReceiver.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/asReceiver.kt.after index b2c2388963f6..d9ad77ea8fc6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/asReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/asReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import B.G diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral.kt index 5972702c77ab..08c07c733455 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package foo class Foo diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral.kt.after index 123cd207dd1d..0c9ff57665d3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package foo class Foo diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral2.kt index 6a6ac17b579f..7f1dd757834c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package foo class Foo diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral2.kt.after index 338e7f103475..310c4b25a950 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package foo class Foo diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral3.kt index 629f1058ea85..b4d36d9e31d2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS package foo.www.ddd diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral3.kt.after index 1cba03c6be18..532d19210c9f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS package foo.www.ddd diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral4.kt index cbcd1c749b48..9d2b1e7c98bd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS package foo.www.ddd diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral4.kt.after index e16d991dbe55..ff87d396bfbe 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS package foo.www.ddd diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral5.kt index 45fce877e9bd..233f22958a5f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS package foo.www.ddd diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral5.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral5.kt.after index 10b062b9b586..3f5f2ba89a3a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral5.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral5.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS package foo.www.ddd diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/companionCollision.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/companionCollision.kt index 3b356c50d381..ae0780e38fb0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/companionCollision.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/companionCollision.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name open class SuperClass { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/companionCollision.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/companionCollision.kt.after index 7136ad1230ae..3bc63065c74c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/companionCollision.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/companionCollision.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name open class SuperClass { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/enumEntry.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/enumEntry.kt index 68df250d78e2..548f7d78104e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/enumEntry.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/enumEntry.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import Encoding.MJPEG class Player { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/enumEntry.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/enumEntry.kt.after index bc5946de8e9e..578ab92bba7f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/enumEntry.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/enumEntry.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import Encoding.MJPEG class Player { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression2.kt index e61b6f2cd931..966fc3bff11a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name fun main() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression2.kt.after index 8639f180cbb6..7431c0693cfa 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name fun main() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression3.kt index 9b93279d8173..132a8a5979f1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name fun main() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression3.kt.after index e77b672f347a..c246a59e44d7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name fun main() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression4.kt index 0c90c4255319..1fc84d029090 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name import kotlin.Int.Companion.MAX_VALUE diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression4.kt.after index 6bb4270ffcd1..fe1123069e9f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name import kotlin.Int.Companion.MAX_VALUE diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression5.kt index 21aa0e698119..5bfb3408f3c3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name import kotlin.Int.Companion.MAX_VALUE diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression5.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression5.kt.after index 6bb4270ffcd1..fe1123069e9f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression5.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/expression5.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name import kotlin.Int.Companion.MAX_VALUE diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/javaConstructor.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/javaConstructor.kt index e54538c38992..923e748d4575 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/javaConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/javaConstructor.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/javaConstructor.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/javaConstructor.kt.after index f3b5be855d4e..1da0700a5756 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/javaConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/javaConstructor.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableAsReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableAsReceiver.kt index a196c9434809..73f4eac1c73b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableAsReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableAsReceiver.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB import C.G diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableCollisionTopLevelClass.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableCollisionTopLevelClass.kt index 8a6fec6e2a8f..daa8010c06d2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableCollisionTopLevelClass.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableCollisionTopLevelClass.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none package my.simple.name diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumEntry.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumEntry.kt index 1eac848ce3ff..dc6e23af4dbf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumEntry.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumEntry.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class Player { val status: String = Encoding.MJPEG.toString() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumEntryInEnumEntry.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumEntryInEnumEntry.kt index f1c7daeedb39..8d80c40da622 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumEntryInEnumEntry.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumEntryInEnumEntry.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun main() { MyEnum.B.foo() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumEntryInEnumEntry2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumEntryInEnumEntry2.kt index b50e6ebbdcce..87d2a6f35d04 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumEntryInEnumEntry2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumEntryInEnumEntry2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun main() { MyEnum.B.foo() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum.kt index c0d669d3adbc..92915dc39feb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB enum class A enum class B() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum2.kt index 8b519a842cbc..3dee9dbedc74 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB enum class A enum class B(val x: Int) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum3.kt index 5a15bf1160af..46b466df6485 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum3.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB enum class B() { ; diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum4.kt index 9010b358edeb..3f00f8b1bb10 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum4.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB enum class B(val x: Int) { BB(B.values().size) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum5.kt index 63ba1b7a1ea6..b74aa4d4001d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumInEnum5.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB enum class E { A, B, C; diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumValueOf.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumValueOf.kt index 3d886ff0576b..b749cfde56ec 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumValueOf.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumValueOf.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB package packageName import packageName.MyEnum.* diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumValues.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumValues.kt index b458206c0c6c..133f1381e2b0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumValues.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumValues.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB package packageName import packageName.MyEnum.* diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableExpression.kt index d2a74e15130e..26fe36e7c9e2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none package my.simple.name diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableExpression2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableExpression2.kt index a5adf329d15e..e84b9a8795f6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableExpression2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableExpression2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none package my.simple.name diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableObject.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableObject.kt index cdd4789bc06e..26859ca635b8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableObject.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableObject.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class Foo { val prop = Obj.prop.toString() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableObject2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableObject2.kt index 3e0b5801cc88..d29636f9cb50 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableObject2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableObject2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class A { companion object { val INST = A() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableObject3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableObject3.kt index 166fb2b017c5..80c0eeb146f4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableObject3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableObject3.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB open class A(init: A.() -> Unit) { val prop: String = "" } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableSameNameVariable2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableSameNameVariable2.kt index 9abdce68d2f1..2c4993308155 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableSameNameVariable2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableSameNameVariable2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB sealed class Foo { object BAR : Foo() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableTypeWithRuntime.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableTypeWithRuntime.kt index b46e6bdced2b..0038da766cbb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableTypeWithRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableTypeWithRuntime.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none package my.simple.name diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableTypeWithRuntime2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableTypeWithRuntime2.kt index 1684830bccff..281bed7bd5ea 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableTypeWithRuntime2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableTypeWithRuntime2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none package my.simple.name diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/secondaryConstructor.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/secondaryConstructor.kt index d7c76e072109..f61e13cf49d3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/secondaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/secondaryConstructor.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name class Outer { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/secondaryConstructor.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/secondaryConstructor.kt.after index 5ff4602cd33c..7e4c192a51aa 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/secondaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/secondaryConstructor.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name class Outer { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/superClass.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/superClass.kt index 0db9cb234079..ff99d4747faa 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/superClass.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/superClass.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name open class SuperClass { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/superClass.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/superClass.kt.after index a6507c26c791..9e1f302cb03f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/superClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/superClass.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name open class SuperClass { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/superClass2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/superClass2.kt index 77ab064a2b18..cbe064dd5c22 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/superClass2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/superClass2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name open class SuperClass { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/superClass2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/superClass2.kt.after index 01d14a4bd5c4..49a147594139 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/superClass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/superClass2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name open class SuperClass { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/type2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/type2.kt index 9bbbf4a2b7d8..3607fd2df709 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/type2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/type2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name class Outer { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/type2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/type2.kt.after index 5f3a588690b0..191b12ea4a67 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/type2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/type2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name class Outer { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/typeWithAlias.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/typeWithAlias.kt index 5d86d29c6562..c9a8e5087f32 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/typeWithAlias.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/typeWithAlias.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name typealias Int = Long diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/typeWithAlias.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/typeWithAlias.kt.after index 77364e1d0d3f..9b75ea2e4e7a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/typeWithAlias.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/typeWithAlias.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name typealias Int = Long diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/typeWithRuntime.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/typeWithRuntime.kt index 362cf6abde71..9932b7606a23 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/typeWithRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/typeWithRuntime.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name fun foo(a: kotlin.Int) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/typeWithRuntime.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/typeWithRuntime.kt.after index dc3786cbd920..d47168445261 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/typeWithRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/typeWithRuntime.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.simple.name fun foo(a: Int) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/userTypeWithTypeParameter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/userTypeWithTypeParameter.kt index 1a9577b5b307..2e579b91b3b8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/userTypeWithTypeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/userTypeWithTypeParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { val a: kotlin.Pair diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/userTypeWithTypeParameter.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/userTypeWithTypeParameter.kt.after index ac49ab150dc1..638daeeb4b21 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/userTypeWithTypeParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/userTypeWithTypeParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { val a: Pair diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/withTypeParameter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/withTypeParameter.kt index 0199de5e21bd..adc15051247a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/withTypeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/withTypeParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { kotlin.Pair(1, 1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/withTypeParameter.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/withTypeParameter.kt.after index 68e0c7d917f9..ccea5be07ac5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/withTypeParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/withTypeParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { Pair(1, 1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/arrayEQEQ.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/arrayEQEQ.kt index 6fd0142be0e8..0fff8c17cb52 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/arrayEQEQ.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/arrayEQEQ.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace '==' with 'contentEquals' fun foo() { val a = arrayOf("a", "b", "c") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/arrayEQEQ.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/arrayEQEQ.kt.after index 65b2b42fdd01..eea89f1131fb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/arrayEQEQ.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/arrayEQEQ.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace '==' with 'contentEquals' fun foo() { val a = arrayOf("a", "b", "c") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/arrayEXCLEQ.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/arrayEXCLEQ.kt index 892b713657f1..df43bf254c7d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/arrayEXCLEQ.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/arrayEXCLEQ.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace '!=' with 'contentEquals' fun foo() { val a = arrayOf("a", "b", "c") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/arrayEXCLEQ.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/arrayEXCLEQ.kt.after index dcad9625b3be..c0ec498f3fe6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/arrayEXCLEQ.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/arrayEXCLEQ.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace '!=' with 'contentEquals' fun foo() { val a = arrayOf("a", "b", "c") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/primitiveArrayEQEQ.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/primitiveArrayEQEQ.kt index 905cb61ecb14..e2bfe65ad06d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/primitiveArrayEQEQ.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/primitiveArrayEQEQ.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace '==' with 'contentEquals' fun foo() { val a = charArrayOf('a', 'b', 'c') diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/primitiveArrayEQEQ.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/primitiveArrayEQEQ.kt.after index f81794060e1a..521312c318eb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/primitiveArrayEQEQ.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceArrayEqualityOpWithArraysEquals/primitiveArrayEQEQ.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace '==' with 'contentEquals' fun foo() { val a = charArrayOf('a', 'b', 'c') diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateBy/array.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateBy/array.kt index c67c67ff2383..b55f4ce6d62c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateBy/array.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateBy/array.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateBy' // FIX: Replace with 'associateBy' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateBy/array.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateBy/array.kt.after index 41533c79a785..91511502c2e1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateBy/array.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateBy/array.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateBy' // FIX: Replace with 'associateBy' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateBy/basic.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateBy/basic.kt index 9224b945bfe7..e5668194f1e8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateBy/basic.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateBy/basic.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateBy' // FIX: Replace with 'associateBy' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateBy/basic.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateBy/basic.kt.after index 065770033820..c70c92ab2850 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateBy/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateBy/basic.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateBy' // FIX: Replace with 'associateBy' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/array.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/array.kt index fec3ac94f9c0..7c8e290a08cd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/array.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/array.kt @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associate' with 'associateBy' // FIX: Replace with 'associateBy' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/array.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/array.kt.after index 4b12eaeca368..c8dede98c1a9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/array.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/array.kt.after @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associate' with 'associateBy' // FIX: Replace with 'associateBy' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic.kt index 0b13336e36c3..dcbbb5c4c9ee 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic.kt @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associate' with 'associateBy' // FIX: Replace with 'associateBy' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic.kt.after index b7836c846cb8..679d03abf8a0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic.kt.after @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associate' with 'associateBy' // FIX: Replace with 'associateBy' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic2.kt index 2a8c874e942b..6a952e31b76e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic2.kt @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associate' with 'associateBy' // FIX: Replace with 'associateBy' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic2.kt.after index 4b1c2f40d0bd..db55ee3cc8d9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic2.kt.after @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associate' with 'associateBy' // FIX: Replace with 'associateBy' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic3.kt index ce0ef7b00b7d..910c23d06ab7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic3.kt @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associate' with 'associateBy' // FIX: Replace with 'associateBy' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic3.kt.after index b7836c846cb8..679d03abf8a0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic3.kt.after @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associate' with 'associateBy' // FIX: Replace with 'associateBy' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic4.kt index 609c18461f29..c4bb9f5174ed 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic4.kt @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associate' with 'associateBy' // FIX: Replace with 'associateBy' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic4.kt.after index b7836c846cb8..679d03abf8a0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic4.kt.after @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associate' with 'associateBy' // FIX: Replace with 'associateBy' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic5.kt index 8a42feb0ebcc..72447fab42f7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic5.kt @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associate' with 'associateBy' // FIX: Replace with 'associateBy' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic5.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic5.kt.after index 51e2fa82f97d..829e4e75c174 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic5.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/basic5.kt.after @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associate' with 'associateBy' // FIX: Replace with 'associateBy' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/notSingle.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/notSingle.kt index b4ce8b246220..18bc318fabfe 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/notSingle.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByKeyAndValue/notSingle.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByTo/array.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByTo/array.kt index 4c8e17b315e2..fa8a0258c93b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByTo/array.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByTo/array.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associateTo' with 'associateByTo' // FIX: Replace with 'associateByTo' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByTo/array.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByTo/array.kt.after index 72698f580dc8..27f25165cf89 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByTo/array.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByTo/array.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associateTo' with 'associateByTo' // FIX: Replace with 'associateByTo' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByTo/basic.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByTo/basic.kt index f31c6c45f410..aa0e73a9fa79 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByTo/basic.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByTo/basic.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associateTo' with 'associateByTo' // FIX: Replace with 'associateByTo' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByTo/basic.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByTo/basic.kt.after index 90de09705e5c..6dd4ed9c852f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByTo/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByTo/basic.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associateTo' with 'associateByTo' // FIX: Replace with 'associateByTo' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/array.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/array.kt index e3705a31272e..41d547902af8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/array.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/array.kt @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associateTo' with 'associateByTo' // FIX: Replace with 'associateByTo' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/array.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/array.kt.after index ec5802cd1786..34d3eed5a58e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/array.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/array.kt.after @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associateTo' with 'associateByTo' // FIX: Replace with 'associateByTo' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic.kt index 8bb102834172..091a68c27bef 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic.kt @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associateTo' with 'associateByTo' // FIX: Replace with 'associateByTo' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic.kt.after index 31e2ac816c3b..a947b2aa5a22 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic.kt.after @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associateTo' with 'associateByTo' // FIX: Replace with 'associateByTo' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic2.kt index cca6ab618d28..6edf3763f107 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic2.kt @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associateTo' with 'associateByTo' // FIX: Replace with 'associateByTo' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic2.kt.after index ca7353967fd2..b828e83c8a35 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic2.kt.after @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associateTo' with 'associateByTo' // FIX: Replace with 'associateByTo' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic3.kt index 3836f9fae181..6cbce31166ad 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic3.kt @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associateTo' with 'associateByTo' // FIX: Replace with 'associateByTo' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic3.kt.after index 31e2ac816c3b..a947b2aa5a22 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic3.kt.after @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associateTo' with 'associateByTo' // FIX: Replace with 'associateByTo' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic4.kt index 911fbe3c1163..3b94fca1b85d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic4.kt @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associateTo' with 'associateByTo' // FIX: Replace with 'associateByTo' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic4.kt.after index 31e2ac816c3b..a947b2aa5a22 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateByToKeyAndValue/basic4.kt.after @@ -1,7 +1,7 @@ // HIGHLIGHT: INFORMATION // PROBLEM: Replace 'associateTo' with 'associateByTo' // FIX: Replace with 'associateByTo' -// WITH_RUNTIME +// WITH_STDLIB fun getKey(i: Int): Long = 1L fun getValue(i: Int): String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/array.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/array.kt index eed3daf96425..3cfbb4740d6a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/array.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/array.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/array.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/array.kt.after index c3792e692509..956170558c57 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/array.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/array.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/arrayVersion13.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/arrayVersion13.kt index a05520dae97b..affcc85ebe8c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/arrayVersion13.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/arrayVersion13.kt @@ -1,6 +1,6 @@ // LANGUAGE_VERSION: 1.3 // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic.kt index dafd0bc0524a..d93ca85e8b14 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateWith' // FIX: Replace with 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic.kt.after index e2da412e7e45..76cdf38d76ea 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateWith' // FIX: Replace with 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic2.kt index b040f299cd5e..5a12d4547d87 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic2.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateWith' // FIX: Replace with 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic2.kt.after index 533175ae4271..8b92e2c9de72 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic2.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateWith' // FIX: Replace with 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic3.kt index 30d14bec9b2c..f4e5589fb9f9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic3.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateWith' // FIX: Replace with 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic3.kt.after index e2da412e7e45..76cdf38d76ea 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic3.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateWith' // FIX: Replace with 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic4.kt index 0fae60bbf4fe..cb1dd8eb5def 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic4.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateWith' // FIX: Replace with 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic4.kt.after index df52eb9a0b9d..1f19fa6946cb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic4.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateWith' // FIX: Replace with 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic5.kt index 27de6e5f4df2..82c007646662 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic5.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateWith' // FIX: Replace with 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic5.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic5.kt.after index d2f39d519031..c7ce1e0b89a7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic5.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/basic5.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateWith' // FIX: Replace with 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/intArray.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/intArray.kt index 35acd5510135..5421bf1d836d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/intArray.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/intArray.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/intArray.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/intArray.kt.after index 12b6c28af73e..94cd196cdc56 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/intArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/intArray.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/intArrayVersion13.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/intArrayVersion13.kt index 0314416f8f57..4450f1f701df 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/intArrayVersion13.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/intArrayVersion13.kt @@ -1,6 +1,6 @@ // LANGUAGE_VERSION: 1.3 // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/labeledReturn.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/labeledReturn.kt index dd6678f7d079..be19e3640dd2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/labeledReturn.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/labeledReturn.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test(b: Boolean) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/multiLine.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/multiLine.kt index 992dfab5c440..41d7a81d2272 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/multiLine.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/multiLine.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateWith' // FIX: Replace with 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/multiLine.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/multiLine.kt.after index 682ff174aac8..0574274c0c8c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/multiLine.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/multiLine.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateWith' // FIX: Replace with 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/notPair.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/notPair.kt index a553a0e86066..4b56c364cb9a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/notPair.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/notPair.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test(b: Boolean) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/sequence.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/sequence.kt index e19fbfdaafbe..bbd93b7982b2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/sequence.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/sequence.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateWith' // FIX: Replace with 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/sequence.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/sequence.kt.after index 05126cbb81ed..76e8732e8723 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/sequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/sequence.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateWith' // FIX: Replace with 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/set.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/set.kt index ec06e2f08688..79abbd2d051f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/set.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/set.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateWith' // FIX: Replace with 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/set.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/set.kt.after index 6385330eb1af..2e8b432ae222 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/set.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWith/set.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associate' with 'associateWith' // FIX: Replace with 'associateWith' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/array.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/array.kt index e6011db99aad..ab4e245a8b79 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/array.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/array.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun associateWithTo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/array.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/array.kt.after index 4be1538de1c8..bf181605fc23 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/array.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/array.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun associateWithTo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/arrayVersion13.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/arrayVersion13.kt index 015bae77ec95..f35e2e976608 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/arrayVersion13.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/arrayVersion13.kt @@ -1,6 +1,6 @@ // LANGUAGE_VERSION: 1.3 // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun associateWithTo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic.kt index f18bb0938017..58ca13ccc558 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associateTo' with 'associateWithTo' // FIX: Replace with 'associateWithTo' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun associateWithTo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic.kt.after index 461a3ca66f1f..56c1f2f71f1e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associateTo' with 'associateWithTo' // FIX: Replace with 'associateWithTo' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun associateWithTo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic2.kt index 32b3da174071..6211f5a4ee16 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic2.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associateTo' with 'associateWithTo' // FIX: Replace with 'associateWithTo' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun associateWithTo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic2.kt.after index fe7f9fd585ce..b78f1b999c52 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic2.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associateTo' with 'associateWithTo' // FIX: Replace with 'associateWithTo' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun associateWithTo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic3.kt index 59b9fe6c2d73..d648c5212400 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic3.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associateTo' with 'associateWithTo' // FIX: Replace with 'associateWithTo' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun associateWithTo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic3.kt.after index 461a3ca66f1f..56c1f2f71f1e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic3.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associateTo' with 'associateWithTo' // FIX: Replace with 'associateWithTo' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun associateWithTo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic4.kt index 7bbc63ff5a40..191a06bb63bf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic4.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associateTo' with 'associateWithTo' // FIX: Replace with 'associateWithTo' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun associateWithTo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic4.kt.after index 0185cceda15a..b24c907fe9e2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic4.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associateTo' with 'associateWithTo' // FIX: Replace with 'associateWithTo' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun associateWithTo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic5.kt index 4abf4db9185d..541c1d1cfa39 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic5.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associateTo' with 'associateWithTo' // FIX: Replace with 'associateWithTo' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun associateWithTo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic5.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic5.kt.after index 050d35719da6..e0562fbf3324 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic5.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/associateWithTo/basic5.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace 'associateTo' with 'associateWithTo' // FIX: Replace with 'associateWithTo' -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun associateWithTo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/version1_2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/version1_2.kt index 6ad9e2fe8ab9..d3a892696ef2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/version1_2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceAssociateFunction/version1_2.kt @@ -1,6 +1,6 @@ // LANGUAGE_VERSION: 1.2 // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun getValue(i: Int): String = "" fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfArray.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfArray.kt index 857f59db7ca4..ab6682d75ba6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfArray.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfArray.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var array = arrayOf(1,2,3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfArray.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfArray.kt.after index 049e3a853952..711b7408bea9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfArray.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var array = arrayOf(1,2,3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfArrayWithPredicate.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfArrayWithPredicate.kt index ed9dc4dc2ff5..21b20f57c131 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfArrayWithPredicate.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfArrayWithPredicate.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var array = arrayOf(1,2,3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfCollection.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfCollection.kt index 68eaff9c2fb3..a160771e46e2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfCollection.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfCollection.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var list = listOf(1,2,3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfCollection.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfCollection.kt.after index d88f2d6e3b26..0c9cf9c2fef2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfCollection.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfCollection.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var list = listOf(1,2,3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfIterable.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfIterable.kt index 5ebcaa568a66..5c1b21106dd3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfIterable.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfIterable.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(iterable: Iterable) { iterable.count() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfIterable2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfIterable2.kt index 85ff6a0e4329..897450d7f886 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfIterable2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfIterable2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(iterable: Iterable?) { iterable?.count() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfIterable3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfIterable3.kt index 09a9ef648915..665daa2f24a0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfIterable3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfIterable3.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(iterable: Iterable) { iterable.run { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfMap.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfMap.kt index cb0305a882ce..b24a4f1ad9e2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfMap.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfMap.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var map = mapOf(1 to true) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfMap.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfMap.kt.after index a57d271ca4d6..0d47d923521b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfMap.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceCollectionCountWithSize/countOfMap.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var map = mapOf(1 to true) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/check/basic.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/check/basic.kt index eec7c70354d6..8e425767c04f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/check/basic.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/check/basic.kt @@ -1,5 +1,5 @@ // FIX: Replace with 'check()' call -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { if (b) throw IllegalStateException() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/check/basic.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/check/basic.kt.after index 9546083d32f7..0f0b074b3194 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/check/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/check/basic.kt.after @@ -1,5 +1,5 @@ // FIX: Replace with 'check()' call -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { check(!b) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/checkNotNull/basic.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/checkNotNull/basic.kt index 2d8fa0fc42a8..12f2b7a2c586 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/checkNotNull/basic.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/checkNotNull/basic.kt @@ -1,5 +1,5 @@ // FIX: Replace with 'checkNotNull()' call -// WITH_RUNTIME +// WITH_STDLIB fun test(foo: Int?) { if (foo == null) throw IllegalStateException() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/checkNotNull/basic.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/checkNotNull/basic.kt.after index 7961557161dd..a4700f093a89 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/checkNotNull/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/checkNotNull/basic.kt.after @@ -1,5 +1,5 @@ // FIX: Replace with 'checkNotNull()' call -// WITH_RUNTIME +// WITH_STDLIB fun test(foo: Int?) { checkNotNull(foo) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/notStringArgument.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/notStringArgument.kt index fc712a646cba..50985d05f55e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/notStringArgument.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/notStringArgument.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { try { } catch (e: Exception) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/notTargetException.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/notTargetException.kt index 4da48a732384..b7344c4d74b3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/notTargetException.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/notTargetException.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { if (b) throw IndexOutOfBoundsException() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/basic.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/basic.kt index 2ca21befda59..d897f73fd00f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/basic.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/basic.kt @@ -1,5 +1,5 @@ // FIX: Replace with 'require()' call -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { if (b) { throw IllegalArgumentException("test") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/basic.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/basic.kt.after index 8327b8fbb338..cbe51ee38468 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/basic.kt.after @@ -1,5 +1,5 @@ // FIX: Replace with 'require()' call -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { require(!b) { "test" } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/basic2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/basic2.kt index 9e8dfd422986..547b206905d0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/basic2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/basic2.kt @@ -1,5 +1,5 @@ // FIX: Replace with 'require()' call -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { if (b) { throw java.lang.IllegalArgumentException("test") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/basic2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/basic2.kt.after index 8327b8fbb338..cbe51ee38468 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/basic2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/basic2.kt.after @@ -1,5 +1,5 @@ // FIX: Replace with 'require()' call -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { require(!b) { "test" } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/comment.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/comment.kt index 8e825ac39008..0c4b3d6de350 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/comment.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/comment.kt @@ -1,5 +1,5 @@ // FIX: Replace with 'require()' call -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { if (b) { // comment1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/comment.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/comment.kt.after index 32fac69d89a2..89df411fa40f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/comment.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/comment.kt.after @@ -1,5 +1,5 @@ // FIX: Replace with 'require()' call -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { // comment1 // comment2 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/comment2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/comment2.kt index da6b5d26eb47..72bc6c6cc073 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/comment2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/comment2.kt @@ -1,5 +1,5 @@ // FIX: Replace with 'require()' call -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { if (b) { // comment1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/comment2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/comment2.kt.after index 34e37b56f708..e1a64fead8b7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/comment2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/comment2.kt.after @@ -1,5 +1,5 @@ // FIX: Replace with 'require()' call -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { require(!b) { // comment1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse.kt index 095fd761e7c8..da2637fd5f5c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(flag: Boolean) { if (!flag) throw IllegalArgumentException() else println(1) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse.kt.after index 511179d23993..d997608a2320 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(flag: Boolean) { require(flag) println(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse2.kt index 9274f190bb32..518f4aea15fd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(flag: Boolean) { if (!flag) throw IllegalArgumentException() else { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse2.kt.after index f55b6760ccb0..ca001833cf7a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(flag: Boolean) { require(flag) println(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse3.kt index dfb5b95573bb..0124d0c9054f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(flag: Boolean, i: Int) { if (!flag) { throw IllegalArgumentException() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse3.kt.after index 4896d76724c8..7127f0ae01a0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/hasElse3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(flag: Boolean, i: Int) { require(flag) if (i == 0) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/not.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/not.kt index 32bfcbd08e05..17cf01e127a2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/not.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/not.kt @@ -1,5 +1,5 @@ // FIX: Replace with 'require()' call -// WITH_RUNTIME +// WITH_STDLIB fun test(foo: Boolean) { if (!foo) throw IllegalArgumentException("test") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/not.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/not.kt.after index 91e705483abb..bf521aa77393 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/not.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/not.kt.after @@ -1,5 +1,5 @@ // FIX: Replace with 'require()' call -// WITH_RUNTIME +// WITH_STDLIB fun test(foo: Boolean) { require(foo) { "test" } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/notEq.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/notEq.kt index 956d21220d86..7d225b73aff2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/notEq.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/notEq.kt @@ -1,5 +1,5 @@ // FIX: Replace with 'require()' call -// WITH_RUNTIME +// WITH_STDLIB fun test(foo: Int) { if (foo != 0) throw IllegalArgumentException("test") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/notEq.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/notEq.kt.after index ffdae9178d86..66e3b7a91268 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/notEq.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/notEq.kt.after @@ -1,5 +1,5 @@ // FIX: Replace with 'require()' call -// WITH_RUNTIME +// WITH_STDLIB fun test(foo: Int) { require(foo == 0) { "test" } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/requireNotNull/basic.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/requireNotNull/basic.kt index ec94eedf7ac4..366d59c1fd22 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/requireNotNull/basic.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/requireNotNull/basic.kt @@ -1,5 +1,5 @@ // FIX: Replace with 'requireNotNull()' call -// WITH_RUNTIME +// WITH_STDLIB fun test(foo: Int?) { if (foo == null) { throw IllegalArgumentException("test") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/requireNotNull/basic.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/requireNotNull/basic.kt.after index c5a9ced25c85..d0ea02d31df4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/requireNotNull/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/requireNotNull/basic.kt.after @@ -1,5 +1,5 @@ // FIX: Replace with 'requireNotNull()' call -// WITH_RUNTIME +// WITH_STDLIB fun test(foo: Int?) { requireNotNull(foo) { "test" } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/requireNotNull/hasElse.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/requireNotNull/hasElse.kt index 4f2b2d6357ee..0332f5a9eb44 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/requireNotNull/hasElse.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/requireNotNull/hasElse.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(foo: Int?) { if (foo == null) throw IllegalArgumentException("test") else println(1) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/requireNotNull/hasElse.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/requireNotNull/hasElse.kt.after index 0695c044ab52..29389a4c6ea6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/requireNotNull/hasElse.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/requireNotNull/hasElse.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(foo: Int?) { requireNotNull(foo) { "test" } println(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/usedAsExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/usedAsExpression.kt index 17f346ec0f3b..48ee8a1ec83c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/usedAsExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/usedAsExpression.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(flag: Boolean): Int { return if (!flag) throw IllegalArgumentException() else 1 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/version12.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/version12.kt index 006996b3997a..87678fd617b0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/version12.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/version12.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // LANGUAGE_VERSION: 1.2 fun test(foo: Int?) { if (foo == null) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/array/isEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/array/isEmpty.kt index 0d2dab7e8743..a6d8713be445 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/array/isEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/array/isEmpty.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(arr: Array): Array { return if (arr.isEmpty()) { arrayOf("a") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/array/isNotEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/array/isNotEmpty.kt index 2d975dc22cd8..70679b7b8172 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/array/isNotEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/array/isNotEmpty.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(arr: Array): Array { return if (arr.isNotEmpty()) { arr diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/collection/isEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/collection/isEmpty.kt index a0db99714888..dbd68d142312 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/collection/isEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/collection/isEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(collection: Collection): Collection { return if (collection.isEmpty()) { listOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/collection/isEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/collection/isEmpty.kt.after index 430af274aa64..4accfe8c0ff4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/collection/isEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/collection/isEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(collection: Collection): Collection { return collection.ifEmpty { listOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/collection/isNotEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/collection/isNotEmpty.kt index 1c5afffc5118..57efd2da4922 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/collection/isNotEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/collection/isNotEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(collection: Collection): Collection { return if (collection.isNotEmpty()) { collection diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/collection/isNotEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/collection/isNotEmpty.kt.after index 430af274aa64..4accfe8c0ff4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/collection/isNotEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/collection/isNotEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(collection: Collection): Collection { return collection.ifEmpty { listOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasBreak.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasBreak.kt index f0f52e592e29..dd2f4c7069c3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasBreak.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasBreak.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(listOne: List, listTwo: List) { for (i in 1..10) { val z = if (listOne.isNotEmpty()) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasBreak2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasBreak2.kt index 5557074728c2..596649272651 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasBreak2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasBreak2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(listOne: List, listTwo: List) { for (i in 1..10) { val z = if (listOne.isNotEmpty()) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasBreak2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasBreak2.kt.after index dd3a8596dfb2..4c31067a7112 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasBreak2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasBreak2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(listOne: List, listTwo: List) { for (i in 1..10) { val z = listOne.ifEmpty { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasContinue.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasContinue.kt index 5441f02d160a..841fe0860580 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasContinue.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasContinue.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(listOne: List, listTwo: List) { for (i in 1..10) { val z = if (listOne.isEmpty()) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasContinue2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasContinue2.kt index 73864d179286..575b49e08b40 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasContinue2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasContinue2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(listOne: List, listTwo: List) { for (i in 1..10) { val z = if (listOne.isEmpty()) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasContinue2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasContinue2.kt.after index 1e85300e2c1f..90d4638f4025 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasContinue2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasContinue2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(listOne: List, listTwo: List) { for (i in 1..10) { val z = listOne.ifEmpty { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasLabeledBreak.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasLabeledBreak.kt index 2fbc3bda9c73..99e5112ccdb0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasLabeledBreak.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasLabeledBreak.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(listOne: List, listTwo: List) { outer@ for (i in 1..10) { val z = if (listOne.isNotEmpty()) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasLabeledBreak2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasLabeledBreak2.kt index 355950a7a3b4..fcd12fd57259 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasLabeledBreak2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasLabeledBreak2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(listOne: List, listTwo: List) { outer@ for (i in 1..10) { val z = if (listOne.isNotEmpty()) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasLabeledContinue.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasLabeledContinue.kt index 47a0c398f323..bde4e5f119da 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasLabeledContinue.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasLabeledContinue.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(listOne: List, listTwo: List) { outer@ for (i in 1..10) { val z = if (listOne.isEmpty()) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasLabeledContinue2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasLabeledContinue2.kt index 9e7877d1b335..f49d5b2b949f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasLabeledContinue2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasLabeledContinue2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(listOne: List, listTwo: List) { outer@ for (i in 1..10) { val z = if (listOne.isEmpty()) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasMultiStatement.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasMultiStatement.kt index 0bcdd6c384f9..a2cb7209d345 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasMultiStatement.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasMultiStatement.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() = listOf(1) fun test(list: List): List { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasMultiStatement.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasMultiStatement.kt.after index cd7d2fdf8bb2..03d6f1830774 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasMultiStatement.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasMultiStatement.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() = listOf(1) fun test(list: List): List { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasMultiStatement2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasMultiStatement2.kt index 76a6d00d25be..7a99ef9d43e7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasMultiStatement2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasMultiStatement2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() = listOf(1) fun test(list: List): List { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasMultiStatement2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasMultiStatement2.kt.after index cd7d2fdf8bb2..03d6f1830774 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasMultiStatement2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/defaultValueBlockHasMultiStatement2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() = listOf(1) fun test(list: List): List { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/elseIf.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/elseIf.kt index dc89a4231bc3..ee8550ccc464 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/elseIf.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/elseIf.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List, b: Boolean): List { return if (list.isEmpty()) { listOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/implicitReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/implicitReceiver.kt index 44f9070c79e8..ef560a2624fa 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/implicitReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/implicitReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun String.test(): String { return if (isBlank()) { "foo" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/implicitReceiver.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/implicitReceiver.kt.after index 5125e1bcc084..660a80d7a84c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/implicitReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/implicitReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun String.test(): String { return ifBlank { "foo" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/intArray/isEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/intArray/isEmpty.kt index 5825307f5330..07a6a1697f34 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/intArray/isEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/intArray/isEmpty.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(intArr: IntArray): IntArray { return if (intArr.isEmpty()) { intArrayOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/intArray/isNotEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/intArray/isNotEmpty.kt index 8e33b68a7394..ac9ea0e54820 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/intArray/isNotEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/intArray/isNotEmpty.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(intArr: IntArray): IntArray { return if (intArr.isNotEmpty()) { intArr diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/list/isEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/list/isEmpty.kt index 8b6c9ef0cbe1..3cc6ff1612ad 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/list/isEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/list/isEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return if (list.isEmpty()) { listOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/list/isEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/list/isEmpty.kt.after index 1c654e0fb3a4..565dc1f69da3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/list/isEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/list/isEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return list.ifEmpty { listOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/list/isNotEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/list/isNotEmpty.kt index 9a133854e6c6..9cc9756728a4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/list/isNotEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/list/isNotEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return if (list.isNotEmpty()) { list diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/list/isNotEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/list/isNotEmpty.kt.after index 1c654e0fb3a4..565dc1f69da3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/list/isNotEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/list/isNotEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return list.ifEmpty { listOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/map/isEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/map/isEmpty.kt index c2c112e9bf8a..edc74fa336a9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/map/isEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/map/isEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map): Map { return if (map.isEmpty()) { mapOf(1 to 2) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/map/isEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/map/isEmpty.kt.after index 45d5226b7653..82a174760f04 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/map/isEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/map/isEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map): Map { return map.ifEmpty { mapOf(1 to 2) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/map/isNotEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/map/isNotEmpty.kt index b262d7ee0743..5275bfc346e6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/map/isNotEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/map/isNotEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map): Map { return if (map.isNotEmpty()) { map diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/map/isNotEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/map/isNotEmpty.kt.after index 45d5226b7653..82a174760f04 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/map/isNotEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/map/isNotEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map): Map { return map.ifEmpty { mapOf(1 to 2) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/negated.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/negated.kt index c412a7b27854..105b93d822ec 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/negated.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/negated.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return if (!list.isEmpty()) { list diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/noElse.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/noElse.kt index 358d7ecf2255..4ae09a10dc8b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/noElse.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/noElse.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { if (list.isEmpty()) { listOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/notSelfValue.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/notSelfValue.kt index 2b058d40e09e..28f9dc67817b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/notSelfValue.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/notSelfValue.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return if (list.isEmpty()) { listOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/notSelfValue2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/notSelfValue2.kt index 9d372b5bca2e..502332fbf3da 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/notSelfValue2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/notSelfValue2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List): List { return if (list.isEmpty()) { listOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/set/isEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/set/isEmpty.kt index 6b236a1f7f49..3f973b9f975f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/set/isEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/set/isEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(set: Set): Set { return if (set.isEmpty()) { setOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/set/isEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/set/isEmpty.kt.after index 5a8311ad75ff..1e20444819cf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/set/isEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/set/isEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(set: Set): Set { return set.ifEmpty { setOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/set/isNotEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/set/isNotEmpty.kt index 23e54c364dfc..f5c4ec26c74c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/set/isNotEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/set/isNotEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(set: Set): Set { return if (set.isNotEmpty()) { set diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/set/isNotEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/set/isNotEmpty.kt.after index 5a8311ad75ff..1e20444819cf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/set/isNotEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/set/isNotEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(set: Set): Set { return set.ifEmpty { setOf(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isBlank.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isBlank.kt index 680568eaee8c..623047566e9d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isBlank.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isBlank.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Api(val name: String) fun test(api: Api) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isBlank.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isBlank.kt.after index d1e686fb5b86..0376feb817e0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isBlank.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isBlank.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Api(val name: String) fun test(api: Api) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isEmpty.kt index 094b021d8383..95f7b66298e0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Api(val name: String) fun test(api: Api) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isEmpty.kt.after index dcecc4cff670..5247a8876996 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Api(val name: String) fun test(api: Api) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isNotBlank.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isNotBlank.kt index 2c966cb30d21..cc8ddfca1c9f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isNotBlank.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isNotBlank.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Api(val name: String) fun test(api: Api) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isNotBlank.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isNotBlank.kt.after index d1e686fb5b86..0376feb817e0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isNotBlank.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isNotBlank.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Api(val name: String) fun test(api: Api) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isNotEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isNotEmpty.kt index e91a87072e28..720edb9a2816 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isNotEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isNotEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Api(val name: String) fun test(api: Api) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isNotEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isNotEmpty.kt.after index dcecc4cff670..5247a8876996 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isNotEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceIsEmptyWithIfEmpty/str/isNotEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Api(val name: String) fun test(api: Api) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/asList.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/asList.kt index b205c2ff4013..33bf1e87a0dc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/asList.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/asList.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace with 'listOf' function import java.util.Arrays diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/asList.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/asList.kt.after index 164da066005d..1d886c89050a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/asList.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/asList.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace with 'listOf' function import java.util.Arrays diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/copyOf.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/copyOf.kt index 35f1d1547393..10d57ca6adca 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/copyOf.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/copyOf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/copyOf.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/copyOf.kt.after index cf70f7617ee4..51445f397cd6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/copyOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/copyOf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/copyOfRange.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/copyOfRange.kt index 91cf6a54c867..029c8da5a9ef 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/copyOfRange.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/copyOfRange.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/copyOfRange.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/copyOfRange.kt.after index c9ace64ec40e..104810a249ad 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/copyOfRange.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/copyOfRange.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepEquals.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepEquals.kt index 3564c35aa3e5..d2f8d1f90358 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepEquals.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepEquals.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepEquals.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepEquals.kt.after index ac0cc1138362..4dc4a87d52f7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepEquals.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepEquals.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepEqualsWithNullOther.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepEqualsWithNullOther.kt index c1a1d6e380ed..66a4efdcd83d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepEqualsWithNullOther.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepEqualsWithNullOther.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none import java.util.Arrays diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepHashCode.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepHashCode.kt index cfdf60203a31..f9cbb67de37f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepHashCode.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepHashCode.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepHashCode.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepHashCode.kt.after index 22edcc27814e..f3c4117830d5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepHashCode.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepHashCode.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepToString.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepToString.kt index 596dd271accd..8a1f0ade408b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepToString.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepToString.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepToString.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepToString.kt.after index ac41db4a466c..8581e4538f56 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepToString.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/deepToString.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equals.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equals.kt index f3ec9db7db68..9b93e85d815b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equals.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equals.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equals.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equals.kt.after index e5daae8fc4dc..f1833d08ba0e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equals.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equals.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equals2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equals2.kt index 33378797acfe..41a94580f65e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equals2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equals2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equals2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equals2.kt.after index 3c0da93797fb..43716fc411aa 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equals2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equals2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithBlockComment.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithBlockComment.kt index 6618af0d5038..437f7f1c93ea 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithBlockComment.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithBlockComment.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithBlockComment.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithBlockComment.kt.after index fac152dad153..627554ca72f7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithBlockComment.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithBlockComment.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithEOLComment.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithEOLComment.kt index 755e473013bf..6ab3a8a901b3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithEOLComment.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithEOLComment.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithEOLComment.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithEOLComment.kt.after index 9754b7c70cd9..c91ee6ec5b6c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithEOLComment.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithEOLComment.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithNullOther.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithNullOther.kt index 4553b8cb2e5d..c2b1eeee1b27 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithNullOther.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/equalsWithNullOther.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none import java.util.Arrays diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/hashCode.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/hashCode.kt index 24ce17ba771a..1ff2c8e3d6ed 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/hashCode.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/hashCode.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/hashCode.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/hashCode.kt.after index c6d0d46945be..f57a60a8add4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/hashCode.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/hashCode.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/hashCodeWithImport.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/hashCodeWithImport.kt index afe61c9d424f..0af92cdc9215 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/hashCodeWithImport.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/hashCodeWithImport.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays.hashCode fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/hashCodeWithImport.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/hashCodeWithImport.kt.after index d104db5ba4d5..c2c1d19e2048 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/hashCodeWithImport.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/hashCodeWithImport.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays.hashCode fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/mutableListOf.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/mutableListOf.kt index fd2c82c494f7..b23dcbba6d8e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/mutableListOf.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/mutableListOf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace with 'mutableListOf' function import java.util.Arrays diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/mutableListOf.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/mutableListOf.kt.after index 086d47eabc56..fdc081884241 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/mutableListOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/mutableListOf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace with 'mutableListOf' function import java.util.Arrays diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/mutableSetOf.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/mutableSetOf.kt index 416d80bf5833..55ef77e6177d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/mutableSetOf.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/mutableSetOf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // MIN_JAVA_VERSION: 9 // FIX: Replace with 'mutableSetOf' function diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/mutableSetOf.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/mutableSetOf.kt.after index b651100399d8..fb3e58142e87 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/mutableSetOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/mutableSetOf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // MIN_JAVA_VERSION: 9 // FIX: Replace with 'mutableSetOf' function diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/notCopyOf.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/notCopyOf.kt index 365bfd490a70..ca30fa647ef7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/notCopyOf.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/notCopyOf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none import java.util.Arrays diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/qualified.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/qualified.kt index cd08af285a81..c0d56780464f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/qualified.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/qualified.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array = intArrayOf(1, 2, 3) val result = java.util.Arrays.copyOf(array, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/qualified.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/qualified.kt.after index f76028beb80d..d056cf085088 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/qualified.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/qualified.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val array = intArrayOf(1, 2, 3) val result = array.copyOf(3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/setOf.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/setOf.kt index d404ac02197e..9d2b7ad7c571 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/setOf.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/setOf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // MIN_JAVA_VERSION: 9 // FIX: Replace with 'setOf' function diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/setOf.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/setOf.kt.after index 7baa10347e82..7f50350009cb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/setOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/setOf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // MIN_JAVA_VERSION: 9 // FIX: Replace with 'setOf' function diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/setOf2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/setOf2.kt index d0423ffb2fdc..cc5d7620c1c8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/setOf2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/setOf2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // MIN_JAVA_VERSION: 9 // FIX: Replace with 'setOf' function diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/setOf2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/setOf2.kt.after index b10e56be6966..b5850fd445ff 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/setOf2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/setOf2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // MIN_JAVA_VERSION: 9 // FIX: Replace with 'setOf' function diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/toString.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/toString.kt index c48477184312..52d794e5b675 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/toString.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/toString.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/toString.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/toString.kt.after index 60d0b232ad44..88a0ee8688dd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/toString.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/toString.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.Arrays fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/toStringWithNullableReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/toStringWithNullableReceiver.kt index 026ebf78c163..84da006dc2af 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/toStringWithNullableReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/toStringWithNullableReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none import java.util.Arrays diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/byte.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/byte.kt index 90e3f64d6196..d497051a5ab7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/byte.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/byte.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = java.lang.Byte.compare(5, 6) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/byte.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/byte.kt.after index eafe6adc30a7..608dbaeb358e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/byte.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/byte.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = 5.compareTo(6) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/character.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/character.kt index 17be4f8998a6..7f5cb54bf50d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/character.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/character.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = java.lang.Character.compare('3', '4') diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/character.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/character.kt.after index bf8a8e3ec11c..af7898e565b4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/character.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/character.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = '3'.compareTo('4') diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/double.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/double.kt index c18af510a147..2c8f6e5e8479 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/double.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/double.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = java.lang.Double.compare(5.0, 6.0) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/double.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/double.kt.after index f20bbf241a8c..ec806a63b5c7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/double.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/double.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = 5.0.compareTo(6.0) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/float.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/float.kt index d8017b2a85e8..422a78a766c5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/float.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/float.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = java.lang.Float.compare(5.0, 6.0) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/float.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/float.kt.after index f20bbf241a8c..ec806a63b5c7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/float.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/float.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = 5.0.compareTo(6.0) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/integer.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/integer.kt index 5067ec7131d3..4888751a3c4b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/integer.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/integer.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = Integer.compare(5, 6) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/integer.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/integer.kt.after index eafe6adc30a7..608dbaeb358e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/integer.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/integer.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = 5.compareTo(6) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/long.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/long.kt index c911ee697758..2226ff83444b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/long.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/long.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = java.lang.Long.compare(5, 6) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/long.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/long.kt.after index eafe6adc30a7..608dbaeb358e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/long.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/long.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = 5.compareTo(6) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/short.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/short.kt index 3588ac9f8d8a..696176923b89 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/short.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/short.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = java.lang.Short.compare(5, 6) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/short.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/short.kt.after index eafe6adc30a7..608dbaeb358e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/short.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/compare/short.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = 5.compareTo(6) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/notApplicablePrint.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/notApplicablePrint.kt index bcf4f8013d29..c14bccbcd7cf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/notApplicablePrint.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/notApplicablePrint.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test() { System.err.print("foo") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print.kt index f8f8b9d8ed55..32df594b130d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { System.out.print("foo") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print.kt.after index 05083cc57846..40187f1e956a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { print("foo") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print2.kt index f6bda295781a..7f5a1ed22403 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.lang.System.out fun x() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print2.kt.after index 1d0dc78af415..760d9c09fdc7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.lang.System.out fun x() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print3.kt index 591b8f917a0e..d5f16dd22ebd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.lang.System.out fun x() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print3.kt.after index 18798f5eeb1e..69eec7cf6d57 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.lang.System.out fun x() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print4.kt index 46449867d2f7..7a74c524b4a4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun x() { listOf("") .take(10) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print4.kt.after index 108645383d75..7a29a8d25e0e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/print4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun x() { listOf("") .take(10) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println.kt index 5262307ac620..558fc320d2ba 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { System.out.println() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println.kt.after index 16e28e65662b..7198fb164e4a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { println() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println_2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println_2.kt index f13687255204..b75da2b91cdb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println_2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println_2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { System.out.println("foo") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println_2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println_2.kt.after index 8e2e10d0275f..d9bdce0c63cf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println_2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println_2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { println("foo") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println_3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println_3.kt index 5e0809cbf151..81a6bd0af2d1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println_3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println_3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { System.out.println("foo").let { it } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println_3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println_3.kt.after index ce6010bd2f9c..9f6200a2f0e9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println_3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/io/println_3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { println("foo").let { it } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/IEEEremainder.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/IEEEremainder.kt index 433ac7e8d1a4..e7ab80d1b1a1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/IEEEremainder.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/IEEEremainder.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { Math.IEEEremainder(x, y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/IEEEremainder.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/IEEEremainder.kt.after index a9d2da129899..2574b59dc6e4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/IEEEremainder.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/IEEEremainder.kt.after @@ -1,6 +1,6 @@ import kotlin.math.IEEErem -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { x.IEEErem(y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs.kt index 0c77189ad26b..4a6e8ee1198a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.abs(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs.kt.after index 9322573b9bef..87837be21c45 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs.kt.after @@ -1,6 +1,6 @@ import kotlin.math.abs -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { abs(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs2.kt index 9128cc86d395..6e49cdb3e3b4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.lang.Math.abs fun x() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs2.kt.after index 409425aad8ed..089f42633200 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.lang.Math.abs fun x() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs3.kt index b70487d17529..8f0e90ad3750 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun x() { listOf() .take(10) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs3.kt.after index 75142f667745..e641dc70667d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs3.kt.after @@ -1,6 +1,6 @@ import kotlin.math.abs -// WITH_RUNTIME +// WITH_STDLIB fun x() { listOf() .take(10) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs4.kt index 0ee67aa7be7f..967f4350bcd3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun x() { val a = 4 val b = Math.abs(a).let { println(it) } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs4.kt.after index 4f47e209f59d..9b85f1a7e3a7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs4.kt.after @@ -1,6 +1,6 @@ import kotlin.math.abs -// WITH_RUNTIME +// WITH_STDLIB fun x() { val a = 4 val b = abs(a).let { println(it) } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithBlockComment.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithBlockComment.kt index 64be611019da..148fc8099511 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithBlockComment.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithBlockComment.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.lang.Math.abs fun x() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithBlockComment.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithBlockComment.kt.after index 5b899c0fc215..4c8d250742e5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithBlockComment.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithBlockComment.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.lang.Math.abs fun x() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithEOLComment.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithEOLComment.kt index cc4ce5afec3d..f4125c617a5c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithEOLComment.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithEOLComment.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.lang.Math.abs fun x() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithEOLComment.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithEOLComment.kt.after index e47838dd202b..92cb4a14cfb1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithEOLComment.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithEOLComment.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.lang.Math.abs fun x() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithEOLComment2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithEOLComment2.kt index d5ac60202e27..46fed9da4059 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithEOLComment2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithEOLComment2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun x() { // comment Math.abs(5) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithEOLComment2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithEOLComment2.kt.after index 9b7300105f0f..b5cd90abb421 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithEOLComment2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/absWithEOLComment2.kt.after @@ -1,6 +1,6 @@ import kotlin.math.abs -// WITH_RUNTIME +// WITH_STDLIB fun x() { // comment abs(5) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/acos.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/acos.kt index 5a994aa98708..ccc98459732d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/acos.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/acos.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.acos(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/acos.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/acos.kt.after index f01886cbd484..71ffdb9883dc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/acos.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/acos.kt.after @@ -1,6 +1,6 @@ import kotlin.math.acos -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { acos(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/asin.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/asin.kt index b8077ad862d0..45cd578ce170 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/asin.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/asin.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.asin(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/asin.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/asin.kt.after index 926b9be91a99..260dcf14f64e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/asin.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/asin.kt.after @@ -1,6 +1,6 @@ import kotlin.math.asin -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { asin(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/atan.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/atan.kt index 45fb989f6299..87284fb1cc65 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/atan.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/atan.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.atan(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/atan.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/atan.kt.after index a44221198f01..e08532364a73 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/atan.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/atan.kt.after @@ -1,6 +1,6 @@ import kotlin.math.atan -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { atan(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/atan2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/atan2.kt index b6feeccf38ae..7e2618e2c3e1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/atan2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/atan2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { Math.atan2(x, y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/atan2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/atan2.kt.after index d1420430d403..454db51544d0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/atan2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/atan2.kt.after @@ -1,6 +1,6 @@ import kotlin.math.atan2 -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { atan2(x, y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/ceil.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/ceil.kt index 9a6d1b007c54..05bbbff08856 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/ceil.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/ceil.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.ceil(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/ceil.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/ceil.kt.after index d3feb34518d3..0dc72832af72 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/ceil.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/ceil.kt.after @@ -1,6 +1,6 @@ import kotlin.math.ceil -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { ceil(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/coerceAtLeast.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/coerceAtLeast.kt index f0479fced867..fe8e6ced64b9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/coerceAtLeast.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/coerceAtLeast.kt @@ -1,5 +1,5 @@ // FIX: Replace with 'coerceAtLeast' function -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { Math.max(x, y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/coerceAtLeast.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/coerceAtLeast.kt.after index f3a7f9d1b66e..1022b52c5c6e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/coerceAtLeast.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/coerceAtLeast.kt.after @@ -1,5 +1,5 @@ // FIX: Replace with 'coerceAtLeast' function -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { x.coerceAtLeast(y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/coerceAtMost.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/coerceAtMost.kt index 256f28428d2a..825cf4dc9110 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/coerceAtMost.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/coerceAtMost.kt @@ -1,5 +1,5 @@ // FIX: Replace with 'coerceAtMost' function -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { Math.min(x, y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/coerceAtMost.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/coerceAtMost.kt.after index c5accd132cce..1645516c0ba7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/coerceAtMost.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/coerceAtMost.kt.after @@ -1,5 +1,5 @@ // FIX: Replace with 'coerceAtMost' function -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { x.coerceAtMost(y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/copySign.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/copySign.kt index 4c2088c55c06..9c0e7598a267 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/copySign.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/copySign.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { Math.copySign(x, y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/copySign.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/copySign.kt.after index ef21acf1587c..cf1ecdd4c0b5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/copySign.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/copySign.kt.after @@ -1,6 +1,6 @@ import kotlin.math.withSign -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { x.withSign(y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/cos.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/cos.kt index c33da857afbf..654af8d971e0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/cos.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/cos.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.cos(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/cos.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/cos.kt.after index 126868c4d6d5..e3c703ef4666 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/cos.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/cos.kt.after @@ -1,6 +1,6 @@ import kotlin.math.cos -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { cos(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/cosh.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/cosh.kt index c80d53b03965..dd4bc1895fc3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/cosh.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/cosh.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.cosh(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/cosh.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/cosh.kt.after index e427b388a412..364d13f07f36 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/cosh.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/cosh.kt.after @@ -1,6 +1,6 @@ import kotlin.math.cosh -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { cosh(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/exp.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/exp.kt index 9499ac6eb743..267d956e6519 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/exp.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/exp.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.exp(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/exp.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/exp.kt.after index 53c7f474221a..f8def4ecc96f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/exp.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/exp.kt.after @@ -1,6 +1,6 @@ import kotlin.math.exp -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { exp(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/expm1.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/expm1.kt index 2503dfd119a3..5e6434b19093 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/expm1.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/expm1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.expm1(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/expm1.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/expm1.kt.after index d7365b45da7a..dfd0e1a5deda 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/expm1.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/expm1.kt.after @@ -1,6 +1,6 @@ import kotlin.math.expm1 -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { expm1(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/floor.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/floor.kt index c1da64816852..405d944edead 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/floor.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/floor.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.floor(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/floor.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/floor.kt.after index 9d8b37f254a1..67205042009a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/floor.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/floor.kt.after @@ -1,6 +1,6 @@ import kotlin.math.floor -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { floor(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/hypot.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/hypot.kt index a3545e8d4843..5aed51c5c0d7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/hypot.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/hypot.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { Math.hypot(x, y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/hypot.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/hypot.kt.after index 1af001a6248a..0a1d89fb628b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/hypot.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/hypot.kt.after @@ -1,6 +1,6 @@ import kotlin.math.hypot -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { hypot(x, y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log.kt index 77c156fbc956..211a90af1799 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.log(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log.kt.after index ce65e0d74726..8786adb6a5dc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log.kt.after @@ -1,6 +1,6 @@ import kotlin.math.ln -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { ln(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log10.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log10.kt index 299e1fc415fb..74577930ce8d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log10.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log10.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.log10(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log10.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log10.kt.after index 1470cdd5d80a..a4e6081bd709 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log10.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log10.kt.after @@ -1,6 +1,6 @@ import kotlin.math.log10 -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { log10(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log1p.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log1p.kt index 2f17a179c8a6..09a3b9086959 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log1p.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log1p.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.log1p(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log1p.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log1p.kt.after index 4e2fa5e23267..0763c627764d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log1p.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/log1p.kt.after @@ -1,6 +1,6 @@ import kotlin.math.ln1p -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { ln1p(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/max.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/max.kt index fafccc270f91..71e41d061ce3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/max.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/max.kt @@ -1,5 +1,5 @@ // FIX: Replace with 'max' function -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { Math.max(x, y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/max.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/max.kt.after index f880085519a8..7878d874d112 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/max.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/max.kt.after @@ -1,7 +1,7 @@ import kotlin.math.max // FIX: Replace with 'max' function -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { max(x, y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/min.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/min.kt index bf8b703697a7..5e4d091e8923 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/min.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/min.kt @@ -1,5 +1,5 @@ // FIX: Replace with 'min' function -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { Math.min(x, y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/min.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/min.kt.after index 3b01ae1a5db7..85275f1711e9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/min.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/min.kt.after @@ -1,7 +1,7 @@ import kotlin.math.min // FIX: Replace with 'min' function -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { min(x, y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/nextAfter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/nextAfter.kt index 25945390da19..f59bd85298ca 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/nextAfter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/nextAfter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { Math.nextAfter(x, y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/nextAfter.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/nextAfter.kt.after index 46953c20b8a8..fbd79fbd6729 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/nextAfter.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/nextAfter.kt.after @@ -1,6 +1,6 @@ import kotlin.math.nextTowards -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { x.nextTowards(y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/nextUp.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/nextUp.kt index 39a4afdbd5e9..94db2ce444e5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/nextUp.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/nextUp.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.nextUp(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/nextUp.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/nextUp.kt.after index 40fb5f6a91c7..efd2d744c3cb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/nextUp.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/nextUp.kt.after @@ -1,6 +1,6 @@ import kotlin.math.nextUp -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { x.nextUp() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/notApplicableAbs.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/notApplicableAbs.kt index e45dc44a1309..e5e0e74b6867 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/notApplicableAbs.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/notApplicableAbs.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test(x: Double) { Math.abs(x) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/pow.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/pow.kt index ceb332729a2c..ccc55661e1ff 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/pow.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/pow.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { Math.pow(x, y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/pow.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/pow.kt.after index 0287fb0e169a..3887ef3f7d8f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/pow.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/pow.kt.after @@ -1,6 +1,6 @@ import kotlin.math.pow -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double, y: Double) { x.pow(y) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/rint.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/rint.kt index e3ffa39274d7..3c40e56f7269 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/rint.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/rint.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.rint(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/rint.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/rint.kt.after index b6cc7dc78806..f71c1bb77127 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/rint.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/rint.kt.after @@ -1,6 +1,6 @@ import kotlin.math.round -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { round(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/roundToInt.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/roundToInt.kt index a52b53447aee..440a089ce40c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/roundToInt.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/roundToInt.kt @@ -1,5 +1,5 @@ // FIX: Replace with 'roundToInt' function -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.round(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/roundToInt.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/roundToInt.kt.after index 4f9b55cec443..32b931f1c781 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/roundToInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/roundToInt.kt.after @@ -1,7 +1,7 @@ import kotlin.math.roundToInt // FIX: Replace with 'roundToInt' function -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { x.roundToInt() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/roundToLong.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/roundToLong.kt index b4b97e6aa9c3..fb39dfd59445 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/roundToLong.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/roundToLong.kt @@ -1,5 +1,5 @@ // FIX: Replace with 'roundToLong' function -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.round(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/roundToLong.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/roundToLong.kt.after index c610726ee6ee..df3c58d2da24 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/roundToLong.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/roundToLong.kt.after @@ -1,7 +1,7 @@ import kotlin.math.roundToLong // FIX: Replace with 'roundToLong' function -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { x.roundToLong() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/signum.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/signum.kt index 0db316513d3a..55144130ced6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/signum.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/signum.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.signum(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/signum.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/signum.kt.after index 0193a8ce6fa9..a1ce0d5d269e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/signum.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/signum.kt.after @@ -1,6 +1,6 @@ import kotlin.math.sign -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { sign(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sin.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sin.kt index 281f795dfafd..1b7636bdb008 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sin.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sin.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.sin(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sin.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sin.kt.after index 4b2230bd0c22..02c3359e29e6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sin.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sin.kt.after @@ -1,6 +1,6 @@ import kotlin.math.sin -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { sin(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sinh.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sinh.kt index f79ead5cd89b..9b0fad84b461 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sinh.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sinh.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.sinh(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sinh.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sinh.kt.after index 9e8f57a05934..e43ac753fd4c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sinh.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sinh.kt.after @@ -1,6 +1,6 @@ import kotlin.math.sinh -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { sinh(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sqrt.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sqrt.kt index b9004bfff374..7c35bbc0b520 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sqrt.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sqrt.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.sqrt(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sqrt.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sqrt.kt.after index acea97d6be9a..87b150923739 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sqrt.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/sqrt.kt.after @@ -1,6 +1,6 @@ import kotlin.math.sqrt -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { sqrt(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/tan.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/tan.kt index 657b8905d269..36865aa57aac 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/tan.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/tan.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { Math.tan(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/tan.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/tan.kt.after index ffc1073b3186..5203adae5c31 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/tan.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/tan.kt.after @@ -1,6 +1,6 @@ import kotlin.math.tan -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Double) { tan(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/tanh.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/tanh.kt index c6d3c33a7d7b..5e22cf3a1ec8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/tanh.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/tanh.kt @@ -1,5 +1,5 @@ -// WITH_RUNTIME -// WITH_RUNTIME +// WITH_STDLIB +// WITH_STDLIB fun test(x: Double) { Math.tanh(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/tanh.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/tanh.kt.after index d3e0acb628e6..6ad1e7f7a61e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/tanh.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/tanh.kt.after @@ -1,7 +1,7 @@ import kotlin.math.tanh -// WITH_RUNTIME -// WITH_RUNTIME +// WITH_STDLIB +// WITH_STDLIB fun test(x: Double) { tanh(x) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/system/exit.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/system/exit.kt index 66f51fab3d97..877d57076bf5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/system/exit.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/system/exit.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { System.exit(0) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/system/exit.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/system/exit.kt.after index 6a809ba760dc..c73f6204b53b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/system/exit.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/system/exit.kt.after @@ -1,6 +1,6 @@ import kotlin.system.exitProcess -// WITH_RUNTIME +// WITH_STDLIB fun test() { exitProcess(0) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/byteToString.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/byteToString.kt index feab5d8ecba7..549b20514ff9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/byteToString.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/byteToString.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = java.lang.Byte.toString(5) + 6 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/byteToString.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/byteToString.kt.after index 693e980ba812..2f17d016535b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/byteToString.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/byteToString.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = 5.toString() + 6 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/charToString.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/charToString.kt index 3b746f95932e..c7bb8e65644e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/charToString.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/charToString.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = java.lang.Character.toString('3') + 6 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/charToString.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/charToString.kt.after index c49ec0d4d464..226d71b7f2fc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/charToString.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/charToString.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = '3'.toString() + 6 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/doubleToString.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/doubleToString.kt index b1832dde3ce3..bffcdc451236 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/doubleToString.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/doubleToString.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = java.lang.Double.toString(5.0) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/doubleToString.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/doubleToString.kt.after index f5edf5429c60..149152b3e792 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/doubleToString.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/doubleToString.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = 5.0.toString() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/floatToString.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/floatToString.kt index 1ff0bf23e37f..f017dbaae75e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/floatToString.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/floatToString.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = java.lang.Float.toString(5.0) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/floatToString.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/floatToString.kt.after index f5edf5429c60..149152b3e792 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/floatToString.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/floatToString.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = 5.0.toString() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/intToString.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/intToString.kt index 9e2d5550e4ca..84da133de6d3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/intToString.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/intToString.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = Integer.toString(5) + 7 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/intToString.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/intToString.kt.after index 4e5484dc52cb..58e48366d652 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/intToString.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/intToString.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = 5.toString() + 7 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/intToString2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/intToString2.kt index 0cdfd0789169..725720b514c2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/intToString2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/intToString2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val b = listOf(42, 10) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/intToString2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/intToString2.kt.after index d5210db0dd37..119a6be00ef9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/intToString2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/intToString2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val b = listOf(42, 10) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/longToString.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/longToString.kt index 059a4fb83855..74ae4cdc8abd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/longToString.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/longToString.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = java.lang.Long.toString(5) + 6 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/longToString.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/longToString.kt.after index 693e980ba812..2f17d016535b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/longToString.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/longToString.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = 5.toString() + 6 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/longToString2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/longToString2.kt index 8e79d4e57c0f..67496771bbe4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/longToString2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/longToString2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = java.lang.Long.toString(5, 42) + 6 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/longToString2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/longToString2.kt.after index 092df7b2766e..8d15bf3ae418 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/longToString2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/longToString2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = 5.toString(42) + 6 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/nullableIntToString.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/nullableIntToString.kt index 710252952738..3f11df8a0d00 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/nullableIntToString.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/nullableIntToString.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val a: Int? = 5 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/nullableIntToString.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/nullableIntToString.kt.after index 71a031c5706b..d294c3ef7fc1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/nullableIntToString.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/nullableIntToString.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val a: Int? = 5 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/nullableIntToString2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/nullableIntToString2.kt index 11f55e784360..f0c21f34e794 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/nullableIntToString2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/nullableIntToString2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none // ERROR: Type mismatch: inferred type is Int? but Int was expected fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceIntToString.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceIntToString.kt index d1842760e2f3..679e951bacd8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceIntToString.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceIntToString.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { Integer.toString(5) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceIntToString.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceIntToString.kt.after index f0e4044100ee..ce8121c841b9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceIntToString.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceIntToString.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { 5.toString() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceListElementToString.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceListElementToString.kt index f00b732075c1..39de19313674 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceListElementToString.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceListElementToString.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val list = arrayListOf() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceListElementToString.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceListElementToString.kt.after index d03ea1f37e76..4a8ff2201e8a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceListElementToString.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceListElementToString.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val list = arrayListOf() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceToStringBase.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceToStringBase.kt index 26477931fd3c..d982c433cb64 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceToStringBase.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceToStringBase.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var number = 5 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceToStringBase.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceToStringBase.kt.after index f0431e73a079..f84ce87f7acc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceToStringBase.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceToStringBase.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var number = 5 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceToStringWithRadix.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceToStringWithRadix.kt index 0cb1fe70515e..16bfc19e221e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceToStringWithRadix.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceToStringWithRadix.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var number = 5 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceToStringWithRadix.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceToStringWithRadix.kt.after index f91049063f2e..d53b2a866180 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceToStringWithRadix.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/replaceToStringWithRadix.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var number = 5 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/shortToString.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/shortToString.kt index 791ae82a6d7c..14742c33defd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/shortToString.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/shortToString.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = java.lang.Short.toString(42) + 6 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/shortToString.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/shortToString.kt.after index bdbe5dc5f45c..d82ca1ec3b6e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/shortToString.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/shortToString.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val t = 42.toString() + 6 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/toExtension.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/toExtension.kt index 299d4035cf6c..a2c981279721 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/toExtension.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/toExtension.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { Integer.toString(42 + 24, 16) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/toExtension.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/toExtension.kt.after index 94cc3db44591..40118ad7d0d5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/toExtension.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/toString/toExtension.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { (42 + 24).toString(16) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/forNotTarget.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/forNotTarget.kt index 43cbe82447f5..74e147d07da2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/forNotTarget.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/forNotTarget.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test(args: Array) { val x = arrayOf() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiver.kt index 34360be47a7c..e4c6ca35962b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Array.test() { val ind = 0..size -1 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiver.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiver.kt.after index d7ae9894b6f4..9cd807c08556 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Array.test() { val ind = indices } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiverFor.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiverFor.kt index 88136d1c9d75..bef1aeda33fb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiverFor.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiverFor.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Array.test() { for (index in 0..size - 1) { val out = this[index] diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiverFor.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiverFor.kt.after index f7ca19aca971..643fc3bf889e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiverFor.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiverFor.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Array.test() { for (element in this) { val out = element diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiverUntil.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiverUntil.kt index 2cc9f50e068c..078d0c1171d4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiverUntil.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiverUntil.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Array.test() { val ind = 0 until size } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiverUntil.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiverUntil.kt.after index d7ae9894b6f4..9cd807c08556 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiverUntil.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/implicitReceiverUntil.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Array.test() { val ind = indices } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/indexInLvalue.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/indexInLvalue.kt index f4ec35cf888a..68f81165fb00 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/indexInLvalue.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/indexInLvalue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(args: Array) { for (index in 0..args.size - 1) { args[index] = "Hello" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/indexInLvalue.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/indexInLvalue.kt.after index abb561a97d24..c5a75028ae8a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/indexInLvalue.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/indexInLvalue.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(args: Array) { for (index in args.indices) { args[index] = "Hello" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/map.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/map.kt index bf1211764769..a40c1838ce8e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/map.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/map.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map<*, *>) { for (i in 0 until map.size) { } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/multidimensionalArray.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/multidimensionalArray.kt index 8a89fa5791a5..3e8357249c9d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/multidimensionalArray.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/multidimensionalArray.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo(matrix: Array>) { for (i in 0 until matrix[0].size) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/multidimensionalArray2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/multidimensionalArray2.kt index 6bf5d6cd1244..0d41968db644 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/multidimensionalArray2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/multidimensionalArray2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace with loop over elements fun foo(matrix: Array>) { for (i in 0 until matrix[0].size) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/multidimensionalArray2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/multidimensionalArray2.kt.after index 7ae0cf69c6f8..2239f38aece1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/multidimensionalArray2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/multidimensionalArray2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace with loop over elements fun foo(matrix: Array>) { for (i in 0 until matrix[0].size) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/notUsedAsIndex.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/notUsedAsIndex.kt index b366b3a1a6ca..b6e98e8e26ee 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/notUsedAsIndex.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/notUsedAsIndex.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(args: Array) { for (index in 0..args.size - 1) { println(index) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/notUsedAsIndex.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/notUsedAsIndex.kt.after index 1abfff5c7ae7..1999a145ed77 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/notUsedAsIndex.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/notUsedAsIndex.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(args: Array) { for (index in args.indices) { println(index) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/rangeTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/rangeTo.kt index 0d439b8cf4ce..c1e3725d1e28 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/rangeTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/rangeTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val range = 0.rangeTo(list.size - 1) } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/rangeTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/rangeTo.kt.after index 7e0a2d0a8010..bd974d92e462 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/rangeTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/rangeTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val range = list.indices } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleExpression.kt index c9c188a32f3d..e844fabf1c0b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(args: Array) { val ind = 0..args.size-1 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleExpression.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleExpression.kt.after index adebb077fb31..f8630729c619 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(args: Array) { val ind = args.indices } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleExpressionUntil.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleExpressionUntil.kt index e20fcdb3489a..9109218c717f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleExpressionUntil.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleExpressionUntil.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(args: Array) { val ind = 0 until args.size } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleExpressionUntil.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleExpressionUntil.kt.after index adebb077fb31..f8630729c619 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleExpressionUntil.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleExpressionUntil.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(args: Array) { val ind = args.indices } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleFor.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleFor.kt index 2d5b489cf1ce..8229f12bafca 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleFor.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleFor.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(args: Array) { for (index in 0..args.size - 1) { val out = args[index] diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleFor.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleFor.kt.after index 06e22c1b267d..6e8e5ef81688 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleFor.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/simpleFor.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(args: Array) { for (element in args) { val out = element diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/usedForOtherArray.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/usedForOtherArray.kt index 3c4e5074795b..4e30e262547f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/usedForOtherArray.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/usedForOtherArray.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace with indices fun foo() { val a = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/usedForOtherArray.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/usedForOtherArray.kt.after index fd0fe8a70019..3952f2e7534e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/usedForOtherArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceManualRangeWithIndicesCalls/usedForOtherArray.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace with indices fun foo() { val a = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/anonymousFunction.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/anonymousFunction.kt index d3815347cbea..76b27018b806 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/anonymousFunction.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/anonymousFunction.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { emptyList().mapIndexed(fun(index: Int, _: String): Int { return index diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/anonymousFunction.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/anonymousFunction.kt.after index bcf11983ab5c..b474356a3825 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/anonymousFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/anonymousFunction.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { List(emptyList().size, fun(index: Int): Int { return index diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic.kt index 1f406bb4ce54..478f62559f06 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.mapIndexed { index, _ -> index + 42 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic.kt.after index 28be06e28b3f..a0f2e43026e1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { List(list.size) { index -> index + 42 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic2.kt index fc891d80743d..458039945b29 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.mapIndexed { index, value -> index + 42 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic2.kt.after index 28be06e28b3f..a0f2e43026e1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { List(list.size) { index -> index + 42 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic3.kt index 0d41defec754..fa81ddcdcb52 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { Foo().bar().mapIndexed { index, _ -> index + 42 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic3.kt.after index 1923e8b1e1d8..391486f7de3e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/basic3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { List(Foo().bar().size) { index -> index + 42 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/destructingDeclarationParameter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/destructingDeclarationParameter.kt index e95008ebd715..8aad217e6356 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/destructingDeclarationParameter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/destructingDeclarationParameter.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { emptyList>().mapIndexed { index, (l, r) -> l + r + index diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/implicitReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/implicitReceiver.kt index f817fb925b1d..9034d91672d7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/implicitReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/implicitReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun List.test() { mapIndexed { index, _ -> index + 42 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/implicitReceiver.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/implicitReceiver.kt.after index cedf2175d05e..f95c29d9a0c4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/implicitReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/implicitReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun List.test() { List(size) { index -> index + 42 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/implicitReceiver2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/implicitReceiver2.kt index 424b7abc0002..93f29e2ac8db 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/implicitReceiver2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/implicitReceiver2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun List.test() { mapIndexed(fun(index: Int, _: String): Int { return index diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/implicitReceiver2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/implicitReceiver2.kt.after index fea2578cee4f..d29cc953ba5f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/implicitReceiver2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/implicitReceiver2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun List.test() { List(size, fun(index: Int): Int { return index diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/importAlias.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/importAlias.kt index 4d1257e85a16..9828b9e32250 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/importAlias.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/importAlias.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import kotlin.collections.mapIndexed as foo fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/importAlias.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/importAlias.kt.after index 23a17b693b71..9805e0866636 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/importAlias.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/importAlias.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import kotlin.collections.mapIndexed as foo fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/insideLambdaParameter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/insideLambdaParameter.kt index d077f100f01b..c2d3f9fd7925 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/insideLambdaParameter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/insideLambdaParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.mapIndexed({ index, _ -> index + 42 }) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/insideLambdaParameter.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/insideLambdaParameter.kt.after index f38bcafefa73..051a35d7f594 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/insideLambdaParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/insideLambdaParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { List(list.size) { index -> index + 42 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/iterable.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/iterable.kt index 706182c7419a..5595437f5677 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/iterable.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/iterable.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: Iterable) { list.mapIndexed { index, _ -> index + 42 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn.kt index 500773c05aa8..acca6d33be73 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.mapIndexed { index, value -> if (index == 0) return@mapIndexed 0 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn.kt.after index ff63076d9ebc..6a0a6a6c2858 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { List(list.size) { index -> if (index == 0) return@List 0 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn2.kt index 2df16b389c2f..7abbaf4451f7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { emptyList>().mapIndexed { index, _ -> emptyList().mapIndexed { number, s -> diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn2.kt.after index 2093eb815d57..9be062e70516 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { List(emptyList>().size) { index -> emptyList().mapIndexed { number, s -> diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn3.kt index 827ea048eb62..9ee6453fcf83 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.mapIndexed label@{ index, value -> if (index == 0) return@label 0 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn3.kt.after index ff63076d9ebc..6a0a6a6c2858 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/labeledReturn3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { List(list.size) { index -> if (index == 0) return@List 0 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/thisReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/thisReceiver.kt index ed13224c67a0..1cef893b310f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/thisReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/thisReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun List.test() { this.mapIndexed { index, _ -> index + 42 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/thisReceiver.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/thisReceiver.kt.after index 988bd848941e..f46c6a56c60d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/thisReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/thisReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun List.test() { List(this.size) { index -> index + 42 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/usedValue.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/usedValue.kt index 3dfcfbfad06b..8636f0b117ba 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/usedValue.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/usedValue.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.mapIndexed { index, value -> println(value) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/usedValue2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/usedValue2.kt index 1a15ab1b9559..26c39f61b0b9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/usedValue2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceMapIndexedWithListGenerator/usedValue2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { emptyList().mapIndexed(fun(index: Int, value: String) { println(value) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/notNegateBlank.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/notNegateBlank.kt index bcd71d929a46..5749521712e9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/notNegateBlank.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/notNegateBlank.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String) { val b = s.isBlank() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/notNegateEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/notNegateEmpty.kt index 6ed626d6eed7..ede2b03f73a4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/notNegateEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/notNegateEmpty.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String) { val b = s.isEmpty() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/simple.kt index 4717a67bf5f0..a2ce58bb5bd4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace negated 'isEmpty' with 'isNotEmpty' fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/simple.kt.after index 6ec8c225a75e..71124920c362 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Replace negated 'isEmpty' with 'isNotEmpty' fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsBlank.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsBlank.kt index 8fde175c4338..31feb50646aa 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsBlank.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsBlank.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace negated 'isBlank' with 'isNotBlank' // FIX: Replace negated 'isBlank' with 'isNotBlank' -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String) { val b = !s.isBlank() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsBlank.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsBlank.kt.after index 44a1aaf6dd81..f112ef0272c9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsBlank.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsBlank.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace negated 'isBlank' with 'isNotBlank' // FIX: Replace negated 'isBlank' with 'isNotBlank' -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String) { val b = s.isNotBlank() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsEmpty.kt index cfb358a07bb1..aa4cb7a4d335 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsEmpty.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace negated 'isEmpty' with 'isNotEmpty' // FIX: Replace negated 'isEmpty' with 'isNotEmpty' -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String) { val b = !s.isEmpty() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsEmpty.kt.after index a5e88f434c16..8f3692aaca47 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsEmpty.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace negated 'isEmpty' with 'isNotEmpty' // FIX: Replace negated 'isEmpty' with 'isNotEmpty' -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String) { val b = s.isNotEmpty() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsNotBlank.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsNotBlank.kt index 9be0e6a646c0..2d9ebc009012 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsNotBlank.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsNotBlank.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace negated 'isNotBlank' with 'isBlank' // FIX: Replace negated 'isNotBlank' with 'isBlank' -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String) { val b = !s.isNotBlank() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsNotBlank.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsNotBlank.kt.after index c52cd389c097..9422b6f20786 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsNotBlank.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsNotBlank.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace negated 'isNotBlank' with 'isBlank' // FIX: Replace negated 'isNotBlank' with 'isBlank' -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String) { val b = s.isBlank() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsNotEmpty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsNotEmpty.kt index cbb364bfb5bc..ee6e4497f7bb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsNotEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsNotEmpty.kt @@ -1,6 +1,6 @@ // PROBLEM: Replace negated 'isNotEmpty' with 'isEmpty' // FIX: Replace negated 'isNotEmpty' with 'isEmpty' -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String) { val b = !s.isNotEmpty() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsNotEmpty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsNotEmpty.kt.after index 50b44e206a3a..8c2150a3d0d2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsNotEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsNotEmpty.kt.after @@ -1,6 +1,6 @@ // PROBLEM: Replace negated 'isNotEmpty' with 'isEmpty' // FIX: Replace negated 'isNotEmpty' with 'isEmpty' -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String) { val b = s.isEmpty() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNotNullAssertionWithElvisReturn/inLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNotNullAssertionWithElvisReturn/inLambda.kt index f827a310ad8e..c44d54e76e45 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNotNullAssertionWithElvisReturn/inLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNotNullAssertionWithElvisReturn/inLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List, number: Int?) { list.forEach { number!! diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNotNullAssertionWithElvisReturn/inLambda.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNotNullAssertionWithElvisReturn/inLambda.kt.after index c6a258ae7d82..1cbb21f971c8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNotNullAssertionWithElvisReturn/inLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNotNullAssertionWithElvisReturn/inLambda.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List, number: Int?) { list.forEach { number ?: return@forEach diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNotNullAssertionWithElvisReturn/inLambda2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNotNullAssertionWithElvisReturn/inLambda2.kt index 3f9769408480..19920553ffd1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNotNullAssertionWithElvisReturn/inLambda2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceNotNullAssertionWithElvisReturn/inLambda2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List, number: Int?) { val x: List = list.map { number!! diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/afterElvis.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/afterElvis.kt index e49e9ccfb850..433dfbef6d1d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/afterElvis.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/afterElvis.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int?, m: MutableMap) { i ?: m.put("", 1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/afterElvis2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/afterElvis2.kt index 926442aa5509..0a986915728b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/afterElvis2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/afterElvis2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int?, m: MutableMap) { i ?: ((m.put("", 1))) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/beforeElvis.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/beforeElvis.kt index a5fce8faa9a8..bb423219bfee 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/beforeElvis.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/beforeElvis.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int?, m: MutableMap) { m.put("", 1) ?: i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/hasSet2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/hasSet2.kt index 6c1336ec3ada..39d57ec58e58 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/hasSet2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/hasSet2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class Foo : HashMap() { operator fun set(x: String, y: String) { println("wrong method") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/notMutableMapPut.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/notMutableMapPut.kt index cdc167d477cb..811b0ab566a2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/notMutableMapPut.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/notMutableMapPut.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test(foo: Foo) { foo.put(1, 2) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/notMutableMapPut2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/notMutableMapPut2.kt index 1e93f36a46df..50482b6c82ec 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/notMutableMapPut2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/notMutableMapPut2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none data class Bar(val map: MutableMap) : MutableMap by map { fun put(key: Int, value: String): String = value diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putAsExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putAsExpression.kt index 18e5483b7312..7e7ec12ee636 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putAsExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putAsExpression.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val map = mutableMapOf(42 to "foo") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn.kt index 0a02b21bf8b4..0ceb1f40e953 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { val map = mutableMapOf Unit>() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn.kt.after index 920aeb6640e4..7b3127ebd968 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { val map = mutableMapOf Unit>() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn2.kt index 1c838a5233b2..57bab051523f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val map = mutableMapOf Unit>() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn2.kt.after index a52986008ea3..28a822a027ea 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val map = mutableMapOf Unit>() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn3.kt index 049d915e96b1..7b9f81426fc4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val map = mutableMapOf Unit>() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn3.kt.after index 937172f4a9a5..b14e74f571ef 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putLambdaHasLabeledReturn3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val map = mutableMapOf Unit>() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnParameter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnParameter.kt index 73a8567d71e7..38ead55f3930 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnParameter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(map: MutableMap) { map.put(42, "foo") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnParameter.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnParameter.kt.after index ddbad2d0f330..61bd2755c401 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(map: MutableMap) { map[42] = "foo" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnThis.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnThis.kt index 9c4637272eff..00159a0ad11d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnThis.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnThis.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyMap() : HashMap() { init { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnThis.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnThis.kt.after index 41bbdde21f58..ae7f0d5bc8f8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnThis.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnThis.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyMap() : HashMap() { init { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnVal.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnVal.kt index 60fb2b9593bf..088f02f9e655 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnVal.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnVal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val map = mutableMapOf(42 to "foo") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnVal.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnVal.kt.after index 9b3861057b68..1c293b15ad57 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnVal.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnVal.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val map = mutableMapOf(42 to "foo") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnVar.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnVar.kt index 1f28960096bc..38326f81c038 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnVar.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnVar.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var map = mutableMapOf(42 to "foo") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnVar.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnVar.kt.after index db5ea610a89e..c4c0b60d7038 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnVar.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replacePutWithAssignment/putOnVar.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var map = mutableMapOf(42 to "foo") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveCharRange.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveCharRange.kt index a964eb9b4ef7..acc44ccbb037 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveCharRange.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveCharRange.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var range : CharRange = 'a' .. 'z' diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveCharRange.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveCharRange.kt.after index a792f6a31770..36fb33c266aa 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveCharRange.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveCharRange.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var range : CharRange = 'a' .. 'z' diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveIntRange.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveIntRange.kt index fe8e131b541e..41be87c859e8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveIntRange.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveIntRange.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var range : IntRange = 1..2 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveIntRange.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveIntRange.kt.after index 66fa20f87004..56669d56b10f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveIntRange.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveIntRange.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var range : IntRange = 1..2 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveLongRange.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveLongRange.kt index 0d945e0cb4d5..8ee4c462f2ab 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveLongRange.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveLongRange.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var range : LongRange = 1L..2L diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveLongRange.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveLongRange.kt.after index 63f231ecbbc5..fcbc64b384a3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveLongRange.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/endInclusiveLongRange.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var range : LongRange = 1L..2L diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startCharRange.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startCharRange.kt index 17d1810221a3..b05ad8fbe65b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startCharRange.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startCharRange.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var range : CharRange = 'a' .. 'z' diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startCharRange.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startCharRange.kt.after index ea4a8eae57bb..e2c3bab8e024 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startCharRange.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startCharRange.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var range : CharRange = 'a' .. 'z' diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startIntRange.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startIntRange.kt index 7a14abcb2668..704da0e50530 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startIntRange.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startIntRange.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var range : IntRange = 1..2 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startIntRange.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startIntRange.kt.after index 9fd69b9f5110..c9cc0a3fd113 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startIntRange.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startIntRange.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var range : IntRange = 1..2 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startLongRange.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startLongRange.kt index 28da7f961fc2..068741156361 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startLongRange.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startLongRange.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var range : LongRange = 1L..2L diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startLongRange.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startLongRange.kt.after index 9cc298baac5d..06f57a0ece9e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startLongRange.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startLongRange.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var range : LongRange = 1L..2L diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/closedRange.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/closedRange.kt index 7a2bd474ef2b..c772f3a66b11 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/closedRange.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/closedRange.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo(a: Float) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/minusTwo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/minusTwo.kt index 226d78f084cc..e46e1eadbc17 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/minusTwo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/minusTwo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo(a: Int) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/notMinusOne.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/notMinusOne.kt index 15e8913579a2..9c803fc8987c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/notMinusOne.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/notMinusOne.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo(a: Int) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/operator.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/operator.kt index 513f82b89b62..5da9500b712f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/operator.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/operator.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Int) { for (i in 0..a - 1) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/operator.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/operator.kt.after index 379f02114c56..a9fb25b667ff 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/operator.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/operator.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Int) { for (i in 0 until a) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/operatorLong.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/operatorLong.kt index f51a0a4204ff..3c25fc3237eb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/operatorLong.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/operatorLong.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Long) { for (i in 1L..a - 1L) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/operatorLong.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/operatorLong.kt.after index 3288e7110769..47dfd709ffc0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/operatorLong.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/operatorLong.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Long) { for (i in 1L until a) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/parentheses.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/parentheses.kt index dc74607e33d2..ee62fcc142cc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/parentheses.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/parentheses.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun example() { val max = 5 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/parentheses.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/parentheses.kt.after index c3a5fe245b8b..b1ae6146752b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/parentheses.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/parentheses.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun example() { val max = 5 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/plusOne.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/plusOne.kt index f0e6aebab390..9b626e662da5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/plusOne.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/plusOne.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo(a: Int) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/rangeTo.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/rangeTo.kt index c18f00741142..f8a6e647d322 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/rangeTo.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/rangeTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Int) { for (i in 0.rangeTo(a - 1)) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/rangeTo.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/rangeTo.kt.after index 379f02114c56..a9fb25b667ff 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/rangeTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeToWithUntil/rangeTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Int) { for (i in 0 until a) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/curlyBraces.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/curlyBraces.kt index 6a91c87c9807..a5556734fea4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/curlyBraces.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/curlyBraces.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { val id = "abc" val date = "123" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/curlyBraces.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/curlyBraces.kt.after index 2b635d547e6b..9678049c59e6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/curlyBraces.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/curlyBraces.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { val id = "abc" val date = "123" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/invalidArgs.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/invalidArgs.kt index 6306240bdfff..7cee7bca0767 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/invalidArgs.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/invalidArgs.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { val foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/noArgs.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/noArgs.kt index a28c1adb1609..4ad323a7ea2b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/noArgs.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/noArgs.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { String.format("%%") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/notStringPlaceFolder.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/notStringPlaceFolder.kt index 1d48d77fb564..e78ecac26bf5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/notStringPlaceFolder.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/notStringPlaceFolder.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { val foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/notStringPlaceFolder2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/notStringPlaceFolder2.kt index 096d3b7680b5..13c0d085b86c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/notStringPlaceFolder2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/notStringPlaceFolder2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { val foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/rawStringFormat.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/rawStringFormat.kt index b2ca510d5c5d..518c95451f4f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/rawStringFormat.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/rawStringFormat.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { val foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/simple.kt index d787b31b13d3..bb69ef47644e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/simple.kt.after index 59b168449da7..3b1b72a13a6c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceStringFormatWithLiteral/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/immutableProperty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/immutableProperty.kt index 239148a1f07e..58f5bda5f4cb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/immutableProperty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/immutableProperty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A(val x: String) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/immutableProperty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/immutableProperty.kt.after index 392ea5f9a2d3..ef422cc73d09 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/immutableProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/immutableProperty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A(val x: String) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/methodCallReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/methodCallReceiver.kt index f0637c2d01a4..8a1423358b7b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/methodCallReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/methodCallReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class A() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/nonZeroFirstArgument.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/nonZeroFirstArgument.kt index b1bc0a96778d..4cf155398bcb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/nonZeroFirstArgument.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/nonZeroFirstArgument.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.substring(3, s.length - 5) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/replaceWithDropLast.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/replaceWithDropLast.kt index 0ffa4ecb25db..aa7c8e33cdef 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/replaceWithDropLast.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/replaceWithDropLast.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.substring(0, s.length - 5) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/replaceWithDropLast.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/replaceWithDropLast.kt.after index 02014335dcd9..7769e72ce0bc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/replaceWithDropLast.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/replaceWithDropLast.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.dropLast(5) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/semicolon.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/semicolon.kt index f55d37f1ff92..ffd29c54e74a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/semicolon.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/semicolon.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.substring(0, s.length - 5); diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/semicolon.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/semicolon.kt.after index 5075cc8eedd5..dd198101cf6c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/semicolon.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withDropLast/semicolon.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.dropLast(5); diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/oneFirstTwoSecondArgument.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/oneFirstTwoSecondArgument.kt index e7d298d7f029..f535f4f8f142 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/oneFirstTwoSecondArgument.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/oneFirstTwoSecondArgument.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { "abc".substring(1, 2) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/oneFirstTwoSecondArgument.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/oneFirstTwoSecondArgument.kt.after index 0e14f2d452ca..abc7b5090fad 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/oneFirstTwoSecondArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/oneFirstTwoSecondArgument.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { "abc"[1] diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/simple.kt index 1edde927a12f..613474cd5224 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { "abc".substring(0, 1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/simple.kt.after index 4257c1f9b5a9..e91d9d1e6794 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { "abc"[0] diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/zeroFirstTenSecondArgument.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/zeroFirstTenSecondArgument.kt index 497787b00ad0..3280bbb61bbd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/zeroFirstTenSecondArgument.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withIndexingOperation/zeroFirstTenSecondArgument.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo() { "abc".substring(0, 10) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/immutableProperty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/immutableProperty.kt index eb901ec3f065..b6c6460b544e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/immutableProperty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/immutableProperty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A(val x: String) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/immutableProperty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/immutableProperty.kt.after index dee51ffa838b..9df8b223c0f5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/immutableProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/immutableProperty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A(val x: String) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/methodCallReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/methodCallReceiver.kt index 5ee72dfd4b2a..57814e5a91a8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/methodCallReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/methodCallReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class A() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/replaceWithSubstringAfter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/replaceWithSubstringAfter.kt index 8741f1d75a27..6f40a82460d1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/replaceWithSubstringAfter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/replaceWithSubstringAfter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.substring(s.indexOf('x')) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/replaceWithSubstringAfter.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/replaceWithSubstringAfter.kt.after index fc90eb8a225e..67a14096f4eb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/replaceWithSubstringAfter.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/replaceWithSubstringAfter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.substringAfter('x') diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/semicolon.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/semicolon.kt index d3ec7c278b2c..973436f8ced5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/semicolon.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/semicolon.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.substring(s.indexOf('x')); diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/semicolon.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/semicolon.kt.after index 34a665b72ec4..72c2bb9f5cb2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/semicolon.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringAfter/semicolon.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.substringAfter('x'); diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/immutableProperty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/immutableProperty.kt index a2c836ecd173..c120c2352c11 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/immutableProperty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/immutableProperty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A(val x: String) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/immutableProperty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/immutableProperty.kt.after index d62fe8489a02..5b8dad157c5e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/immutableProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/immutableProperty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A(val x: String) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/methodCallReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/methodCallReceiver.kt index a2330fdd2b76..82212fdf9abb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/methodCallReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/methodCallReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class A() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/nonZeroFirstArgument.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/nonZeroFirstArgument.kt index cec71f8ff66f..255364ac8dd5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/nonZeroFirstArgument.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/nonZeroFirstArgument.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.substring(1, s.indexOf('x')) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/replaceWithSubstringBefore.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/replaceWithSubstringBefore.kt index aa71dbf3c632..517f7b6422b8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/replaceWithSubstringBefore.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/replaceWithSubstringBefore.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.substring(0, s.indexOf('x')) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/replaceWithSubstringBefore.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/replaceWithSubstringBefore.kt.after index 02fddc3e408e..be5171b0bb33 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/replaceWithSubstringBefore.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/replaceWithSubstringBefore.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.substringBefore('x') diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/semicolon.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/semicolon.kt index bb6bf84606f5..8c4f9012f740 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/semicolon.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/semicolon.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.substring(0, s.indexOf('x')); diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/semicolon.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/semicolon.kt.after index d4a32618a913..bd7c2aedcff1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/semicolon.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/semicolon.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.substringBefore('x'); diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/constantAsFirstArgument.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/constantAsFirstArgument.kt index c5190be7d181..8f3abc9bec90 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/constantAsFirstArgument.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/constantAsFirstArgument.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB const val x = 0 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/expressionAsFirstArgument.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/expressionAsFirstArgument.kt index e03f99b7b4bc..8ed2c0142aed 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/expressionAsFirstArgument.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/expressionAsFirstArgument.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.substring(1 - 1, 10) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/nonZeroFirstArgument.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/nonZeroFirstArgument.kt index 18126789a944..26428d76fa65 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/nonZeroFirstArgument.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/nonZeroFirstArgument.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.substring(1, 10) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/replaceWithTake.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/replaceWithTake.kt index 36576de6eb54..5fc2118efa22 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/replaceWithTake.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/replaceWithTake.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.substring(0, 10) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/replaceWithTake.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/replaceWithTake.kt.after index 07a0f6f6adf4..ff7e89c38117 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/replaceWithTake.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/replaceWithTake.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.take(10) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/semicolon.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/semicolon.kt index d0b7014b6776..11d7988ef9f0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/semicolon.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/semicolon.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.substring(0, 10); diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/semicolon.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/semicolon.kt.after index 1a3931dd92bd..ab9f6461df77 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/semicolon.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceSubstring/withTake/semicolon.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { s.take(10); diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToStringWithStringTemplate/nonReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToStringWithStringTemplate/nonReference.kt index 5fc216842590..9efd2d78d084 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToStringWithStringTemplate/nonReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToStringWithStringTemplate/nonReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test(): String { return 1.toString() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToStringWithStringTemplate/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToStringWithStringTemplate/simple.kt index bda00904af89..c2801f769efb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToStringWithStringTemplate/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToStringWithStringTemplate/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): String { val x = 1 return x.toString() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToStringWithStringTemplate/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToStringWithStringTemplate/simple.kt.after index e15a79eaf500..45b88332f636 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToStringWithStringTemplate/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToStringWithStringTemplate/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(): String { val x = 1 return "$x" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToStringWithStringTemplate/stringTemplate.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToStringWithStringTemplate/stringTemplate.kt index aae8802c343b..07e47d4a513d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToStringWithStringTemplate/stringTemplate.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToStringWithStringTemplate/stringTemplate.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test(): String { val x = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToWithInfixForm/base.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToWithInfixForm/base.kt index 63e061fc2e68..010963ce7881 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToWithInfixForm/base.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToWithInfixForm/base.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A class B diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToWithInfixForm/base.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToWithInfixForm/base.kt.after index 499c40d40513..8c9321efebbd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToWithInfixForm/base.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToWithInfixForm/base.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A class B diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToWithInfixForm/typeArguments.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToWithInfixForm/typeArguments.kt index ff0b9ba3bf54..4d6dd4e4428f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToWithInfixForm/typeArguments.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceToWithInfixForm/typeArguments.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class Receiver(val x: Int = 0) class Argument(val y: Int = 1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithEnumMap/noInfer.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithEnumMap/noInfer.kt index 08c395ee8349..9d6357fee0d2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithEnumMap/noInfer.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithEnumMap/noInfer.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB enum class E { A, B diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithEnumMap/withArguments.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithEnumMap/withArguments.kt index 98af3d0a9010..35d29dafb2a7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithEnumMap/withArguments.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithEnumMap/withArguments.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun main() { val map = hashMapOf(5 to 1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/extension.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/extension.kt index ab9c62de4f94..b034d18cbb0e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/extension.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/extension.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun String.test(s: String): Boolean { return toLowerCase() == s.toLowerCase() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/extension.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/extension.kt.after index ef9feeab62cf..28c4e6696fd5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/extension.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/extension.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun String.test(s: String): Boolean { return equals(s, ignoreCase = true) } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/extension2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/extension2.kt index 3282085437bc..488f9cdd9328 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/extension2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/extension2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun String.test(s: String): Boolean { return s.toLowerCase() == toLowerCase() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/extension2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/extension2.kt.after index cbb52c8bfc29..4d3f2809831b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/extension2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/extension2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun String.test(s: String): Boolean { return s.equals(this, ignoreCase = true) } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/notApplicable.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/notApplicable.kt index dcdfcdb4dd9a..eb3f3388b50c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/notApplicable.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/notApplicable.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(a: String, b: String): Boolean { return a.toLowerCase() != b.toLowerCase() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/notApplicable2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/notApplicable2.kt index 0e500fc0ea45..72574965f13a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/notApplicable2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/notApplicable2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(a: String, b: String): Boolean { return a == b.toLowerCase() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/notApplicable3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/notApplicable3.kt index caf2dcdf1d69..88cbce65819f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/notApplicable3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/notApplicable3.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(a: String, b: String): Boolean { return a.toLowerCase() == b } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/notApplicable4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/notApplicable4.kt index 266453876f3b..81f6883a32dd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/notApplicable4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/notApplicable4.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(a: String, b: String): Boolean { return a.toLowerCase() == b.toUpperCase() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable.kt index ab201ece046c..f796b8add355 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(a: String?, b: String): Boolean { return a?.toLowerCase() == b.toLowerCase() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable.kt.after index b2ae79c9eb94..8136aa2ff70d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(a: String?, b: String): Boolean { return a.equals(b, ignoreCase = true) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable2.kt index 2e849fcd2360..c9bb2f753429 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(a: String, b: String?): Boolean { return a.toLowerCase() == b?.toLowerCase() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable2.kt.after index 299445bb175b..9f6581f54a42 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(a: String, b: String?): Boolean { return a.equals(b, ignoreCase = true) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable3.kt index d79ba6f20dcc..ee32e0f12780 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(a: String?, b: String?): Boolean { return a?.toLowerCase() == b?.toLowerCase() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable3.kt.after index b061b9281ad1..320b342f8257 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/nullable3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(a: String?, b: String?): Boolean { return a.equals(b, ignoreCase = true) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/toLowerCase.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/toLowerCase.kt index d1b63f9b92d3..5505fa45b5ee 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/toLowerCase.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/toLowerCase.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(a: String, b: String): Boolean { return a.toLowerCase() == b.toLowerCase() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/toLowerCase.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/toLowerCase.kt.after index e8f41bfef31e..0a220ddced1d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/toLowerCase.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/toLowerCase.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(a: String, b: String): Boolean { return a.equals(b, ignoreCase = true) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/toUpperCase.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/toUpperCase.kt index 8fbd03e5c8de..d246d7c03826 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/toUpperCase.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/toUpperCase.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(a: String, b: String): Boolean { return a.toUpperCase() == b.toUpperCase() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/toUpperCase.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/toUpperCase.kt.after index e8f41bfef31e..0a220ddced1d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/toUpperCase.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithIgnoreCaseEquals/toUpperCase.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(a: String, b: String): Boolean { return a.equals(b, ignoreCase = true) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/flexibleTypeBug.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/flexibleTypeBug.kt index f8156b76dab1..3ab56058811e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/flexibleTypeBug.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/flexibleTypeBug.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var list1 = java.util.Collections.emptyList() val list2 = listOf("b") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/list.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/list.kt index 46234b11cfb3..74b1e933995b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/list.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/list.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: INFORMATION fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/list.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/list.kt.after index fca39f95bfb9..3cb2b9e2ac04 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/list.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/list.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: INFORMATION fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/mutableList.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/mutableList.kt index 3f5e3326aec2..ac6e2bcfeabd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/mutableList.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/mutableList.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: GENERIC_ERROR_OR_WARNING fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/mutableList.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/mutableList.kt.after index a6d6c7134858..35b35b6e6669 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/mutableList.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceWithOperatorAssignment/mutableList.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: GENERIC_ERROR_OR_WARNING fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/labeledReturn.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/labeledReturn.kt index a039fc380057..69b016e40d52 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/labeledReturn.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/labeledReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.mapNotNull { it as? String ?: return@mapNotNull null diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/labeledReturn.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/labeledReturn.kt.after index d8195ad2ea9d..53d35c377fd2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/labeledReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/labeledReturn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.mapNotNull { if (it !is String) return@mapNotNull null diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement.kt index ca2e1b731f0e..83f34a94366b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Any) { val s = run { x as? String ?: return diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement2.kt index dc697b947063..1e9e989583f4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Any) { run { x as? String ?: return diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement2.kt.after index 8e6c6f628e13..06d05ad6b621 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Any) { run { if (x !is String) return diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement3.kt index 35c9a95e20a9..3c8932f7bd42 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Any) { run { x as? String ?: return@run diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement3.kt.after index 1e06da38818f..5763a71db8d8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/safeCastWithReturn/lambdaLastStatement3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(x: Any) { run { if (x !is String) return@run diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/alsoToApply/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/alsoToApply/simple.kt index 5762ea6a0876..dd93dad7b8e8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/alsoToApply/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/alsoToApply/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = "".also { it.length diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/alsoToApply/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/alsoToApply/simple.kt.after index c08ae9b07e2d..75015b8483c6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/alsoToApply/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/alsoToApply/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = "".apply { length diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/arrow.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/arrow.kt index 0d8ee2f13065..69e2ac20d3d5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/arrow.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/arrow.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'also' fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/arrow.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/arrow.kt.after index c5adabd7f1d2..0c27f309fa84 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/arrow.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/arrow.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'also' fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/capturedIt.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/capturedIt.kt index 33aeda1b3202..61c9caed37be 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/capturedIt.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/capturedIt.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'also' class Employee(val firstName: String, val manager: Employee?) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/capturedIt.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/capturedIt.kt.after index c9e1df2b704f..e14fc81570d9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/capturedIt.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/capturedIt.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'also' class Employee(val firstName: String, val manager: Employee?) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/doubleNestedLambdas.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/doubleNestedLambdas.kt index 853d70940fe3..79c765b28c8b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/doubleNestedLambdas.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/doubleNestedLambdas.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = hashSetOf("abc").apply { forEach { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/doubleNestedLambdas.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/doubleNestedLambdas.kt.after index 839d16fdca7f..f8c2bc9eb5c9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/doubleNestedLambdas.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/doubleNestedLambdas.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = hashSetOf("abc").also { strings -> strings.forEach { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/innerLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/innerLambda.kt index 90ffcdbe1b61..2fa135f7027a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/innerLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/innerLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'also' val x = "".also { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/innerLambda.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/innerLambda.kt.after index 917230b66fd6..e667c41fdacc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/innerLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/innerLambda.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'also' val x = "".also { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/itInNestedLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/itInNestedLambda.kt index ae1a5a60f995..a3e534c63e77 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/itInNestedLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/itInNestedLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = hashSetOf("abc").apply { forEach { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/itInNestedLambda.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/itInNestedLambda.kt.after index 1599e5287fb8..7a5cae4b6f01 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/itInNestedLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/itInNestedLambda.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = hashSetOf("abc").also { strings -> strings.forEach { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/method.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/method.kt index 6da2ead8f377..7417fffc40fe 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/method.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/method.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'also' val x = hashSetOf().apply { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/method.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/method.kt.after index 15b6c3979bd1..50047a5c112a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/method.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/method.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'also' val x = hashSetOf().also { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/methodWithThis.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/methodWithThis.kt index 74f97cf7a0aa..aa7a5ef5ece3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/methodWithThis.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/methodWithThis.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'also' val x = hashSetOf().apply { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/methodWithThis.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/methodWithThis.kt.after index 15b6c3979bd1..50047a5c112a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/methodWithThis.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/methodWithThis.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'also' val x = hashSetOf().also { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/outerLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/outerLambda.kt index 5a32a53dd5d0..4be215fe3412 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/outerLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/outerLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'also' val x = "".apply { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/outerLambda.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/outerLambda.kt.after index ab8897ddb348..940e2b41fe29 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/outerLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/outerLambda.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'also' val x = "".also { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/simple.kt index 205ca70898ad..69adb531f58d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'also' val x = "".apply { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/simple.kt.after index 3deac90bcba7..1efbe2206196 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'also' val x = "".also { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/thisInOperation.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/thisInOperation.kt index f6fce7101849..73702f3bf3b6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/thisInOperation.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/thisInOperation.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'also' fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/thisInOperation.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/thisInOperation.kt.after index cc8f5a4d002a..a74653968f8c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/thisInOperation.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/thisInOperation.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'also' fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/thisQualifier.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/thisQualifier.kt index 1db942152cf9..830302eefcde 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/thisQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/thisQualifier.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'also' class C { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/thisQualifier.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/thisQualifier.kt.after index b408322298ca..eb3e61042bec 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/thisQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/applyToAlso/thisQualifier.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'also' class C { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/nestedLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/nestedLambda.kt index f3d4fdc62ba5..484dc4e0cfbf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/nestedLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/nestedLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = hashSetOf("abc").let { it.forEach { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/nestedLambda.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/nestedLambda.kt.after index 083955a0f1cf..c27891f86c94 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/nestedLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/nestedLambda.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = hashSetOf("abc").run { forEach { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/outerThis.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/outerThis.kt index b69435a15dec..2d179f00e1ca 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/outerThis.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/outerThis.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C { val c = "abc".let { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/outerThis.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/outerThis.kt.after index 4d7d9bd6bc0c..4a6f16a85ef6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/outerThis.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/outerThis.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C { val c = "abc".run { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThis.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThis.kt index 83b343627419..d6bc9163220c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThis.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThis.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C { fun foo() = "c" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThis.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThis.kt.after index ffc5d92e8999..b1af061450f3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThis.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThis.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C { fun foo() = "c" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisNoConflict.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisNoConflict.kt index 3d7dfaf3d415..e2d25a3d7d17 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisNoConflict.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisNoConflict.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C { fun foo(s: String, s2: String = ""): String = "c" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisNoConflict.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisNoConflict.kt.after index 987f6d034532..541f09f21422 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisNoConflict.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisNoConflict.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C { fun foo(s: String, s2: String = ""): String = "c" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisWithLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisWithLambda.kt index 3bfe7c7a13c4..7685a02e9ea0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisWithLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisWithLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C { fun foo() = "c" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisWithLambda.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisWithLambda.kt.after index 0779c05d46bc..1cf6de28e949 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisWithLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisWithLambda.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C { fun foo() = "c" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisWithLambdaNoConflict.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisWithLambdaNoConflict.kt index 6f3f9b27918a..4c0efc3d0d07 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisWithLambdaNoConflict.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisWithLambdaNoConflict.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C { fun foo() = "c" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisWithLambdaNoConflict.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisWithLambdaNoConflict.kt.after index ca16a32433ef..94cf9c050ad3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisWithLambdaNoConflict.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/qualifyThisWithLambdaNoConflict.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C { fun foo() = "c" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/simple.kt index 18dc9809f0b0..736dae0ce97f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'run' val x = "".let { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/simple.kt.after index 8f58bd93179e..5a5905fc9858 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'run' val x = "".run { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/thisInStringTemplate.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/thisInStringTemplate.kt index 527e02369386..b6bd03bdc67b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/thisInStringTemplate.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/thisInStringTemplate.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C { val c = "abc".let { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/thisInStringTemplate.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/thisInStringTemplate.kt.after index 6d65e9d527b2..2ff77395c276 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/thisInStringTemplate.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/letToRun/thisInStringTemplate.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C { val c = "abc".run { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/capturedIt.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/capturedIt.kt index c7156aa9836c..0e75251ffa8e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/capturedIt.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/capturedIt.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'let' class Employee(val firstName: String, val manager: Employee?) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/capturedIt.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/capturedIt.kt.after index 2b6825b0d173..97b3b431926b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/capturedIt.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/capturedIt.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'let' class Employee(val firstName: String, val manager: Employee?) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/noReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/noReceiver.kt index 552358593a42..944a57e9a569 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/noReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/noReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun hello() { run { } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/simple.kt index 94784debe156..11960d299ffe 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'let' val x = "".run { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/simple.kt.after index 74db8594d4c8..3fddaa2effd0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: Convert to 'let' val x = "".let { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/applyCorrect.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/applyCorrect.kt index 44ee6727ef7d..042e17ebd5e4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/applyCorrect.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/applyCorrect.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // Minimized from KT-20714 itself class ServerUser { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/applyIncorrect.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/applyIncorrect.kt index 1c2573de75b1..49825bf50850 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/applyIncorrect.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/applyIncorrect.kt @@ -1,5 +1,5 @@ // PROBLEM: Variable 'city' is assigned to itself -// WITH_RUNTIME +// WITH_STDLIB // FIX: Remove self assignment // Minimized from KT-20714 itself diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/applyIncorrect.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/applyIncorrect.kt.after index 0953ca3539cf..32cf3dbd214e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/applyIncorrect.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/applyIncorrect.kt.after @@ -1,5 +1,5 @@ // PROBLEM: Variable 'city' is assigned to itself -// WITH_RUNTIME +// WITH_STDLIB // FIX: Remove self assignment // Minimized from KT-20714 itself diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/differentThese.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/differentThese.kt index e2530bab3fb4..b231c00ed322 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/differentThese.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/differentThese.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class Test { var foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/differentThis.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/differentThis.kt index 6af339807bc3..f91e9923d6f7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/differentThis.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/differentThis.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class Test { var foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/list.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/list.kt index 69045a539477..192226405a16 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/list.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/list.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { val list = mutableListOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/notSelf.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/notSelf.kt index ed313fec4bec..5f03e0191092 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/notSelf.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/notSelf.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class Bar(var foo: Int = 1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/propertyHasDelegate.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/propertyHasDelegate.kt index dc22e09e6f67..e4941ad45b85 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/propertyHasDelegate.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/propertyHasDelegate.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB import kotlin.properties.ReadWriteProperty import kotlin.reflect.KProperty diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/propertyHasGetter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/propertyHasGetter.kt index 37c8fdc632c4..86b64c9530a5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/propertyHasGetter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/propertyHasGetter.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class Test { var foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/propertyHasSetter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/propertyHasSetter.kt index 7439f26cf60a..9dafdf778d35 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/propertyHasSetter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/propertyHasSetter.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class Test { var foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/sameThis.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/sameThis.kt index 7f492f1c0683..f82f3597eeb2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/sameThis.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/sameThis.kt @@ -1,5 +1,5 @@ // PROBLEM: Variable 'foo' is assigned to itself -// WITH_RUNTIME +// WITH_STDLIB // FIX: Remove self assignment class Test { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/sameThis.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/sameThis.kt.after index 80eba71f0346..e34b2d30dd11 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/sameThis.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/selfAssignment/sameThis.kt.after @@ -1,5 +1,5 @@ // PROBLEM: Variable 'foo' is assigned to itself -// WITH_RUNTIME +// WITH_STDLIB // FIX: Remove self assignment class Test { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/assignment.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/assignment.kt index 47027fb4c59c..a395ffc158f5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/assignment.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/assignment.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun withAssign(arg: String?): String { var result: String = "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/binarySafeCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/binarySafeCall.kt index fde54d62b62a..593130e6747d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/binarySafeCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/binarySafeCall.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB val x = 1 val y = x.let { it + it?.hashCode() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/callChain.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/callChain.kt index d48e9243ece5..93cb07d2a742 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/callChain.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/callChain.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.filter { it > 2 }.let { println(it) } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/callChain2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/callChain2.kt index 08fc467df335..25a1f6c4f711 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/callChain2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/callChain2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.filter { it > 2 } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/callChain3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/callChain3.kt index ab8782e63850..2f81109f823c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/callChain3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/callChain3.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.filter { it > 1 }.filter { it > 2 }.let { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/callChainWithLineBreak.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/callChainWithLineBreak.kt index 7b22a3c92af3..b1455c734b50 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/callChainWithLineBreak.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/callChainWithLineBreak.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: INFORMATION fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/comparisons.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/comparisons.kt index 965d929d6bd4..b99da8f7ec65 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/comparisons.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/comparisons.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun isAlphaOrBeta(str: String) = str.let { it == "Alpha" || it == "Beta" } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration.kt index 4d69ba3176d1..721799009b63 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { (1 to 2).let { (i, j) -> foo() } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration2.kt index 85f1a6102c9c..9eba3806c19a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { (1 to 2).let { (i, j) -> foo(1, 2) } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration3.kt index da297683870a..d697891ad5c3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration4.kt index 41a00afaab8c..edeaaf60be35 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test(k: Int) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration5.kt index bb26cfe0ca92..2e8435e0221b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/destructuringDeclaration5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/dotWithComparison.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/dotWithComparison.kt index 24c6ed0c8026..4ff772dcc7be 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/dotWithComparison.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/dotWithComparison.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun main(args: Array) { args[0].let { it.isBlank() && it.toByteOrNull() != null } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionCall.kt index a7314e548110..3c8f59877d0b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun String.foo() {} fun test(s: String?) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionCall.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionCall.kt.after index 42ce19fd26aa..f88bf00ae2e3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun String.foo() {} fun test(s: String?) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionWithNullableReceiverCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionWithNullableReceiverCall.kt index 75a6eaa80181..9310d2611f42 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionWithNullableReceiverCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionWithNullableReceiverCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class Optional(val value: T) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionWithNullableReceiverCall2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionWithNullableReceiverCall2.kt index 7408a7ee85ce..8f9af9bde359 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionWithNullableReceiverCall2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionWithNullableReceiverCall2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class Optional(val value: T) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionWithNullableReceiverCall3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionWithNullableReceiverCall3.kt index 10ee4bd3dcfd..3c822b7b2dca 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionWithNullableReceiverCall3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/extensionWithNullableReceiverCall3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class A(val b: B?) class B diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall1.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall1.kt index e3fb769bc5a5..38520b1c72ad 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall1.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall1.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall2.kt index c806d1a0e104..e3c984e83e5f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall3.kt index 2928696b1d31..cb38885cfddf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall3.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall4.kt index 474afb48eef5..55b8b136876c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall4.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall5.kt index f86bbcbfc1e8..46fa267547fa 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall5.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall6.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall6.kt index 26564f102c7b..b8de520a7bf2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall6.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall6.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall7.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall7.kt index e289957ee5f1..0e10f3162531 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall7.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall7.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCallInExtension.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCallInExtension.kt index a7e831eb77aa..69c74ec98aec 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCallInExtension.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCallInExtension.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCallOnSafeCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCallOnSafeCall.kt index 467aa7baf448..7f0625f0edf7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCallOnSafeCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCallOnSafeCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo(s: String, i: Int) = s.length + i diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionInVariableCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionInVariableCall.kt index 1340729dbca5..564b7d065416 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionInVariableCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionInVariableCall.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class Foo(val bar: () -> Int) fun bar(foo: Foo?) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionInVariableInvokeCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionInVariableInvokeCall.kt index b28c8b999dca..5e4e3f7200de 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionInVariableInvokeCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionInVariableInvokeCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo(val bar: () -> Int) fun bar(foo: Foo?) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionInVariableInvokeCall.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionInVariableInvokeCall.kt.after index 78b9bc06b0bc..779db8ea505a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionInVariableInvokeCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionInVariableInvokeCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo(val bar: () -> Int) fun bar(foo: Foo?) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/in.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/in.kt index 30f2aeb5b89f..c13f931851cc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/in.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/in.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/inWithMultipleParam.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/inWithMultipleParam.kt index 9e257d0885f5..4bdf96529690 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/inWithMultipleParam.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/inWithMultipleParam.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/inWithRange.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/inWithRange.kt index 849c4041a1c9..859924bc8da0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/inWithRange.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/inWithRange.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/inWithRangeMultipleParam.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/inWithRangeMultipleParam.kt index 6b7ed9d85c34..aff042ccf301 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/inWithRangeMultipleParam.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/inWithRangeMultipleParam.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall.kt index db9ce710c1ac..ae61cf9e18d1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class A { operator fun invoke() {} } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall2.kt index 59a5321acee6..049fc038bae2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class A { operator fun invoke() {} } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall3.kt index 6c80b7c6c327..9b094e14222e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A { operator fun invoke() {} } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall3.kt.after index aacb0eec881d..1ad17e730dc7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A { operator fun invoke() {} } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall4.kt index c65abc1d33de..984b5207cd4d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall4.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class A { operator fun invoke(a: A, i: Int) {} } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall5.kt index c1f848c977fc..62b87f1c3da3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/invokeCall5.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class A { operator fun invoke() {} } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/lambdaWithBinaryExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/lambdaWithBinaryExpression.kt index c969dbfab905..e3c08b65a482 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/lambdaWithBinaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/lambdaWithBinaryExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun baz(foo: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/lambdaWithBinaryExpression2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/lambdaWithBinaryExpression2.kt index 884a6f3c82b5..277fe1ab0ed3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/lambdaWithBinaryExpression2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/lambdaWithBinaryExpression2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun baz(foo: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/let.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/let.kt index c01b6b859edf..3a30b0627fa5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/let.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/let.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/let.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/let.kt.after index 92c8e02a3fcc..91620d1ab465 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/let.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/let.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letMultipleLines.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letMultipleLines.kt index 5032dc961a93..cbbc6ce85fb3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letMultipleLines.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letMultipleLines.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letNoSafeCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letNoSafeCall.kt index 31d8b0225012..f1305a761fce 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letNoSafeCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letNoSafeCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letNoSafeCall.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letNoSafeCall.kt.after index 445210de73d5..fe184cf3a764 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letNoSafeCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letNoSafeCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letNotUseParameterReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letNotUseParameterReceiver.kt index e12a770cc939..007aeb03851f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letNotUseParameterReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letNotUseParameterReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letNotUseReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letNotUseReceiver.kt index f4fcf8a99192..c5651d0528f5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letNotUseReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letNotUseReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseIt.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseIt.kt index a2423ec4d4a8..2a2ea6dad1bb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseIt.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseIt.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItAsParamWithBinaryExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItAsParamWithBinaryExpression.kt index b8bf79bb2379..3f9fac072878 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItAsParamWithBinaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItAsParamWithBinaryExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithBinaryExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithBinaryExpression.kt index f49ef207cae4..ec1bc4365043 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithBinaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithBinaryExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithBinaryExpression2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithBinaryExpression2.kt index 5fd8404ab80a..b12ec078a4cb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithBinaryExpression2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithBinaryExpression2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithMultipleMethodCall1.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithMultipleMethodCall1.kt index 05fddfe9c0dc..53f044985f06 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithMultipleMethodCall1.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithMultipleMethodCall1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithMultipleMethodCall2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithMultipleMethodCall2.kt index 12064396a0c3..edbb49a1f002 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithMultipleMethodCall2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithMultipleMethodCall2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithMultipleMethodCall3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithMultipleMethodCall3.kt index bd963a6660ea..3a21ac09d477 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithMultipleMethodCall3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseItWithMultipleMethodCall3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseParameter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseParameter.kt index cb69fc488415..db22bbacbdc6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseParameter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letUseParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithBinaryExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithBinaryExpression.kt index 3062a62aaffa..e89251904d68 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithBinaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithBinaryExpression.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithMethodCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithMethodCall.kt index 70ea6a79224b..24cdb6480e69 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithMethodCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithMethodCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithMethodCall.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithMethodCall.kt.after index 8e7b979df018..1f06fedb25c0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithMethodCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithMethodCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithMultipleMethodCall.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithMultipleMethodCall.kt index e785da74f2d9..89bde4f4f878 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithMultipleMethodCall.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithMultipleMethodCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithMultipleMethodCall.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithMultipleMethodCall.kt.after index 1e5eb33548c1..2d6219386ac9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithMultipleMethodCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithMultipleMethodCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithParameter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithParameter.kt index 58fd609491af..e4875ec06b49 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithParameter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithParameter.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithParameter.kt.after index 92c8e02a3fcc..91620d1ab465 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithSimpleBinaryExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithSimpleBinaryExpression.kt index c22edad08f9f..a4d2fd85bead 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithSimpleBinaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithSimpleBinaryExpression.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithThisBinaryExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithThisBinaryExpression.kt index d62148668fbc..0fdcd05b9a24 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithThisBinaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithThisBinaryExpression.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun Int.foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithThisShortBinaryExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithThisShortBinaryExpression.kt index 0fed4c95b448..6f1fdec7fd5d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithThisShortBinaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithThisShortBinaryExpression.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun Int.foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/longCallChain.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/longCallChain.kt index e16783bc3f87..a913e7a7f02a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/longCallChain.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/longCallChain.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // HIGHLIGHT: INFORMATION fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/multipleReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/multipleReceiver.kt index afa1d6a16a60..9821d54db6d7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/multipleReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/multipleReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun baz(foo: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/multipleReceiver2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/multipleReceiver2.kt index ce7973f7ff5d..ea0b0b7ebe1f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/multipleReceiver2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/multipleReceiver2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun baz(foo: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/multipleReceiver3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/multipleReceiver3.kt index b7370b83e6a3..6edb9b5bf7d9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/multipleReceiver3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/multipleReceiver3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun baz(foo: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/multipleUsages.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/multipleUsages.kt index a624c9d591ff..8b5c2c13c200 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/multipleUsages.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/multipleUsages.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) { if (s.substring(1).let { it.startsWith("a") || it[1].isLowerCase() }) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/noReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/noReceiver.kt index 646c21106775..bd9f8665e3df 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/noReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/noReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun String.test(): Int { return let { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/noReceiver.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/noReceiver.kt.after index 254481e3906d..05f2ba18b6f1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/noReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/noReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun String.test(): Int { return length diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/plusNullable.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/plusNullable.kt index e194ff9b2904..9ddb914b9685 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/plusNullable.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/plusNullable.kt @@ -1,4 +1,4 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun plusNullable(arg: String?) = arg?.let { it + "#" } ?: "" \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/receiverWithLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/receiverWithLambda.kt index 750f2aeb2bf3..e22b414c0532 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/receiverWithLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/receiverWithLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun baz(foo: String) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/receiverWithLambda2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/receiverWithLambda2.kt index d14367fde031..f076ab0cc346 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/receiverWithLambda2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/receiverWithLambda2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none // This should be reported. However, in order to avoid too complicate logic, the intention ignore this case. diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference.kt index 9890aa035c67..519f9c4f18a1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val a = 42.let { t -> t }.also { println(it) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference.kt.after index 346330fd4789..5a3890b71f7c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val a = 42.also { println(it) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference2.kt index 71499365cc10..ad15d4b77b5b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference2.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val a = 42.let { it } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference2.kt.after index 1c2eaca295ad..56dd34c168f0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference2.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val a = 42 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference3.kt index 1968bfbc67d3..e2c8bc7096bf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Int.foo() { let { it } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference3.kt.after index 6dfdde1a24ae..e7ba87337114 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Int.foo() { } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference4.kt index b820b275bb3a..487fe3edd083 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Int.foo() { let { it }.also(::println) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference4.kt.after index 718f7a48daeb..56a9da915357 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Int.foo() { also(::println) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference5.kt index 00df3e08d6a1..fcef65d5601a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference5.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val a = 1?.let { it }?.let { it } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference5.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference5.kt.after index 665d9d07c087..cce458b57bf5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference5.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/reference5.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val a = 1?.let { it } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/sameLets.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/sameLets.kt index 78aa61af8603..fa7800637c52 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/sameLets.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/sameLets.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/sameLets.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/sameLets.kt.after index b83dd24b8cca..e8be6763341a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/sameLets.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/sameLets.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/simple.kt index 89f56de232ec..b6c3ada8719e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String?): Int? { return s?.let { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/simple.kt.after index 1d77116d7d74..efd293b40923 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String?): Int? { return s?.length diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/smartCastInBody.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/smartCastInBody.kt index 9262320b54f2..f3d674cd5a25 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/smartCastInBody.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/smartCastInBody.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB interface A diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/this.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/this.kt index 5bd1f92f6296..bdda7b3b6784 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/this.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/this.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Int.foo(): Int { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/this.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/this.kt.after index 176642f1d94e..12d089559806 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/this.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/this.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Int.foo(): Int { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/thisShort.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/thisShort.kt index 77078d9fd2e3..e6ae47743019 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/thisShort.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/thisShort.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Int.foo(): Int { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/thisShort.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/thisShort.kt.after index 4b6be023661d..de6f4f80060c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/thisShort.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/thisShort.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Int.foo(): Int { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/typeChecks.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/typeChecks.kt index 064f36d2ec33..f4ff169ac5e6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/typeChecks.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/typeChecks.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB interface Base diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/comments.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/comments.kt index 7a0ff3f50d3b..493269a19544 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/comments.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/comments.kt @@ -1,5 +1,5 @@ // FIX: "Replace with '?: error(...)'" -// WITH_RUNTIME +// WITH_STDLIB fun foo(p: Array) { val v = p[0] diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/comments.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/comments.kt.after index 869f20459b30..8c941e6a557e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/comments.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/comments.kt.after @@ -1,5 +1,5 @@ // FIX: "Replace with '?: error(...)'" -// WITH_RUNTIME +// WITH_STDLIB fun foo(p: Array) { val v = p[0] ?: error(/* null */ /* lazy message */"Should be not null") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/commentsNoMessage.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/commentsNoMessage.kt index 1f1deabc9662..2870024a7588 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/commentsNoMessage.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/commentsNoMessage.kt @@ -1,5 +1,5 @@ // FIX: "Replace with '!!' operator" -// WITH_RUNTIME +// WITH_STDLIB fun foo(p: Array) { val v = p[0] diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/commentsNoMessage.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/commentsNoMessage.kt.after index c081f6e972e1..c9a6df485a84 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/commentsNoMessage.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/commentsNoMessage.kt.after @@ -1,5 +1,5 @@ // FIX: "Replace with '!!' operator" -// WITH_RUNTIME +// WITH_STDLIB fun foo(p: Array) { /* null */ diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/complicatedMessageLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/complicatedMessageLambda.kt index 30c5774c44e3..96876c05e567 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/complicatedMessageLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/complicatedMessageLambda.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(p: Array) { val v = p[0] diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/eqNull.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/eqNull.kt index 7f0c9bd21dae..5a41d2bda955 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/eqNull.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/eqNull.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(p: Array) { val v = p[0] diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/errorFunctionInContext.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/errorFunctionInContext.kt index d450e53bc70f..f39fa60b0dfd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/errorFunctionInContext.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/errorFunctionInContext.kt @@ -1,5 +1,5 @@ // FIX: "Replace with '?: error(...)'" -// WITH_RUNTIME +// WITH_STDLIB class C { fun error(message: String) { } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/errorFunctionInContext.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/errorFunctionInContext.kt.after index e911e374bf9c..c7a97523236b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/errorFunctionInContext.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/errorFunctionInContext.kt.after @@ -1,5 +1,5 @@ // FIX: "Replace with '?: error(...)'" -// WITH_RUNTIME +// WITH_STDLIB class C { fun error(message: String) { } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/falseAssert.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/falseAssert.kt index 4096b33d1256..26413f890aaf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/falseAssert.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/falseAssert.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class C { fun assert(b: Boolean) { } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/noMessage.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/noMessage.kt index dc7a18c78de1..59f5f05d258a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/noMessage.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/noMessage.kt @@ -1,5 +1,5 @@ // FIX: "Replace with '!!' operator" -// WITH_RUNTIME +// WITH_STDLIB fun foo(p: Array) { val v = p[0] diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/noMessage.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/noMessage.kt.after index b2068220f49d..32c8fbab73d5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/noMessage.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/noMessage.kt.after @@ -1,5 +1,5 @@ // FIX: "Replace with '!!' operator" -// WITH_RUNTIME +// WITH_STDLIB fun foo(p: Array) { val v = p[0]!! diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/otherVariable.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/otherVariable.kt index d556ea519002..8b2738be21e8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/otherVariable.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/otherVariable.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(p: Array) { val v1 = p[0] diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/qualifiedAccess.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/qualifiedAccess.kt index f881445323b9..257376b2f6d9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/qualifiedAccess.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/qualifiedAccess.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB class C(val v: String?) { fun foo(p: Array) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/withMessage.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/withMessage.kt index 92812c05344d..8c794f662685 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/withMessage.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/withMessage.kt @@ -1,5 +1,5 @@ // FIX: "Replace with '?: error(...)'" -// WITH_RUNTIME +// WITH_STDLIB fun foo(p: Array) { val v = p[0] diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/withMessage.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/withMessage.kt.after index 1783b7ca1e47..1f3948ba2938 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/withMessage.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/withMessage.kt.after @@ -1,5 +1,5 @@ // FIX: "Replace with '?: error(...)'" -// WITH_RUNTIME +// WITH_STDLIB fun foo(p: Array) { val v = p[0] ?: error("Should be not null") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/withMessageLambdaOutside.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/withMessageLambdaOutside.kt index 7f28b496c0ee..5d591269d8a7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/withMessageLambdaOutside.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/withMessageLambdaOutside.kt @@ -1,5 +1,5 @@ // FIX: "Replace with '?: error(...)'" -// WITH_RUNTIME +// WITH_STDLIB fun foo(p: Array) { val v = p[0] diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/withMessageLambdaOutside.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/withMessageLambdaOutside.kt.after index 1783b7ca1e47..1f3948ba2938 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/withMessageLambdaOutside.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyAssertNotNull/withMessageLambdaOutside.kt.after @@ -1,5 +1,5 @@ // FIX: "Replace with '?: error(...)'" -// WITH_RUNTIME +// WITH_STDLIB fun foo(p: Array) { val v = p[0] ?: error("Should be not null") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also.kt index 288b3091d0ef..c53c65839240 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(){ listOf(1,2,3).also { it.forEach{ it + 4 } }.forEach{ it + 5 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also.kt.after index c29f3313597c..a63b2a06a4d2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(){ listOf(1,2,3).onEach { it + 4 }.forEach{ it + 5 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also2.kt index fa64b13a37c3..70e54dd99890 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(){ val a = listOf(1,2,3) "".also { a.forEach { it + 2 } } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also3.kt index 60b5913e1eaa..a632b0903f9f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(){ listOf(1,2,3).also { s -> s.forEach{ it + 4 } }.forEach{ it + 5 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also3.kt.after index c29f3313597c..a63b2a06a4d2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(){ listOf(1,2,3).onEach { it + 4 }.forEach{ it + 5 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also4.kt index 427e1d5eef79..a8b84db7bc79 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also4.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(){ listOf(1,2,3).also { listOf(1,2,3).forEach { } } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also5.kt index ae353bf3b57f..dcc4e9377c45 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/also5.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(){ mutableListOf(1,2,3).also { list -> list.forEach { list.add(it) } } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoFunctionReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoFunctionReference.kt index 1766bee05875..7c018df4af52 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoFunctionReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoFunctionReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(num: Int) = println(num + 1) fun test(): List { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoFunctionReference.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoFunctionReference.kt.after index bce404536c6d..bd6a88264e2c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoFunctionReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoFunctionReference.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(num: Int) = println(num + 1) fun test(): List { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoLabel.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoLabel.kt index c9e1b5fc85fd..2dab76c08fb5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoLabel.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoLabel.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(){ listOf(1, 2, 3).also a@ { it.forEach { i -> if (i % 2 == 0) return@a diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoLabel2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoLabel2.kt index 61b781e280cb..4326efafa56a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoLabel2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoLabel2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(){ listOf(1, 2, 3).also { it.forEach { i -> if (i % 2 == 0) return@also diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoLabel3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoLabel3.kt index 6dd8f5f3bfea..bb372b6ad773 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoLabel3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoLabel3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(){ listOf(1, 2, 3).also { it.forEach { i -> if (i % 2 == 0) return@forEach diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoLabel3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoLabel3.kt.after index 80d512d06bfd..257722e7fc9f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoLabel3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/alsoLabel3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(){ listOf(1, 2, 3).onEach { i -> if (i % 2 == 0) return@onEach diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply.kt index 37d630573e7a..d0c22ba526f0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(){ listOf(1,2,3).apply { forEach{ it + 4 } }.forEach{ it + 5 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply.kt.after index c29f3313597c..a63b2a06a4d2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(){ listOf(1,2,3).onEach { it + 4 }.forEach{ it + 5 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply2.kt index 0b78edb75569..517c61b679e5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(){ listOf(1,2,3).apply { 1.apply { forEach{ it + 1 } } } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply3.kt index 9061bdc6b113..378a78d6d0b2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(){ listOf(1,2,3).apply { this@apply.forEach { it + 5 } } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply3.kt.after index 4ae2f655b223..0aa90bc9b706 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(){ listOf(1,2,3).onEach { it + 5 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyFunctionReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyFunctionReference.kt index 5e4be2db3ac0..7f2933ca631e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyFunctionReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyFunctionReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(num: Int) = println(num + 1) fun test(): List { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyFunctionReference.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyFunctionReference.kt.after index bce404536c6d..bd6a88264e2c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyFunctionReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyFunctionReference.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(num: Int) = println(num + 1) fun test(): List { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyFunctionReferenceWithParentheses.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyFunctionReferenceWithParentheses.kt index 133671fdabfb..8a367e38234f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyFunctionReferenceWithParentheses.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyFunctionReferenceWithParentheses.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(num: Int) = println(num + 1) fun test(): List { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyFunctionReferenceWithParentheses.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyFunctionReferenceWithParentheses.kt.after index 70002abc2cb1..d806c900b103 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyFunctionReferenceWithParentheses.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyFunctionReferenceWithParentheses.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(num: Int) = println(num + 1) fun test(): List { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyLabel.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyLabel.kt index c1ce3b393957..28db0380e4db 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyLabel.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyLabel.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(){ listOf(1,2,3).apply { forEach { this@apply.contains(it) } } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyLabel2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyLabel2.kt index a4b7615bb698..041a4faa7948 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyLabel2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyLabel2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(){ 1.apply { listOf(1, 2, 3).apply { forEach { this.plus(it) } } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyLabel2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyLabel2.kt.after index 6eb01f8b86cb..deb6891a1565 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyLabel2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/applyLabel2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(){ 1.apply { listOf(1, 2, 3).onEach { this.plus(it) } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseAndElse2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseAndElse2.kt index 4bbd4bd15c63..43430ea7ea92 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseAndElse2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseAndElse2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = when { false -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseAndElse2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseAndElse2.kt.after index 005416a1fcae..eb2e3914c21f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseAndElse2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseAndElse2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = run { println(2) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseAndElse3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseAndElse3.kt index 0657dc878997..9941436c2b89 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseAndElse3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseAndElse3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { when { false -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseAndElse3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseAndElse3.kt.after index c6ea574185ed..6769629d3738 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseAndElse3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseAndElse3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { println(2) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseOnly2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseOnly2.kt index bc47454860dd..4a607e209fe0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseOnly2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseOnly2.kt @@ -1,5 +1,5 @@ // ERROR: 'when' expression must be exhaustive, add necessary 'else' branch -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = when { false -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseOnly2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseOnly2.kt.after index a88de607cca5..4b554e529be4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseOnly2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseOnly2.kt.after @@ -1,5 +1,5 @@ // ERROR: 'when' expression must be exhaustive, add necessary 'else' branch -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = when { } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseOnly3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseOnly3.kt index dc1c9611be01..3360fb35a14f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseOnly3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseOnly3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { when { false -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseOnly3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseOnly3.kt.after index 786a2050ab6a..926001ddff76 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseOnly3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/falseOnly3.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/hasSubject.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/hasSubject.kt index 91d7e5184942..c0f7f4aaf5e7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/hasSubject.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/hasSubject.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { when(b) { true -> println(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/noBoolean.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/noBoolean.kt index 14b18170899b..79fa06c5a32b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/noBoolean.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/noBoolean.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { when { i == 1 -> println(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsNotTop2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsNotTop2.kt index cdd3367da6c5..13b7eaaf65cf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsNotTop2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsNotTop2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { val x = when { i == 1 -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsNotTop2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsNotTop2.kt.after index f90a63e82e63..53092f1d43b4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsNotTop2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsNotTop2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { val x = when { i == 1 -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsNotTop3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsNotTop3.kt index 6ddf46f393be..ca9df3d6aa18 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsNotTop3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsNotTop3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { when { i == 1 -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsNotTop3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsNotTop3.kt.after index 592b66ee64dc..ebec7678e1b6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsNotTop3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsNotTop3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { when { i == 1 -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsTop2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsTop2.kt index b04e0f313496..eee1a3c897eb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsTop2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsTop2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = when { true -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsTop2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsTop2.kt.after index 727486f03ce0..71b1302da1fa 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsTop2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsTop2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = run { println(1) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsTop3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsTop3.kt index 2e9b889b42f4..b460763cfab0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsTop3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsTop3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { when { true -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsTop3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsTop3.kt.after index 8f3929251e2c..658284c04358 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsTop3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsTop3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { println(1) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/defaultParameter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/defaultParameter.kt index 9d2062306980..f48e0cbd4e4f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/defaultParameter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/defaultParameter.kt @@ -1,5 +1,5 @@ // PROBLEM: Suspicious callable reference as the only lambda element -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).map { it::toString } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/defaultParameter.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/defaultParameter.kt.after index ef0a5d1b191e..f7e253aca714 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/defaultParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/defaultParameter.kt.after @@ -1,5 +1,5 @@ // PROBLEM: Suspicious callable reference as the only lambda element -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).map(Int::toString) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/expectedFunction.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/expectedFunction.kt index 6e6302be35fc..17a1829d2975 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/expectedFunction.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/expectedFunction.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo(arg: Int) = arg.toString() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/explicitThisReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/explicitThisReceiver.kt index a374dd6eb944..8f61b46c4a6e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/explicitThisReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/explicitThisReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Test { fun function(s: String): Boolean = true fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/explicitThisReceiver.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/explicitThisReceiver.kt.after index e7d22ef99b64..8c40e5a5b6ba 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/explicitThisReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/explicitThisReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Test { fun function(s: String): Boolean = true fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/implicitThisReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/implicitThisReceiver.kt index 2146d654a816..ae7a4d08b836 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/implicitThisReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/implicitThisReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Test { fun function(s: String): Boolean = true fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/implicitThisReceiver.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/implicitThisReceiver.kt.after index 17e2ef3d9057..cf427a716b9a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/implicitThisReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/implicitThisReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Test { fun function(s: String): Boolean = true fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/invalidFunctionReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/invalidFunctionReference.kt index cbd79c9e0913..8b109fb14608 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/invalidFunctionReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/invalidFunctionReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: none fun test(x: Int) { fun p(s: String): Boolean = true diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/invalidFunctionReference2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/invalidFunctionReference2.kt index facc70927801..5d95eb6286d3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/invalidFunctionReference2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/invalidFunctionReference2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: none fun test(x: Int) { val p = { _: String -> true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/invalidFunctionReference3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/invalidFunctionReference3.kt index 15f3b549a152..7a81dd896536 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/invalidFunctionReference3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/invalidFunctionReference3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: none fun test(x: Int, y: String) { x.run { y::length } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/invalidFunctionReference4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/invalidFunctionReference4.kt index 8f56178b340d..061f016b698b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/invalidFunctionReference4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/invalidFunctionReference4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // FIX: none fun test(x: Int) { x.run { String::length } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/it.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/it.kt index dc26c3911639..b4538d20e166 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/it.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/it.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).map { it::toString } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/it.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/it.kt.after index 2de927b96728..d5e47de19d79 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/it.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/it.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).map(Int::toString) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/lambdaInvoke.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/lambdaInvoke.kt index 161dc33fdc2b..0e0da0c1f5b9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/lambdaInvoke.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/lambdaInvoke.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { val predicate = { _: String -> true } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/lambdaWithArg.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/lambdaWithArg.kt index 6b74b6025951..2029a2132cb5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/lambdaWithArg.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/lambdaWithArg.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { x(1) { ::y } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/lambdaWithArg.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/lambdaWithArg.kt.after index ed4cacef5431..50637f0af0dc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/lambdaWithArg.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/lambdaWithArg.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { x(1, ::y) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/multipleLines.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/multipleLines.kt index d016489248f9..4845b481f930 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/multipleLines.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/multipleLines.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/noBody.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/noBody.kt index 6cdc29bdeb28..e00aa036d4e7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/noBody.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/noBody.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).map {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/noneCallableRef.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/noneCallableRef.kt index ca4a9f0b9a24..4bb101ab11a0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/noneCallableRef.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/noneCallableRef.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).map { println(it) } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/normal.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/normal.kt index 786e69b7d0ab..0b9ebb5a6bf7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/normal.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/normal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).map { Int::toString } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/normal.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/normal.kt.after index 2de927b96728..d5e47de19d79 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/normal.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/normal.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).map(Int::toString) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameter.kt index ced496d0b3c5..3968145f1428 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameter.kt @@ -1,5 +1,5 @@ // FIX: Move suspicious callable reference into parentheses '()' -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).map { bar -> bar::toString } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameter.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameter.kt.after index 53b7fdb7d7fa..e237f37933f4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameter.kt.after @@ -1,5 +1,5 @@ // FIX: Move suspicious callable reference into parentheses '()' -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).map(Int::toString) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameter2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameter2.kt index f0521ef0e0e0..a3710d2f999a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameter2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameter2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).map { bar -> bar::toString } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameter2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameter2.kt.after index 94daca3f165a..0ca633e1f154 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameter2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameter2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).map { bar -> bar::toString } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameterOuter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameterOuter.kt index 7a351028ebab..6c88d713a535 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameterOuter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameterOuter.kt @@ -1,5 +1,5 @@ // FIX: Move suspicious callable reference into parentheses '()' -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Int) { listOf(1,2,3).map { bar::plus } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameterOuter.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameterOuter.kt.after index c8c55ef2ef48..47524602297c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameterOuter.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/parameterOuter.kt.after @@ -1,5 +1,5 @@ // FIX: Move suspicious callable reference into parentheses '()' -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Int) { listOf(1,2,3).map(bar::plus) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/variableReceiver.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/variableReceiver.kt index 1b009f70cba8..8ab1e30e59dc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/variableReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/variableReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Test { val lambda = { s: String -> true } fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/variableReceiver.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/variableReceiver.kt.after index 8348529cdc3b..58a73314724e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/variableReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCallableReferenceInLambda/variableReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Test { val lambda = { s: String -> true } fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/hasError.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/hasError.kt index 1e2385091363..45e18f7f6041 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/hasError.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/hasError.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Type mismatch: inferred type is List but List was expected // COMPILER_ARGUMENTS: -XXLanguage:-NewInference diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/hasError_ni.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/hasError_ni.kt index 690858baf72f..68287cf91d35 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/hasError_ni.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/hasError_ni.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Type mismatch: inferred type is List<{Comparable<*> & java.io.Serializable}> but List was expected // COMPILER_ARGUMENTS: -XXLanguage:+NewInference diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/minus.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/minus.kt index 63cf4f7d0e59..a4f3ceb7c888 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/minus.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/minus.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { var list = listOf(1) list - 1 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/mutableList.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/mutableList.kt index 398af02b8b63..1eb20672cf7a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/mutableList.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/mutableList.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { var list = mutableListOf(1) list += 2 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/mutableMap.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/mutableMap.kt index ebd2d3db0919..ee282f94d91f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/mutableMap.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/mutableMap.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { var map = mutableMapOf(1 to 2) map += 3 to 4 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/mutableSet.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/mutableSet.kt index 58dfcaab3665..87fafef9f20e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/mutableSet.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/mutableSet.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { var set = mutableSetOf(1) set += 2 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/plus.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/plus.kt index 7b51c431aa7e..b626902e0730 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/plus.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/plus.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { var list = listOf(1) list + 2 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/simple.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/simple.kt index 44642f1166cf..c792e5d047aa 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/simple.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/simple.kt @@ -1,5 +1,5 @@ // FIX: Change type to mutable -// WITH_RUNTIME +// WITH_STDLIB fun test() { var list = listOf(1) list += 2 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/simple.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/simple.kt.after index ee801edf9d36..3037ccfc94d3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/simple.kt.after @@ -1,5 +1,5 @@ // FIX: Change type to mutable -// WITH_RUNTIME +// WITH_STDLIB fun test() { val list = mutableListOf(1) list += 2 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/val.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/val.kt index e98acc11cbb0..d8932ee1ac3d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/val.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/suspiciousCollectionReassignment/val.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { val list = mutableListOf(1) list += 2 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/throwableNotThrown/resultOfLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/throwableNotThrown/resultOfLambda.kt index 5f8bcfac3017..55cf5e09aa6e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/throwableNotThrown/resultOfLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/throwableNotThrown/resultOfLambda.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB import java.util.Optional fun test() { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/throwableNotThrown/resultOfLambda2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/throwableNotThrown/resultOfLambda2.kt index af1d15ef1dab..88ab1bad046a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/throwableNotThrown/resultOfLambda2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/throwableNotThrown/resultOfLambda2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { val d = dods { RuntimeException() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/copyOfValInLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/copyOfValInLambda.kt index ade627ac7745..9f4d482f5b33 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/copyOfValInLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/copyOfValInLambda.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun findCredentials() = 1 fun println(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/copyOfValInLambda2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/copyOfValInLambda2.kt index 05048fdbaace..6f5ca7f311b3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/copyOfValInLambda2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/copyOfValInLambda2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun findCredentials() = 1 fun println(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/copyOfValInLambda3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/copyOfValInLambda3.kt index f082d13866ee..04a75a5841df 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/copyOfValInLambda3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/copyOfValInLambda3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun findCredentials() = 1 fun println(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/copyOfValInLambda3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/copyOfValInLambda3.kt.after index 05d7566f22fe..1be57efbfe06 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/copyOfValInLambda3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/copyOfValInLambda3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun findCredentials() = 1 fun println(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/delegated.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/delegated.kt index bfa23732e5ee..af9005cee6a9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/delegated.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/delegated.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun test() { val a: Int? by lazy { null } val b = a diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/it.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/it.kt index 4a224d5a37de..ce65bce91fa2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/it.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryVariable/it.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: List, b: List) { a.forEach { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedDataClassCopyResult/basic.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedDataClassCopyResult/basic.kt index ba37e8937882..27c838ce4699 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedDataClassCopyResult/basic.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedDataClassCopyResult/basic.kt @@ -1,5 +1,5 @@ // FIX: none -// WITH_RUNTIME +// WITH_STDLIB fun main() { val o = Foo("") o.copy(prop = "New") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedDataClassCopyResult/basic2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedDataClassCopyResult/basic2.kt index b474ac52b360..c760e6e40dcf 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedDataClassCopyResult/basic2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedDataClassCopyResult/basic2.kt @@ -1,5 +1,5 @@ // FIX: none -// WITH_RUNTIME +// WITH_STDLIB fun main() { val o = Foo("") o.run { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedDataClassCopyResult/used.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedDataClassCopyResult/used.kt index 9052cdfba639..104d70b8a98d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedDataClassCopyResult/used.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedDataClassCopyResult/used.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun main() { val o = Foo("") val o2 = o.copy(prop = "New") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedDataClassCopyResult/used2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedDataClassCopyResult/used2.kt index 3b67ee410ca5..95f014d91489 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedDataClassCopyResult/used2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedDataClassCopyResult/used2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun main() { val o = Foo("") o.run { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedMainParameter/object.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedMainParameter/object.kt index 8593b580d565..ff5a856af5f7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedMainParameter/object.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedMainParameter/object.kt @@ -1,5 +1,5 @@ // LANGUAGE_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none object SomeMain { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/inAnonymous.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/inAnonymous.kt index 15f71d1bcd76..8d2444323b14 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/inAnonymous.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/inAnonymous.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val y = listOf(object { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/inAnonymousDeeply.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/inAnonymousDeeply.kt index e9055ee9123f..e601cd4b4b88 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/inAnonymousDeeply.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/inAnonymousDeeply.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val xs = listOf(1, 2, 3).flatMap { x -> diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/inAnonymousDeeplyInTopLevel.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/inAnonymousDeeplyInTopLevel.kt index 6bec79aa8b68..74909fa555a6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/inAnonymousDeeplyInTopLevel.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/inAnonymousDeeplyInTopLevel.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB private val xs = listOf(1, 2, 3).flatMap { x -> listOf(3, 4, 5).map { y -> diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/inAnonymousRunWrapped.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/inAnonymousRunWrapped.kt index a14a621f9cb3..5caee8922451 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/inAnonymousRunWrapped.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/inAnonymousRunWrapped.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun testDC(): String { val x = run { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/privateProperty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/privateProperty.kt index f9a143dd3e4b..fb7097ec8ed2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/privateProperty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/privateProperty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: Property "bar" is never used class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/privateProperty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/privateProperty.kt.after index e4ab5653a1de..c3b599a95071 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/privateProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/privateProperty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: Property "bar" is never used class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/privatePropertyViaGetter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/privatePropertyViaGetter.kt index 9d8ac99a7115..a3e5ba47d65c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/privatePropertyViaGetter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/privatePropertyViaGetter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/privatePropertyViaSetter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/privatePropertyViaSetter.kt index b8bcbcbeda5c..6478384c8141 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/privatePropertyViaSetter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/privatePropertyViaSetter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none class Foo { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/propertyOfInlineClassType.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/propertyOfInlineClassType.kt index 10ed9d49d58c..5bdae8d7ea35 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/propertyOfInlineClassType.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/propertyOfInlineClassType.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none inline class Inline(val x1: UInt) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/secondaryLocalClassConstructor.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/secondaryLocalClassConstructor.kt index d9b7ac9dc99d..9aeb5c481906 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/secondaryLocalClassConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/secondaryLocalClassConstructor.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB fun main() { class LocalClass(val number: Int) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/withJvmNameUsedFromKotlin.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/withJvmNameUsedFromKotlin.kt index e146e657bd60..0a9f1e10f49d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/withJvmNameUsedFromKotlin.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/withJvmNameUsedFromKotlin.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PROBLEM: none @JvmName("fooForJava") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/emptyList.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/emptyList.kt index f133ee599cb1..f0751a016f44 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/emptyList.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/emptyList.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): List { return emptyList() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/emptyList.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/emptyList.kt.after index 2d22b9e49a8c..926ad4dacadd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/emptyList.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/emptyList.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): List = emptyList() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithImplicitUnitTypeWithThrow.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithImplicitUnitTypeWithThrow.kt index bb0d22cbda61..cd2486d209f9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithImplicitUnitTypeWithThrow.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithImplicitUnitTypeWithThrow.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { throw UnsupportedOperationException() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithImplicitUnitTypeWithThrow.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithImplicitUnitTypeWithThrow.kt.after index c6608919a2b6..0e4c18444e2b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithImplicitUnitTypeWithThrow.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithImplicitUnitTypeWithThrow.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): Unit = throw UnsupportedOperationException() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithNothingType.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithNothingType.kt index ff085818522c..27713a37520b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithNothingType.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithNothingType.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): Nothing { throw UnsupportedOperationException() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithNothingType.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithNothingType.kt.after index 1907e83ea033..2db90481e930 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithNothingType.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithNothingType.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): Nothing = throw UnsupportedOperationException() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithUnitTypeWithThrow.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithUnitTypeWithThrow.kt index b0f8976593ae..1a2b36640847 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithUnitTypeWithThrow.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithUnitTypeWithThrow.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): Unit { throw UnsupportedOperationException() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithUnitTypeWithThrow.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithUnitTypeWithThrow.kt.after index c6608919a2b6..0e4c18444e2b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithUnitTypeWithThrow.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/funWithUnitTypeWithThrow.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): Unit = throw UnsupportedOperationException() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/returnFromLambda.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/returnFromLambda.kt index 27e0ac735deb..4cd8cbe0fbb7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/returnFromLambda.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/returnFromLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB public fun List.fn() : List { return map { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/returnFromLambda.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/returnFromLambda.kt.after index 6ec1b02ddd2b..13851b638a17 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/returnFromLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/returnFromLambda.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB public fun List.fn() : List = map { if (it.isEmpty()) return@map "" diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/returnFromLambda2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/returnFromLambda2.kt index d7b748506282..c3e819cc88ef 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/returnFromLambda2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/returnFromLambda2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB public fun List.fn() : List { return map { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/returnFromLambda2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/returnFromLambda2.kt.after index 762b4b001b0f..78f981b8cd2e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/returnFromLambda2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/useExpressionBody/convertToExpressionBody/returnFromLambda2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB public fun List.fn() : List = map { if (it.isEmpty()) return emptyList() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/caretOnValueArgumentList.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/caretOnValueArgumentList.kt index bb1786a53d77..15d9a79b90ea 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/caretOnValueArgumentList.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/caretOnValueArgumentList.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB import java.io.File fun foo(file: File) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/get.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/get.kt index d84afb215d63..51718e7987e5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/get.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/get.kt @@ -1,5 +1,5 @@ // PROBLEM: "Use of getter method instead of property access syntax" -// WITH_RUNTIME +// WITH_STDLIB import java.io.File fun foo(file: File) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/get.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/get.kt.after index 335c8d60139a..b6a020c0a45d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/get.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/get.kt.after @@ -1,5 +1,5 @@ // PROBLEM: "Use of getter method instead of property access syntax" -// WITH_RUNTIME +// WITH_STDLIB import java.io.File fun foo(file: File) { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/set.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/set.kt index e6caab242c9e..8d17aaf6e291 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/set.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/set.kt @@ -1,5 +1,5 @@ // PROBLEM: "Use of setter method instead of property access syntax" -// WITH_RUNTIME +// WITH_STDLIB fun foo(thread: Thread) { thread.setName("name") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/set.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/set.kt.after index 04a702cf77b8..01dfe76d59fc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/set.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/set.kt.after @@ -1,5 +1,5 @@ // PROBLEM: "Use of setter method instead of property access syntax" -// WITH_RUNTIME +// WITH_STDLIB fun foo(thread: Thread) { thread.name = "name" } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/complexExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/complexExpression.kt index 58e54c484623..31f0aae1ca30 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/complexExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/complexExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun println(s: String) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/complexExpression.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/complexExpression.kt.after index 299a55a2e017..6a893f8c61a0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/complexExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/complexExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun println(s: String) {} diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/multiReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/multiReference.kt index f51c6de5107f..2724c2b2fe9f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/multiReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/multiReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { when (val a = create()) { else -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/multiReference.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/multiReference.kt.after index 0034af0c4166..169fc4824233 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/multiReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/multiReference.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { run { val a = create() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/noReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/noReference.kt index 81ee291a8194..88cf8215d702 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/noReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/noReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { when (val a = create()) { else -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/noReference.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/noReference.kt.after index bd786bbe0e5e..33456db4cd1f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/noReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/noReference.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { run { val a = create() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/noReference2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/noReference2.kt index 1a26662195d9..c10bec5226e9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/noReference2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/noReference2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { when (val a = 42) { else -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/noReference2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/noReference2.kt.after index 71b68626d4bc..45f0292be1be 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/noReference2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/noReference2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { use("") foo() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/singleReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/singleReference.kt index 7687809e9dad..f80f6649a714 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/singleReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/singleReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { when (val a = create()) { else -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/singleReference.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/singleReference.kt.after index 2edeafa5248e..1f5d4f7ab0bb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/singleReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElse/singleReference.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { run { val a = create() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/multiReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/multiReference.kt index 0162fb2f457c..cc22bfd083df 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/multiReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/multiReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = when (val a = create()) { else -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/multiReference.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/multiReference.kt.after index 4f2aaa8280c6..e91a89bbdeae 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/multiReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/multiReference.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = run { val a = create() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/noReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/noReference.kt index ac9484d0fd36..626d368168e3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/noReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/noReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = when (val a = create()) { else -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/noReference.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/noReference.kt.after index 976a27c43d7c..c6ce55bba264 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/noReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/noReference.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = run { val a = create() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/noReference2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/noReference2.kt index c861d3084d39..aa025e2e09fc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/noReference2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/noReference2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = when (val a = 42) { else -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/noReference2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/noReference2.kt.after index f10936bd23e8..0dea3194fd7f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/noReference2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/noReference2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = run { use("") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/singleReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/singleReference.kt index f4dc693807ec..b72d1aa4ece9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/singleReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/singleReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = when (val a = create()) { else -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/singleReference.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/singleReference.kt.after index f86bc09da837..917dc77c1c02 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/singleReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/blockElseUsedAsExpression/singleReference.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = run { val a = create() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasAnnotation.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasAnnotation.kt index 53e8cb29e282..550cf6d281f5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasAnnotation.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun hasAnnotation() { when (@Bar val a = create()) { else -> use(a) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasAnnotation.kt.after index e0e0d32943fe..594c95da1acc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasAnnotation.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun hasAnnotation() { run { @Bar val a = create() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable.kt index e26e7d106bba..cf716a9c7c99 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { when (val a = 42) { else -> use(a, a) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable.kt.after index 4f42ba8394f5..97f8cb0ea55e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { run { val a = 42 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable2.kt index 7df861967d53..e826167248eb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { when (val a = 42) { else -> { diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable2.kt.after index d1be7b118907..c6ea0a8a5d2b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { run { val a = 42 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable4.kt index bf08377ebae2..dcb0591edde1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = when (val a = 42) { else -> use(a, a) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable4.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable4.kt.after index 2468519bd00b..d7915ea287a1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable4.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = run { val a = 42 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/multiReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/multiReference.kt index aefc0a851043..9bca6303f8e8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/multiReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/multiReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { when (val a = create()) { else -> use(a, a) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/multiReference.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/multiReference.kt.after index 6ef819e3a3f2..370fcabe6a07 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/multiReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/multiReference.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { run { val a = create() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/multiReferenceUsedAsExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/multiReferenceUsedAsExpression.kt index cb2dd1615963..f91c1b8e63c1 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/multiReferenceUsedAsExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/multiReferenceUsedAsExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = when (val a = create()) { else -> use(a, a) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/multiReferenceUsedAsExpression.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/multiReferenceUsedAsExpression.kt.after index 4f2aaa8280c6..e91a89bbdeae 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/multiReferenceUsedAsExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/multiReferenceUsedAsExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = run { val a = create() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReference.kt index 6fd3427c090c..13c90514313a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { when (val a = create()) { else -> use("") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReference.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReference.kt.after index c85fec5be6c1..eef6a194e42f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReference.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { run { val a = create() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReferenceUsedAsExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReferenceUsedAsExpression.kt index 6bb117bd224b..e1cb614f6332 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReferenceUsedAsExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReferenceUsedAsExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = when (val a = create()) { else -> use("") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReferenceUsedAsExpression.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReferenceUsedAsExpression.kt.after index 976a27c43d7c..c6ce55bba264 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReferenceUsedAsExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReferenceUsedAsExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = run { val a = create() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReferenceUsedAsExpression2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReferenceUsedAsExpression2.kt index b191f02b1655..2081afd66035 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReferenceUsedAsExpression2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReferenceUsedAsExpression2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = when (val a = 42) { else -> use("") diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReferenceUsedAsExpression2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReferenceUsedAsExpression2.kt.after index 59d1458cc6ce..1711be74d748 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReferenceUsedAsExpression2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/noReferenceUsedAsExpression2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = use("") } diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/singleReference.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/singleReference.kt index 63ec54801262..2d82aa8a4990 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/singleReference.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/singleReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { when (val a = create()) { else -> use(a) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/singleReference.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/singleReference.kt.after index 4e1750c82815..4e9295b83e2e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/singleReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/singleReference.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { run { val a = create() diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/singleReferenceUsedAsExpression.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/singleReferenceUsedAsExpression.kt index a3f111a43fea..08922829289e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/singleReferenceUsedAsExpression.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/singleReferenceUsedAsExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = when (val a = create()) { else -> use(a) diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/singleReferenceUsedAsExpression.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/singleReferenceUsedAsExpression.kt.after index f86bc09da837..917dc77c1c02 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/singleReferenceUsedAsExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/singleElse/singleReferenceUsedAsExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val x = run { val a = create() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/delegate.kt b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/delegate.kt index a3f9ded077de..39f324ae314d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/delegate.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/delegate.kt @@ -1,5 +1,5 @@ // CHOOSE_USE_SITE_TARGET: delegate -// WITH_RUNTIME +// WITH_STDLIB annotation class A diff --git a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/delegate.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/delegate.kt.after index 8c6c867375aa..d48950e25742 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/delegate.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/delegate.kt.after @@ -1,5 +1,5 @@ // CHOOSE_USE_SITE_TARGET: delegate -// WITH_RUNTIME +// WITH_STDLIB annotation class A diff --git a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/field.kt b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/field.kt index 8e85630b161f..9284c502ba48 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/field.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/field.kt @@ -1,5 +1,5 @@ // CHOOSE_USE_SITE_TARGET: field -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false annotation class A diff --git a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/file.kt b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/file.kt index 6ab58ef1e738..8529c4a961b1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/file.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/file.kt @@ -1,5 +1,5 @@ // CHOOSE_USE_SITE_TARGET: file -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false annotation class A diff --git a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/get.kt b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/get.kt index 7fdf2ba0eb72..80b729df2f11 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/get.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/get.kt @@ -1,5 +1,5 @@ // CHOOSE_USE_SITE_TARGET: get -// WITH_RUNTIME +// WITH_STDLIB annotation class A diff --git a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/get.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/get.kt.after index e3b9e92515d6..95b002e1926c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/get.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/get.kt.after @@ -1,5 +1,5 @@ // CHOOSE_USE_SITE_TARGET: get -// WITH_RUNTIME +// WITH_STDLIB annotation class A diff --git a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/param.kt b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/param.kt index d8a7d2fc7970..56c0fa0aee74 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/param.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/param.kt @@ -1,5 +1,5 @@ // CHOOSE_USE_SITE_TARGET: param -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false annotation class A diff --git a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/property.kt b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/property.kt index ef1d93324177..fdcb66c9598f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/property.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/property.kt @@ -1,5 +1,5 @@ // CHOOSE_USE_SITE_TARGET: property -// WITH_RUNTIME +// WITH_STDLIB annotation class A diff --git a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/property.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/property.kt.after index 84bc3657fcd8..5d3a88b4d8ea 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/property.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/property.kt.after @@ -1,5 +1,5 @@ // CHOOSE_USE_SITE_TARGET: property -// WITH_RUNTIME +// WITH_STDLIB annotation class A diff --git a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/receiver.kt b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/receiver.kt index eb812cab4b27..4239e142e1c8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/receiver.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/receiver.kt @@ -1,5 +1,5 @@ // CHOOSE_USE_SITE_TARGET: receiver -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false annotation class A diff --git a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/set.kt b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/set.kt index a8977ad1012d..5ce2f3f103aa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/set.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/set.kt @@ -1,5 +1,5 @@ // CHOOSE_USE_SITE_TARGET: set -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false annotation class A diff --git a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/setparam.kt b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/setparam.kt index 9c48981109a1..c2a66cb67ecf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/setparam.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addAnnotationUseSiteTarget/property/delegate/setparam.kt @@ -1,5 +1,5 @@ // CHOOSE_USE_SITE_TARGET: setparam -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false annotation class A diff --git a/plugins/kotlin/idea/tests/testData/intentions/addConstModifier/removeJvmField.kt b/plugins/kotlin/idea/tests/testData/intentions/addConstModifier/removeJvmField.kt index f0416274c2fe..ac2a258ca43d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addConstModifier/removeJvmField.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addConstModifier/removeJvmField.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB object O { @JvmField val a = 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/addConstModifier/removeJvmField.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addConstModifier/removeJvmField.kt.after index 1303b85d1d42..94c299cbd993 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addConstModifier/removeJvmField.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addConstModifier/removeJvmField.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB object O { const val a = 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/addConstModifier/removeJvmStatic.kt b/plugins/kotlin/idea/tests/testData/intentions/addConstModifier/removeJvmStatic.kt index efd55cbf5783..36e80c5ff258 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addConstModifier/removeJvmStatic.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addConstModifier/removeJvmStatic.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB object O { @JvmStatic val a = 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/addConstModifier/removeJvmStatic.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addConstModifier/removeJvmStatic.kt.after index 1303b85d1d42..94c299cbd993 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addConstModifier/removeJvmStatic.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addConstModifier/removeJvmStatic.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB object O { const val a = 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/explicitParamType.kt b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/explicitParamType.kt index 66f62ca86b89..bf00094452d5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/explicitParamType.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/explicitParamType.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used // AFTER-WARNING: Variable 'index' is never used fun a() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/explicitParamType.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/explicitParamType.kt.after index 18935a3694af..3b249638e667 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/explicitParamType.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/explicitParamType.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used // AFTER-WARNING: Variable 'index' is never used fun a() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableDestructuringDeclaration.kt b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableDestructuringDeclaration.kt index 56c4788f1265..485ad40a7ff4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableDestructuringDeclaration.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableDestructuringDeclaration.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun test() { val list = listOf(Pair("foo", "bar")) for ((x, y) in list) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableExistingIndices.kt b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableExistingIndices.kt index b67c1a2c7355..c9455cb10cc0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableExistingIndices.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableExistingIndices.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun b(c: List) { for ((indexVariable, d) in c.withIndex()) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableInBody.kt b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableInBody.kt index 587f8ff9da15..69391f7f8947 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableInBody.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableInBody.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo() { for (a in listOf(1, 2, 3)) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableOnMap.kt b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableOnMap.kt index 42c9ecb7ee72..0a225ed6f2b6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableOnMap.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableOnMap.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: FALSE -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Map) { for (a in bar) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableOverridenFunction.kt b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableOverridenFunction.kt index 5ce28ace4b3a..231fda7a738e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableOverridenFunction.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/inapplicableOverridenFunction.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: FALSE fun String.withIndex(): Int = 42 diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/intArray.kt b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/intArray.kt index b369c5b50ddd..790b70a8bd58 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/intArray.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/intArray.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used // AFTER-WARNING: Variable 'index' is never used fun foo(bar: IntArray) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/intArray.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/intArray.kt.after index acaa45e33f0a..13333870d05f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/intArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/intArray.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used // AFTER-WARNING: Variable 'index' is never used fun foo(bar: IntArray) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/iterable.kt b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/iterable.kt index 39a2f1792aad..4432d8cfae56 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/iterable.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/iterable.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used // AFTER-WARNING: Variable 'index' is never used fun foo(bar: Iterable) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/iterable.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/iterable.kt.after index 8c7a9d94200a..621475e31f09 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/iterable.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/iterable.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used // AFTER-WARNING: Variable 'index' is never used fun foo(bar: Iterable) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/noBody.kt b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/noBody.kt index aaac3192df68..df436ebfeac6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/noBody.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/noBody.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used // AFTER-WARNING: Variable 'index' is never used fun foo(bar: IntArray) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/noBody.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/noBody.kt.after index 813c02f37d9a..39f80223f278 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/noBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/noBody.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used // AFTER-WARNING: Variable 'index' is never used fun foo(bar: IntArray) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/objectArray.kt b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/objectArray.kt index 8795f5942c9c..bfcad4f70773 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/objectArray.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/objectArray.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: This class shouldn't be used in Kotlin. Use kotlin.Any instead. // AFTER-WARNING: Variable 'a' is never used // AFTER-WARNING: Variable 'index' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/objectArray.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/objectArray.kt.after index 2511393d825a..75b61549afad 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/objectArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/objectArray.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: This class shouldn't be used in Kotlin. Use kotlin.Any instead. // AFTER-WARNING: Variable 'a' is never used // AFTER-WARNING: Variable 'index' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/sequence.kt b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/sequence.kt index fef80effe656..4de2ff7fb60c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/sequence.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/sequence.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'index' is never used fun foo(bar: Sequence) { for (a in bar) diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/sequence.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/sequence.kt.after index 04c3a6d9496f..519f704c7231 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/sequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/sequence.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'index' is never used fun foo(bar: Sequence) { for ((index, a) in bar.withIndex()) diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/simpleIntList.kt b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/simpleIntList.kt index adec6a75d220..8a720d292ad3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/simpleIntList.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/simpleIntList.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used // AFTER-WARNING: Variable 'index' is never used fun a() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/simpleIntList.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/simpleIntList.kt.after index ce0924324f07..63a3639f144c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/simpleIntList.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/simpleIntList.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used // AFTER-WARNING: Variable 'index' is never used fun a() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/string.kt b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/string.kt index 554044f19733..9f72e692fc82 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/string.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/string.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'index' is never used fun foo(bar: String) { for (a in bar) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/string.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/string.kt.after index 1525f999d697..deb144c8f247 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/string.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addForLoopIndices/string.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'index' is never used fun foo(bar: String) { for ((index, a) in bar.withIndex()) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addFullQualifier/userTypes/TypeAlias.kt b/plugins/kotlin/idea/tests/testData/intentions/addFullQualifier/userTypes/TypeAlias.kt index f0d34a3de340..917a178aa8db 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addFullQualifier/userTypes/TypeAlias.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addFullQualifier/userTypes/TypeAlias.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'list' is never used fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addFullQualifier/userTypes/TypeAlias.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addFullQualifier/userTypes/TypeAlias.kt.after index 5cb2d8b00b1b..dec8ef21b8d8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addFullQualifier/userTypes/TypeAlias.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addFullQualifier/userTypes/TypeAlias.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'list' is never used fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/alreadyHasAnnotation.kt b/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/alreadyHasAnnotation.kt index 90f68d38c0e6..0d5bfe75c709 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/alreadyHasAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/alreadyHasAnnotation.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false @kotlin.jvm.JvmOverloads diff --git a/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/method.kt b/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/method.kt index fc2c30e4c85c..0467b091267b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/method.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/method.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add '@JvmOverloads' annotation to function 'foo'" // AFTER-WARNING: Parameter 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/method.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/method.kt.after index 0be998e56160..e54be1a11994 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/method.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/method.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add '@JvmOverloads' annotation to function 'foo'" // AFTER-WARNING: Parameter 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/primaryConstructor.kt b/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/primaryConstructor.kt index a8d805b58ee2..072d5b16f474 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/primaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/primaryConstructor.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add '@JvmOverloads' annotation to primary constructor" // AFTER-WARNING: Parameter 'b' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/primaryConstructor.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/primaryConstructor.kt.after index 4b46ce7550c7..f3a7b5947974 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/primaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/primaryConstructor.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add '@JvmOverloads' annotation to primary constructor" // AFTER-WARNING: Parameter 'b' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/primaryConstructorWithConstructorKeyword.kt b/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/primaryConstructorWithConstructorKeyword.kt index 20d11930c9dc..0f91faec130f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/primaryConstructorWithConstructorKeyword.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/primaryConstructorWithConstructorKeyword.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add '@JvmOverloads' annotation to primary constructor" // AFTER-WARNING: Parameter 'b' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/primaryConstructorWithConstructorKeyword.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/primaryConstructorWithConstructorKeyword.kt.after index 240bdf07a50f..d225f1b14794 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/primaryConstructorWithConstructorKeyword.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/primaryConstructorWithConstructorKeyword.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add '@JvmOverloads' annotation to primary constructor" // AFTER-WARNING: Parameter 'b' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/secondaryConstructor.kt b/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/secondaryConstructor.kt index 3111ad172899..a74247dd6743 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/secondaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/secondaryConstructor.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add '@JvmOverloads' annotation to secondary constructor" // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Parameter 'b' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/secondaryConstructor.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/secondaryConstructor.kt.after index 4e253f450a5b..6da964e19f24 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/secondaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addJvmOverloads/secondaryConstructor.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add '@JvmOverloads' annotation to secondary constructor" // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Parameter 'b' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/abstractVal.kt b/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/abstractVal.kt index 2574ff51c10a..798f31cd21b3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/abstractVal.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/abstractVal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // ERROR: Abstract property 'foo' in non-abstract class 'Test' diff --git a/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/constVal.kt b/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/constVal.kt index bb139646d669..04f824e6c926 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/constVal.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/constVal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false object Test { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/funWithJvmStatic.kt b/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/funWithJvmStatic.kt index f537bb8e5041..ef73761427a6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/funWithJvmStatic.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/funWithJvmStatic.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false object Test { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/openVal.kt b/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/openVal.kt index aa38462fc7bf..011f41d72572 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/openVal.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/openVal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // AFTER-WARNING: 'open' has no effect in an object object Test { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/overrideVal.kt b/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/overrideVal.kt index 4cb528047bdd..10398c6a1550 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/overrideVal.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/overrideVal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false interface I { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/valWithJvmField.kt b/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/valWithJvmField.kt index 6fd4d157a8ae..87af2373b588 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/valWithJvmField.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/valWithJvmField.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false object Test { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/valWithJvmStatic.kt b/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/valWithJvmStatic.kt index 087302f9ff0b..4c79206de142 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/valWithJvmStatic.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addJvmStatic/valWithJvmStatic.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false object Test { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/insideParenthesis.kt b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/insideParenthesis.kt index 49f0ef4022c0..e047d41e6b98 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/insideParenthesis.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/insideParenthesis.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add 'return@find'" fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/insideParenthesis.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/insideParenthesis.kt.after index e7d59963b693..f8f00798c43e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/insideParenthesis.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/insideParenthesis.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add 'return@find'" fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/labeledLambda.kt b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/labeledLambda.kt index 1afcdb05b69f..c3df128f48ec 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/labeledLambda.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/labeledLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add 'return@label'" fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/labeledLambda.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/labeledLambda.kt.after index 9399e0873bc2..f4367945446e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/labeledLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/labeledLambda.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add 'return@label'" fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/loop.kt b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/loop.kt index a9bb586e6b79..d2051e7d39b7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/loop.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/loop.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo() { for (i in 10..100) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleBlocks.kt b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleBlocks.kt index 6fbb7b98ee24..1cc568f45297 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleBlocks.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleBlocks.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add 'return@find'" fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleBlocks.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleBlocks.kt.after index 3d0d9b97c917..8840e0fc364d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleBlocks.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleBlocks.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add 'return@find'" fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleHighOrderFun.kt b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleHighOrderFun.kt index 08ba56e2f924..ff080a489f81 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleHighOrderFun.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleHighOrderFun.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add 'return@bar'" // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Parameter 'b' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleHighOrderFun.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleHighOrderFun.kt.after index 364eaabc422e..178c13ebd1c7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleHighOrderFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleHighOrderFun.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add 'return@bar'" // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Parameter 'b' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleHighOrderFun2.kt b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleHighOrderFun2.kt index d498459376bc..d09772f70079 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleHighOrderFun2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleHighOrderFun2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add 'return@bar'" // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Parameter 'b' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleHighOrderFun2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleHighOrderFun2.kt.after index 2b0c94edd7ec..0622cb34cf0b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleHighOrderFun2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/multipleHighOrderFun2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add 'return@bar'" // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Parameter 'b' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/normal.kt b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/normal.kt index a95e357d8fc0..15a0c4220c66 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/normal.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/normal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add 'return@find'" fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/normal.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/normal.kt.after index 3f1dffe6235f..848d3e9e2e55 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/normal.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/normal.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add 'return@find'" fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/notLast.kt b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/notLast.kt index 653e253331ac..05cdcf728096 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/notLast.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/notLast.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).find { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/returnStatement.kt b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/returnStatement.kt index 7a4a96112ff2..320850ac3808 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/returnStatement.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/returnStatement.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add 'return@find'" fun foo(): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/returnStatement.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/returnStatement.kt.after index b1c5acea59e1..f40861cd9994 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/returnStatement.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/returnStatement.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Add 'return@find'" fun foo(): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/suspend.kt b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/suspend.kt index af6e163310d1..d7523ac51dfd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/suspend.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/suspend.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo() { suspend { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/unit.kt b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/unit.kt index 8fc1c24f3f73..c22b97ea7a04 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/unit.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/unit.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).forEach { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/withLabeledReturn.kt b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/withLabeledReturn.kt index 9b88db1abe28..f3a1ef06ce07 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/withLabeledReturn.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/withLabeledReturn.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).find { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/withReturn.kt b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/withReturn.kt index e99ddfe8d2de..f9e0455ee5d9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/withReturn.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addLabeledReturnInLambda/withReturn.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo(): Boolean { listOf(1,2,3).find { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addNameToArgument/javaMethod.kt b/plugins/kotlin/idea/tests/testData/intentions/addNameToArgument/javaMethod.kt index 3f2be7469d2d..c8bd69072986 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addNameToArgument/javaMethod.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addNameToArgument/javaMethod.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun f() { java.io.File("file") diff --git a/plugins/kotlin/idea/tests/testData/intentions/addNameToArgument/mixingPositionedAndNamed.kt b/plugins/kotlin/idea/tests/testData/intentions/addNameToArgument/mixingPositionedAndNamed.kt index 36102542abf2..9301b3da58e7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addNameToArgument/mixingPositionedAndNamed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addNameToArgument/mixingPositionedAndNamed.kt @@ -1,5 +1,5 @@ // COMPILER_ARGUMENTS: -XXLanguage:+NewInference -XXLanguage:+MixedNamedArgumentsInTheirOwnPosition -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'b' is never used // AFTER-WARNING: Parameter 's' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/addNameToArgument/mixingPositionedAndNamed.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addNameToArgument/mixingPositionedAndNamed.kt.after index fcd99d5ef8bd..a6d154d37cf1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addNameToArgument/mixingPositionedAndNamed.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addNameToArgument/mixingPositionedAndNamed.kt.after @@ -1,5 +1,5 @@ // COMPILER_ARGUMENTS: -XXLanguage:+NewInference -XXLanguage:+MixedNamedArgumentsInTheirOwnPosition -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'b' is never used // AFTER-WARNING: Parameter 's' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/addNamesToCallArguments/javaMethod.kt b/plugins/kotlin/idea/tests/testData/intentions/addNamesToCallArguments/javaMethod.kt index 3f2be7469d2d..c8bd69072986 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addNamesToCallArguments/javaMethod.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addNamesToCallArguments/javaMethod.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun f() { java.io.File("file") diff --git a/plugins/kotlin/idea/tests/testData/intentions/addPropertyAccessors/both/jvmField.kt b/plugins/kotlin/idea/tests/testData/intentions/addPropertyAccessors/both/jvmField.kt index 9ecf25bc08ff..95fd5bb680d9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addPropertyAccessors/both/jvmField.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addPropertyAccessors/both/jvmField.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB class Test { @JvmField var foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/addPropertyAccessors/getter/jvmField.kt b/plugins/kotlin/idea/tests/testData/intentions/addPropertyAccessors/getter/jvmField.kt index 0f0bb512d28f..9a762933204b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addPropertyAccessors/getter/jvmField.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addPropertyAccessors/getter/jvmField.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB class Test { @JvmField val foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/addPropertyAccessors/setter/jvmField.kt b/plugins/kotlin/idea/tests/testData/intentions/addPropertyAccessors/setter/jvmField.kt index 9ecf25bc08ff..95fd5bb680d9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addPropertyAccessors/setter/jvmField.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addPropertyAccessors/setter/jvmField.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB class Test { @JvmField var foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticks.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticks.kt index 9e6f7d3a19b2..921988302b16 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticks.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticks.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package foo.bar class `My$Exception` : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticks.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticks.kt.after index d214692cd969..3423b67b1c01 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticks.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticks.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package foo.bar class `My$Exception` : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticksWithThrows.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticksWithThrows.kt index 6801eb76405c..d5cb96c76775 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticksWithThrows.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticksWithThrows.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class `My$Exception` : Exception() class `My$Exception2` : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticksWithThrows.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticksWithThrows.kt.after index d3cfbd0b531d..199c9ac716e6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticksWithThrows.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticksWithThrows.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class `My$Exception` : Exception() class `My$Exception2` : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticksWithThrowsExceptionClasses.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticksWithThrowsExceptionClasses.kt index 1610f0220fa4..dceb8842c9bf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticksWithThrowsExceptionClasses.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticksWithThrowsExceptionClasses.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class `My$Exception` : Exception() class `My$Exception2` : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticksWithThrowsExceptionClasses.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticksWithThrowsExceptionClasses.kt.after index 8a0e114f15bb..4f4723988f14 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticksWithThrowsExceptionClasses.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/backticksWithThrowsExceptionClasses.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class `My$Exception` : Exception() class `My$Exception2` : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/functionCall.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/functionCall.kt index 05df0295e3f3..b06b12faca3c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/functionCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/functionCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Test { fun a() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/functionCall.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/functionCall.kt.after index 57935b5724ad..dfc99250815d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/functionCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/functionCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Test { @Throws(RuntimeException::class) diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument.kt index e082e17448d8..db9bfb99f253 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class FooException : Exception() class BarException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument.kt.after index a2d033b49c2c..641be1298246 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class FooException : Exception() class BarException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument2.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument2.kt index df4e5d684686..2afdc3b39ced 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS class FooException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument2.kt.after index a4b4a8405e40..36db9d11b85f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS class FooException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument3.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument3.kt index 9a955f9b65b0..6bacfe6aecba 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class FooException : Exception() class BarException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument3.kt.after index 905c02e364b1..d2ac5a2425ec 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class FooException : Exception() class BarException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument4.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument4.kt index b3c51787dfb0..69d941d36f72 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class FooException : Exception() class BarException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument4.kt.after index afb7eebce3da..8195a0d95295 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class FooException : Exception() class BarException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument5.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument5.kt index 6b7f9f55bab6..68c9d796284f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument5.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument5.kt @@ -1,5 +1,5 @@ // DISABLE-ERRORS -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class FooException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithEmptyArgument.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithEmptyArgument.kt index 8e9560ad6c9a..66be8c6dfe91 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithEmptyArgument.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithEmptyArgument.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class FooException : Exception() @Throws() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithEmptyArgument.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithEmptyArgument.kt.after index 1652c634c31b..4770ca07f47b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithEmptyArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithEmptyArgument.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class FooException : Exception() @Throws(FooException::class) diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithNoArgument.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithNoArgument.kt index 6f13b843a46d..be2744bb70b5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithNoArgument.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithNoArgument.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class FooException : Exception() @Throws diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithNoArgument.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithNoArgument.kt.after index 1652c634c31b..4770ca07f47b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithNoArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithNoArgument.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class FooException : Exception() @Throws(FooException::class) diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithSameClassArgument.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithSameClassArgument.kt index c7aac41324c5..3cd552b27301 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithSameClassArgument.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithSameClassArgument.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class FooException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithSameClassArgument2.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithSameClassArgument2.kt index 449d73396a62..b0f4d5de9488 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithSameClassArgument2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithSameClassArgument2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS // IS_APPLICABLE: false diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithSameClassArgument3.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithSameClassArgument3.kt index 7ae9eb138d6e..5e896c81e525 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithSameClassArgument3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithSameClassArgument3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class FooException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithSameClassArgument4.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithSameClassArgument4.kt index 137b31103853..c05f0c49a7e9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithSameClassArgument4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/hasThrowsWithSameClassArgument4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class FooException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/if.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/if.kt index b3b8eaa88564..1934d558618c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/if.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/if.kt @@ -1,5 +1,5 @@ // COMPILER_ARGUMENTS: -XXLanguage:-NewInference -// WITH_RUNTIME +// WITH_STDLIB fun a(b: Boolean) { throw if (b) RuntimeException() else Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/if.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/if.kt.after index bfdcd7c57a90..7505c637ae36 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/if.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/if.kt.after @@ -1,5 +1,5 @@ // COMPILER_ARGUMENTS: -XXLanguage:-NewInference -// WITH_RUNTIME +// WITH_STDLIB @Throws(Throwable::class) fun a(b: Boolean) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/if_ni.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/if_ni.kt index d73ce900a897..4d987d1ee3f2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/if_ni.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/if_ni.kt @@ -1,5 +1,5 @@ // COMPILER_ARGUMENTS: -XXLanguage:+NewInference -// WITH_RUNTIME +// WITH_STDLIB fun a(b: Boolean) { throw if (b) RuntimeException() else Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/if_ni.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/if_ni.kt.after index 7356c39722b0..ccc69cc2e451 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/if_ni.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/if_ni.kt.after @@ -1,5 +1,5 @@ // COMPILER_ARGUMENTS: -XXLanguage:+NewInference -// WITH_RUNTIME +// WITH_STDLIB @Throws(Throwable::class) fun a(b: Boolean) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inConstructor.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inConstructor.kt index aeab38a18c51..63d208e69627 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inConstructor.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class FooException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inConstructor.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inConstructor.kt.after index e59953bf870b..a670b21a4d90 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inConstructor.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class FooException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inFunction.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inFunction.kt index d8f64ab191ed..7187cc7f05e8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inFunction.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inFunction.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Add '@Throws' annotation" -// WITH_RUNTIME +// WITH_STDLIB class FooException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inFunction.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inFunction.kt.after index 01d03661c945..925db8e1082f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inFunction.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Add '@Throws' annotation" -// WITH_RUNTIME +// WITH_STDLIB class FooException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inGetter.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inGetter.kt index 0c09eb480792..bdfb7fa2cc52 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inGetter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inGetter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class FooException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inGetter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inGetter.kt.after index b252c914e3ed..1f5e8a733512 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inGetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inGetter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class FooException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inGetter2.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inGetter2.kt index 69b9d846982b..5375e02a50be 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inGetter2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inGetter2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB @get:Throws(RuntimeException::class) val a: String diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inGetter2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inGetter2.kt.after index 75cba6c9c5d0..e5bf97571081 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inGetter2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inGetter2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB @get:Throws(RuntimeException::class, Exception::class) val a: String diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inInit.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inInit.kt index 1e0ec6db38d8..1bfffd1adc56 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inInit.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inInit.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class X { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inLambda.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inLambda.kt index 8397778d6e4d..783a1876f459 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inLambda.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false val f = { throw RuntimeException() } diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inSetter.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inSetter.kt index 4d6fcac5f94b..4a9689e16e46 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inSetter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inSetter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'value' is never used class FooException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inSetter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inSetter.kt.after index 883e01d5f5ae..be6ce8f871fe 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inSetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inSetter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'value' is never used class FooException : Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inSetter2.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inSetter2.kt index 2105c451becf..77f38c206411 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inSetter2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inSetter2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'value' is never used @set:Throws(RuntimeException::class) diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inSetter2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inSetter2.kt.after index 3c367de28cf8..66f2d0a0400d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inSetter2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/inSetter2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'value' is never used @set:Throws(RuntimeException::class, Exception::class) diff --git a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/localException.kt b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/localException.kt index 61574b97f651..7df8e7b1c360 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/localException.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addThrowsAnnotation/localException.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun a() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/emptyWhen.kt b/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/emptyWhen.kt index 999150014517..5c22274a87ad 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/emptyWhen.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/emptyWhen.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB enum class Entry { FOO, BAR, BAZ diff --git a/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/emptyWhen.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/emptyWhen.kt.after index 74da19c64ebf..e3eb75f20965 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/emptyWhen.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/emptyWhen.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB enum class Entry { FOO, BAR, BAZ diff --git a/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/noElse.kt b/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/noElse.kt index b9e0ba75b1af..11d9d87be3c5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/noElse.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/noElse.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB enum class Entry { FOO, BAR, BAZ diff --git a/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/noElse.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/noElse.kt.after index 6d138ef578de..4f307e6d7fd3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/noElse.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/noElse.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB enum class Entry { FOO, BAR, BAZ diff --git a/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/simple.kt index 59e05d877be8..0f040c6ec8ce 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: 'when' is exhaustive so 'else' is redundant here enum class Entry { FOO, BAR, BAZ diff --git a/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/simple.kt.after index 247a6ddd712e..248cce76b65a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/addWhenRemainingBranches/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: 'when' is exhaustive so 'else' is redundant here enum class Entry { FOO, BAR, BAZ diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/callExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/callExpression.kt index ccfb67eb6735..0d5b0274b93f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/callExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/callExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun foo(): String? { return "foo" diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/callExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/callExpression.kt.after index c706044a129e..6742cee759b1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/callExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/callExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun foo(): String? { return "foo" diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/callExpressionParens.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/callExpressionParens.kt index 5ee653b0f27c..8c8175bc74a1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/callExpressionParens.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/callExpressionParens.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun foo(): String? { return "foo" diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/callExpressionParens.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/callExpressionParens.kt.after index c706044a129e..6742cee759b1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/callExpressionParens.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/callExpressionParens.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun foo(): String? { return "foo" diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/exceptionTextEscapesQuotes.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/exceptionTextEscapesQuotes.kt index 381dbe695776..28ea7ec38aa0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/exceptionTextEscapesQuotes.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/exceptionTextEscapesQuotes.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Parameter 'args' is never used fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/exceptionTextEscapesQuotes.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/exceptionTextEscapesQuotes.kt.after index 081cfef1a066..9cac96ffcaa9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/exceptionTextEscapesQuotes.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/exceptionTextEscapesQuotes.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Parameter 'args' is never used fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/exceptionTextHandlesMultiline.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/exceptionTextHandlesMultiline.kt index f36cd6f159c5..f60e2b0001c4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/exceptionTextHandlesMultiline.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/exceptionTextHandlesMultiline.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 't' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/exceptionTextHandlesMultiline.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/exceptionTextHandlesMultiline.kt.after index d905f10dc6b2..228d0558c78c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/exceptionTextHandlesMultiline.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/exceptionTextHandlesMultiline.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 't' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/localVal.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/localVal.kt index a1c3bd9d315b..2a59eead4c0d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/localVal.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/localVal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun main(args: Array) { val a: String? = "A" diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/localVal.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/localVal.kt.after index 3e997c4fd68b..47fcf90d4837 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/localVal.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/localVal.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun main(args: Array) { val a: String? = "A" diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/localVar.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/localVar.kt index 04055c31ddb5..6ded894709ca 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/localVar.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/localVar.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Parameter 'args' is never used fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/localVar.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/localVar.kt.after index 88adb7fb34b1..f3f3c5472594 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/localVar.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/localVar.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Parameter 'args' is never used fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression.kt index c38909a9dea6..933a85ce34f3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun foo(): String? { return "foo" diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression.kt.after index b11263214a84..e6ef41b1ebf4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun foo(): String? { return "foo" diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression2.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression2.kt index c6e8255122e0..8227334e1fda 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun foo(): String? { return "foo" diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression2.kt.after index 87f85d381f97..e20d211da0fa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun foo(): String? { return "foo" diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression3.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression3.kt index f90c6532ca67..2cf9eb60f6e9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'b' is never used fun foo(): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression3.kt.after index 1af341676880..bbc6915c8afb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/replaceParentExpression3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'b' is never used fun foo(): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/simpleNameExpressionInParens.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/simpleNameExpressionInParens.kt index f04ffb18a9d3..0cdc5bbfd7c6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/simpleNameExpressionInParens.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/simpleNameExpressionInParens.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 't' is never used fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/simpleNameExpressionInParens.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/simpleNameExpressionInParens.kt.after index 35ffe9deb451..084a6d808aad 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/simpleNameExpressionInParens.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/simpleNameExpressionInParens.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 't' is never used fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVal.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVal.kt index d2cd7af65eb6..f91bbeee6bae 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVal.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used val a: String? = "A" fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVal.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVal.kt.after index 179d28c782b4..5cf5cd805f70 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVal.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVal.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used val a: String? = "A" fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelValCustomGetter.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelValCustomGetter.kt index 5a6c9eb00fac..b78ad754aeb9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelValCustomGetter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelValCustomGetter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'x' is never used val a: String? diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelValCustomGetter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelValCustomGetter.kt.after index 1e22df0e8ba3..30139247c316 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelValCustomGetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelValCustomGetter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'x' is never used val a: String? diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVar.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVar.kt index 81b7c95df65b..09f7127a4a16 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVar.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVar.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 't' is never used var a: String? = "A" diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVar.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVar.kt.after index ead7972107e4..4d50fe74670d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVar.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVar.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 't' is never used var a: String? = "A" diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVarCustomGetter.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVarCustomGetter.kt index 27d32a2e7a92..68cdbc0e24ea 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVarCustomGetter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVarCustomGetter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Parameter 'v' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVarCustomGetter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVarCustomGetter.kt.after index 52c6c3ced1c3..a6df10e8f006 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVarCustomGetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/topLevelVarCustomGetter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Parameter 'v' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/usedInAssignment.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/usedInAssignment.kt index bd7e450bbc03..5832dd186f47 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/usedInAssignment.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/usedInAssignment.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'x' is never used fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/usedInAssignment.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/usedInAssignment.kt.after index 7dc16b35ce4a..27cd8a0fd2cb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/usedInAssignment.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/doubleBangToIfThen/usedInAssignment.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'x' is never used fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/elvisToIfThen/assignmentAndError.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/elvisToIfThen/assignmentAndError.kt index 9df0c4accfcc..f1ffe5509d84 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/elvisToIfThen/assignmentAndError.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/elvisToIfThen/assignmentAndError.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List): String { val first = list.firstOrNull() ?: error("empty") return "First length: ${first.length}" diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/elvisToIfThen/assignmentAndError.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/elvisToIfThen/assignmentAndError.kt.after index 728eb771a117..21c4f60d88c6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/elvisToIfThen/assignmentAndError.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/elvisToIfThen/assignmentAndError.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List): String { val first = list.firstOrNull() if (first == null) error("empty") diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/elvisToIfThen/assignmentAndThrow.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/elvisToIfThen/assignmentAndThrow.kt index b1d1880ee318..9d2d96ef4c6f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/elvisToIfThen/assignmentAndThrow.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/elvisToIfThen/assignmentAndThrow.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String?) { val t = s?.hashCode() ?: throw Exception() } diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/elvisToIfThen/assignmentAndThrow.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/elvisToIfThen/assignmentAndThrow.kt.after index ef13c68293b8..32f4caf5b4f0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/elvisToIfThen/assignmentAndThrow.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/elvisToIfThen/assignmentAndThrow.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String?) { val t = s?.hashCode() if (t == null) throw Exception() diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withInternalLoop.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withInternalLoop.kt index e7234eefd45e..af3139e47de4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withInternalLoop.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withInternalLoop.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun testIf(xs: List) { for (x in xs) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withInternalLoop.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withInternalLoop.kt.after index 3ae222e97ed7..ae44ba399697 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withInternalLoop.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withInternalLoop.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun testIf(xs: List) { for (x in xs) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withInternalLoopOnly.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withInternalLoopOnly.kt index e428ef2ac70a..189eaaccd2fd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withInternalLoopOnly.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withInternalLoopOnly.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun testIf(x: Any) { if (x is String) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withInternalLoopOnly.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withInternalLoopOnly.kt.after index dbe61e802a96..f36329b5e1b1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withInternalLoopOnly.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withInternalLoopOnly.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun testIf(x: Any) { when (x) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withLoopOriginal.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withLoopOriginal.kt index a7322357432b..43d78901791b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withLoopOriginal.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withLoopOriginal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun testIf(xs: List) { for (x in xs) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withLoopOriginal.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withLoopOriginal.kt.after index dc3a306d567d..db681d20b43c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withLoopOriginal.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/ifWhen/ifToWhen/withLoopOriginal.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun testIf(xs: List) { for (x in xs) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let.kt index e5fa34ef90c6..525699d36f46 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(value: Int?): Int? { return value?.let { it + 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let.kt.after index 5d6e2034087b..410cd6f496ab 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(value: Int?): Int? { return if (value != null) value + 1 else null diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let2.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let2.kt index 45ee399b2911..ca23109a7aed 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(value: Int?): Int? { return value?.let { baz(it) } diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let2.kt.after index d9ab36ad8156..e0f674d31d80 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(value: Int?): Int? { return if (value != null) baz(value) else null diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let3.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let3.kt index a73d728c2d09..d1cb0c36642a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Int, b: Int?): Int? { return b?.let { a + b } diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let3.kt.after index 5f519973a2e1..a391bf64185a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/let3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Int, b: Int?): Int? { return if (b != null) b.let { a + b } else null diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/letNotRedundant.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/letNotRedundant.kt index 02fd950f2306..dc75120c5fe6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/letNotRedundant.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/letNotRedundant.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(value: Int?): Int? { return value?.let { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/letNotRedundant.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/letNotRedundant.kt.after index c99ae35d4488..663d908d5810 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/letNotRedundant.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/letNotRedundant.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(value: Int?): Int? { return if (value != null) value.let { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/letTopLevelVar.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/letTopLevelVar.kt index b8f595d04418..aa0c2966a7de 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/letTopLevelVar.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/letTopLevelVar.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used var a: String? = "A" diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/letTopLevelVar.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/letTopLevelVar.kt.after index f75824425a61..9671fcd20afa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/letTopLevelVar.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/safeAccessToIfThen/letTopLevelVar.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used var a: String? = "A" diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToIf/ifWithNothing.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToIf/ifWithNothing.kt index 32c44b6c8561..406473cc3f97 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToIf/ifWithNothing.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToIf/ifWithNothing.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean): Int { return if (b) { 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToIf/ifWithNothing.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToIf/ifWithNothing.kt.after index 1c40de6e4705..5105a7d53540 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToIf/ifWithNothing.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToIf/ifWithNothing.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean): Int { if (b) { return 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToIf/labeledReturn.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToIf/labeledReturn.kt index 1bbd9e819241..870f845ad008 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToIf/labeledReturn.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToIf/labeledReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { run label@{ return@label if (true) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToIf/labeledReturn.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToIf/labeledReturn.kt.after index 0b1d8c458fca..2308ebad051c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToIf/labeledReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToIf/labeledReturn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { run label@{ if (true) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToWhen/labeledReturn.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToWhen/labeledReturn.kt index 01d251b0fb84..6ef42a5e8190 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToWhen/labeledReturn.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToWhen/labeledReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { run label@{ return@label when { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToWhen/labeledReturn.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToWhen/labeledReturn.kt.after index f6b5adf6a7a6..59ce96b45578 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToWhen/labeledReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToWhen/labeledReturn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { run label@{ when { diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToWhen/whenWithNothing.kt b/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToWhen/whenWithNothing.kt index 9cd2eb4c9b1e..38530dbb532a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToWhen/whenWithNothing.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToWhen/whenWithNothing.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean): Int { return when (b) { true -> 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToWhen/whenWithNothing.kt.after b/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToWhen/whenWithNothing.kt.after index 9140e3c9c55d..0c93c4f1c6f5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToWhen/whenWithNothing.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/branched/unfolding/returnToWhen/whenWithNothing.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean): Int { when (b) { true -> return 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/changeVisibility/internal/hasJvmFieldInInterfaceCompanion.kt b/plugins/kotlin/idea/tests/testData/intentions/changeVisibility/internal/hasJvmFieldInInterfaceCompanion.kt index 1f019855ec66..9e869eae3e10 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/changeVisibility/internal/hasJvmFieldInInterfaceCompanion.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/changeVisibility/internal/hasJvmFieldInInterfaceCompanion.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB interface KotlinInterface { companion object { diff --git a/plugins/kotlin/idea/tests/testData/intentions/changeVisibility/internal/hasJvmFieldInInterfaceObject.kt b/plugins/kotlin/idea/tests/testData/intentions/changeVisibility/internal/hasJvmFieldInInterfaceObject.kt index 260984be8f87..60a3afbae86b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/changeVisibility/internal/hasJvmFieldInInterfaceObject.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/changeVisibility/internal/hasJvmFieldInInterfaceObject.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface KotlinInterface { object O { @JvmField diff --git a/plugins/kotlin/idea/tests/testData/intentions/changeVisibility/internal/hasJvmFieldInInterfaceObject.kt.after b/plugins/kotlin/idea/tests/testData/intentions/changeVisibility/internal/hasJvmFieldInInterfaceObject.kt.after index fc0c1189a817..d742cdadc883 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/changeVisibility/internal/hasJvmFieldInInterfaceObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/changeVisibility/internal/hasJvmFieldInInterfaceObject.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface KotlinInterface { object O { @JvmField diff --git a/plugins/kotlin/idea/tests/testData/intentions/changeVisibility/private/jvmField.kt b/plugins/kotlin/idea/tests/testData/intentions/changeVisibility/private/jvmField.kt index 126030cdc84a..20ac1a40a7a8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/changeVisibility/private/jvmField.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/changeVisibility/private/jvmField.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB class Test { @JvmField val foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/infixIntersect.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/infixIntersect.kt index a2c9c0d9350c..6accd48cef99 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/infixIntersect.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/infixIntersect.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB fun f(a: Iterable, b: Iterable) = a intersect b diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/infixIntersect.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/infixIntersect.kt.after index e0e08edf10be..91113804ea46 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/infixIntersect.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/infixIntersect.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB fun f(a: Iterable, b: Iterable) = a intersect b.toSet() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/infixSubtract.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/infixSubtract.kt index 6d8942c0e9eb..b65d0908828d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/infixSubtract.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/infixSubtract.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB fun f(a: Iterable, b: Iterable) = a subtract b diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/infixSubtract.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/infixSubtract.kt.after index 83376ad51b20..11258432e4c4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/infixSubtract.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/infixSubtract.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB fun f(a: Iterable, b: Iterable) = a subtract b.toSet() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusArrayListOf.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusArrayListOf.kt index 741017be1ffa..393c4bdf7e0a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusArrayListOf.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusArrayListOf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used fun foo(a: Iterable) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusArrayListOf.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusArrayListOf.kt.after index 97c501adb040..4fa087e077d0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusArrayListOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusArrayListOf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used fun foo(a: Iterable) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusArrayOfIndirect.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusArrayOfIndirect.kt index 6e335b80147b..030b6165324f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusArrayOfIndirect.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusArrayOfIndirect.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun foo(a: Iterable) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusArrayOfQualified.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusArrayOfQualified.kt index bbafb17cbc09..27ebed340b02 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusArrayOfQualified.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusArrayOfQualified.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun foo(a: Iterable) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfImportAlias.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfImportAlias.kt index bf0d892b1bce..28cd3600be7e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfImportAlias.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfImportAlias.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false import kotlin.collections.listOf as someFunction diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfIndirect.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfIndirect.kt index 57985fe28034..01e65d8b1189 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfIndirect.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfIndirect.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun foo(a: Iterable) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfQualified.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfQualified.kt index 6f7eb5ac73bc..cc52c2af8f97 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfQualified.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfQualified.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun foo(a: Iterable) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfShadowed.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfShadowed.kt index e6f9306f0561..5d51bf3e5315 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfShadowed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfShadowed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used fun listOf(vararg elements: E): List { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfShadowed.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfShadowed.kt.after index 4563ade685ba..4c1ba15d34cd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfShadowed.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusListOfShadowed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used fun listOf(vararg elements: E): List { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusMutableListOf.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusMutableListOf.kt index 5521a0715680..af51ea85e2b4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusMutableListOf.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusMutableListOf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used fun foo(a: Iterable) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusMutableListOf.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusMutableListOf.kt.after index ac72eb4024c8..a6f5b3688978 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusMutableListOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusMutableListOf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used fun foo(a: Iterable) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusSequenceOfIndirect.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusSequenceOfIndirect.kt index c748a19d0048..a9609c70d35d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusSequenceOfIndirect.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusSequenceOfIndirect.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun foo(a: Iterable) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusSequenceOfIndirectQualified.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusSequenceOfIndirectQualified.kt index f60e56439473..cba668c8963d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusSequenceOfIndirectQualified.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/iterableMinusSequenceOfIndirectQualified.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun foo(a: Iterable) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfInferredConstant.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfInferredConstant.kt index be6522254015..9ed94b04d1f5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfInferredConstant.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfInferredConstant.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun foo(a: Iterable) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfLargeArgumentCount.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfLargeArgumentCount.kt index 009fb245f4e0..e1b633f6b4aa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfLargeArgumentCount.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfLargeArgumentCount.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun f(a: Iterable) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfLargeArgumentCount.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfLargeArgumentCount.kt.after index d9d58fc84a4f..dec049391de5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfLargeArgumentCount.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfLargeArgumentCount.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun f(a: Iterable) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfThresholdArgumentCount.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfThresholdArgumentCount.kt index 119120a410d7..561b692becb6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfThresholdArgumentCount.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfThresholdArgumentCount.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun f(a: Iterable) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfWithSomeNonConstantArguments.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfWithSomeNonConstantArguments.kt index 69218f50aba8..cb0dab48ff3f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfWithSomeNonConstantArguments.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfWithSomeNonConstantArguments.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used fun bar(): Int = TODO() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfWithSomeNonConstantArguments.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfWithSomeNonConstantArguments.kt.after index 21c508eb8988..ae64c6531eb6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfWithSomeNonConstantArguments.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/listOfWithSomeNonConstantArguments.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used fun bar(): Int = TODO() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeArgumentValue.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeArgumentValue.kt index 999af6d40a40..4f6e88a372ec 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeArgumentValue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeArgumentValue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // should offer // AFTER-WARNING: Variable 'c' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeArgumentValue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeArgumentValue.kt.after index 0bb06b4d1ada..577e106a4b13 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeArgumentValue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeArgumentValue.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // should offer // AFTER-WARNING: Variable 'c' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeListOf.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeListOf.kt index 4e6aa7c3c309..34646ea88634 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeListOf.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeListOf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // shouldn't offer diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeMutableListOf.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeMutableListOf.kt index f3fd791b978d..810745c76256 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeMutableListOf.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeMutableListOf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // should offer // AFTER-WARNING: Variable 'c' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeMutableListOf.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeMutableListOf.kt.after index 835e1e95bb28..5b4bb64cfdd2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeMutableListOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/outerScopeMutableListOf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // should offer // AFTER-WARNING: Variable 'c' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/shadowedFunctionName.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/shadowedFunctionName.kt index c143884779e1..ee1a40f5dfbe 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/shadowedFunctionName.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArgumentToSet/shadowedFunctionName.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun Iterable.intersect(other: Iterable): Set = other.toSet() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertArrayParameterToVararg/inLambda.kt b/plugins/kotlin/idea/tests/testData/intentions/convertArrayParameterToVararg/inLambda.kt index 5075ecea6fb6..38a4c2463402 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertArrayParameterToVararg/inLambda.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertArrayParameterToVararg/inLambda.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf(arrayOf(1)).map { i: Array -> i + 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/keepArrayListCallWithArgument.kt b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/keepArrayListCallWithArgument.kt index 8fd1e6419f02..d5947ff120d9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/keepArrayListCallWithArgument.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/keepArrayListCallWithArgument.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun foo() { var list: ArrayList = ArrayList(3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCall.kt b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCall.kt index 869734c5dd18..f6dc125a1760 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'list' is never used fun foo() { var list: ArrayList = ArrayList() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCall.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCall.kt.after index 920c3db9c1ff..c7c0640eebbe 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'list' is never used fun foo() { var list: ArrayList = arrayListOf() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCallQualified.kt b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCallQualified.kt index 78828e12c764..c187c4811cd6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCallQualified.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCallQualified.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'list' is never used fun foo() { var list = java.util.ArrayList() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCallQualified.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCallQualified.kt.after index 0905dd3cdaa9..14661f895007 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCallQualified.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCallQualified.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'list' is never used fun foo() { var list = arrayListOf() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCallWithType.kt b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCallWithType.kt index a5a926ae686e..5a542186d902 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCallWithType.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCallWithType.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'list' is never used fun foo() { var list = ArrayList() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCallWithType.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCallWithType.kt.after index 5f7bca73c61e..1622dae05c14 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCallWithType.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceArrayListCallWithType.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'list' is never used fun foo() { var list = arrayListOf() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceHashMapCall.kt b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceHashMapCall.kt index e990e50f1604..80aa4e99c780 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceHashMapCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceHashMapCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'list' is never used import java.util.HashMap diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceHashMapCall.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceHashMapCall.kt.after index f38512de8e5a..41a134a2a42b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceHashMapCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceHashMapCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'list' is never used import java.util.HashMap diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceHashSetCall.kt b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceHashSetCall.kt index dd980b14bb29..82d919f6b6f0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceHashSetCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceHashSetCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'list' is never used import java.util.HashSet diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceHashSetCall.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceHashSetCall.kt.after index 3eabf562d868..956ae30df45d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceHashSetCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceHashSetCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'list' is never used import java.util.HashSet diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceLinkedHashSetCall.kt b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceLinkedHashSetCall.kt index 2cfc1eb80eeb..ee0f77bc0f78 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceLinkedHashSetCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceLinkedHashSetCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'list' is never used import java.util.LinkedHashSet diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceLinkedHashSetCall.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceLinkedHashSetCall.kt.after index 89d46bc70379..8aec4b3b04fa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceLinkedHashSetCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertCollectionConstructorToFunction/replaceLinkedHashSetCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'list' is never used import java.util.LinkedHashSet diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/basic.kt b/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/basic.kt index ac3059c125eb..803b83dea1bf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/basic.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/basic.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used fun test(foo: String, bar: Int, baz: Int) { val s = "foo = $foo" + diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/basic.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/basic.kt.after index 62609ea9c85c..860ae630726a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/basic.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used fun test(foo: String, bar: Int, baz: Int) { val s = buildString { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments.kt b/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments.kt index 357dd1a8810c..2876f9a7e618 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used fun test(foo: String, bar: Int, baz: Int) { val s = "${foo.length}, " + // comment1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments.kt.after index 1c13c3db13cd..9df4b5c0fa49 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used fun test(foo: String, bar: Int, baz: Int) { val s = buildString { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments2.kt index f764fa2bc1fd..02086b4d5a6d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used fun test(foo: String, bar: Int, baz: Int) { val s = "${foo.length}, " + // comment1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments2.kt.after index 1771ab4207aa..87ad729dfce0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used fun test(foo: String, bar: Int, baz: Int) { val s = buildString { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments3.kt b/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments3.kt index 08006102bcd0..773744e6b2b9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments3.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() = "hello" + 1 + "world" // $ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments3.kt.after index 211c60103dec..b2e5a859b50a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertConcatenationToBuildString/withComments3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() = buildString { append("hello") append(1) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/entriesAndMembers.kt b/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/entriesAndMembers.kt index 422c3e26e678..3c67f283ffe1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/entriesAndMembers.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/entriesAndMembers.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'n' is never used enum class MyEnum(val s: String = "") { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/entriesAndMembers.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/entriesAndMembers.kt.after index 193182a7b434..01ce6344b513 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/entriesAndMembers.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/entriesAndMembers.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'n' is never used sealed class MyEnum(val s: String = "") { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/entriesOnly.kt b/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/entriesOnly.kt index 7cb8183226bb..30ff67c0dd69 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/entriesOnly.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/entriesOnly.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'n' is never used enum class MyEnum(val s: String = "") { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/entriesOnly.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/entriesOnly.kt.after index 3889f21ee5e1..af0be980a017 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/entriesOnly.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/entriesOnly.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'n' is never used sealed class MyEnum(val s: String = "") { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/membersOnly.kt b/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/membersOnly.kt index 4ebfa8e94348..94fd5df1ef63 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/membersOnly.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/membersOnly.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB enum class MyEnum(val s: String = "") { ; diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/membersOnly.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/membersOnly.kt.after index 1a35b348d31d..c432288dc82d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/membersOnly.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertEnumToSealedClass/membersOnly.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB sealed class MyEnum(val s: String = "") { fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToAll/toAll/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToAll/toAll/simple.kt index 74eb176f4d48..bc899202afc2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToAll/toAll/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToAll/toAll/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.any { it != 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToAll/toAll/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToAll/toAll/simple.kt.after index e38e7513b293..e557bd687666 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToAll/toAll/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToAll/toAll/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = !list.all { it == 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToAll/toAny/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToAll/toAny/simple.kt index 0f0c39b186a8..32a01e427613 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToAll/toAny/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToAll/toAny/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.all { it != 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToAll/toAny/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToAll/toAny/simple.kt.after index ae80f30e5eb6..3864896eb183 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToAll/toAny/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToAll/toAny/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = !list.any { it == 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToNone/toAny/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToNone/toAny/simple.kt index b5b85bac1101..01b84fa4a0f8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToNone/toAny/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToNone/toAny/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = !list.none { it == 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToNone/toAny/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToNone/toAny/simple.kt.after index f8f497d06019..220e7c7e7528 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToNone/toAny/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToNone/toAny/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.any { it == 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToNone/toNone/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToNone/toNone/simple.kt index 93f7aa2b0b9b..bee16405502e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToNone/toNone/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToNone/toNone/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = !list.any { it == 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToNone/toNone/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToNone/toNone/simple.kt.after index f0793b554e65..4702e305600b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToNone/toNone/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/anyToNone/toNone/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.none { it == 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/array.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/array.kt index 4ea6f8351cfb..a35a57faec67 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/array.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/array.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(array: IntArray) { val b = array.all { it != 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/array.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/array.kt.after index 1bcfe1df7c7c..873d5dcb4da8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/array.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/array.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(array: IntArray) { val b = array.none { it == 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/lambdaInParentheses.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/lambdaInParentheses.kt index 1449a123572d..57ffb435172e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/lambdaInParentheses.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/lambdaInParentheses.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.all({ it != 1 }) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/lambdaInParentheses.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/lambdaInParentheses.kt.after index df7a4c4343d1..b7b6760894e3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/lambdaInParentheses.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/lambdaInParentheses.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.none({ it == 1 }) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/isNotEmpty.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/isNotEmpty.kt index 470c0efa2de5..35072948e6f2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/isNotEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/isNotEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.all { it.isNotEmpty() } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/isNotEmpty.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/isNotEmpty.kt.after index 9bf33c6c0c75..c29467c8bbc7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/isNotEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/isNotEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.none { it.isEmpty() } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/not.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/not.kt index 845274c036f2..e21f2f140952 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/not.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/not.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.all { !it.isFoo } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/not.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/not.kt.after index 93caf84c21fd..7108d79b8ffa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/not.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/not.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.none { it.isFoo } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/notOr.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/notOr.kt index 62f3271fecd9..adae44a36fe7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/notOr.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/notOr.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.all { !(it != 1 || it != 2) } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/notOr.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/notOr.kt.after index 5714fb5a55a1..281a7621b6b9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/notOr.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/notOr.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.none { it != 1 || it != 2 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/or.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/or.kt index 8ee587c39b90..57b1a29c330d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/or.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/or.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.all { it != 1 || it != 2 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/or.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/or.kt.after index 1fe011a4193f..f72aaa530366 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/or.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/or.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.none { it == 1 && it == 2 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/simple.kt index e0bdbeffd7f7..c3e219548a5e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.all { it.isFoo } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/simple.kt.after index c2b7ef9ace3c..2c10523e95f5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/predicate/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.none { !it.isFoo } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/sequence.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/sequence.kt index c46556ca2400..bb3e02e5549f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/sequence.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/sequence.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(seq: Sequence) { val b = seq.all { it != 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/sequence.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/sequence.kt.after index 6296c8e04608..a3cb6be6566f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/sequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/sequence.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(seq: Sequence) { val b = seq.none { it == 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/simple.kt index 0f0c39b186a8..32a01e427613 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.all { it != 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/simple.kt.after index f0793b554e65..4702e305600b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/allToNone/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.none { it == 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToFilter/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToFilter/simple.kt index dd6ab0d8336c..36d9636b711d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToFilter/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToFilter/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.filterNot { it != 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToFilter/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToFilter/simple.kt.after index 9dca0c4060d8..0403e2a3bf47 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToFilter/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToFilter/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.filter { it == 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToFilter/simple2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToFilter/simple2.kt index e651db562bc8..a197a322bf19 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToFilter/simple2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToFilter/simple2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Variable 'x' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToFilter/simple2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToFilter/simple2.kt.after index 159e199d1f42..ac4a1b222cbd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToFilter/simple2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToFilter/simple2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Variable 'x' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToToFilterTo/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToToFilterTo/simple.kt index 42a492fe4b20..683408365a22 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToToFilterTo/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToToFilterTo/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val filteredList = mutableListOf() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToToFilterTo/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToToFilterTo/simple.kt.after index 40696a8b72c3..1ff56a164639 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToToFilterTo/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterNotToToFilterTo/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val filteredList = mutableListOf() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToFilterNot/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToFilterNot/simple.kt index 0137151b4de6..05053bec9ba6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToFilterNot/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToFilterNot/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.filter { it != 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToFilterNot/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToFilterNot/simple.kt.after index a0a0b096305c..7714da252406 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToFilterNot/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToFilterNot/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.filterNot { it == 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToFilterNot/simple2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToFilterNot/simple2.kt index e010d2661fab..f88e75ea3e24 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToFilterNot/simple2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToFilterNot/simple2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Variable 'x' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToFilterNot/simple2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToFilterNot/simple2.kt.after index 0babb1e22566..a0737d2d0676 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToFilterNot/simple2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToFilterNot/simple2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Variable 'x' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToToFilterNotTo/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToToFilterNotTo/simple.kt index f68599e12389..4477e568dcd2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToToFilterNotTo/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToToFilterNotTo/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val filteredList = mutableListOf() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToToFilterNotTo/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToToFilterNotTo/simple.kt.after index 6748535ef948..bdb7ba27b662 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToToFilterNotTo/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/filterToToFilterNotTo/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val filteredList = mutableListOf() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/noneToAll/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/noneToAll/simple.kt index efe8b5f7deb5..e5a4a66d3418 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/noneToAll/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/noneToAll/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.none { it != 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/noneToAll/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/noneToAll/simple.kt.after index 6978304cd780..75899d190503 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/noneToAll/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/noneToAll/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'b' is never used fun test(list: List) { val b = list.all { it == 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/takeIfToTakeUnless/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/takeIfToTakeUnless/simple.kt index b56f41150689..5be990c86c2b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/takeIfToTakeUnless/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/takeIfToTakeUnless/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { i.takeIf { it != 1 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/takeIfToTakeUnless/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/takeIfToTakeUnless/simple.kt.after index 230515b8b670..385025809776 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/takeIfToTakeUnless/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/takeIfToTakeUnless/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { i.takeUnless { it == 1 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/takeUnlessToTakeIf/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/takeUnlessToTakeIf/simple.kt index bda655d5dd51..2083cb619d48 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/takeUnlessToTakeIf/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/takeUnlessToTakeIf/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { i.takeUnless { it != 1 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/takeUnlessToTakeIf/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/takeUnlessToTakeIf/simple.kt.after index 8703083ca12e..b94cff32ef9b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/takeUnlessToTakeIf/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFilteringFunctionWithDemorgansLaw/callToOpposite/takeUnlessToTakeIf/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int) { i.takeIf { it == 1 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/complexReceiver.kt b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/complexReceiver.kt index a99cd3e20c99..e8c9fbe48995 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/complexReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/complexReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun main() { val x = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/complexReceiver.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/complexReceiver.kt.after index e0ddc3eb510f..4c85a4d75da1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/complexReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/complexReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun main() { val x = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/explicitFunctionLiteral.kt b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/explicitFunctionLiteral.kt index 9adc0dd7dcfe..7ba4dc8290e4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/explicitFunctionLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/explicitFunctionLiteral.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun foo() { val x = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/explicitFunctionLiteral.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/explicitFunctionLiteral.kt.after index f5330620ff6a..f885841c38af 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/explicitFunctionLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/explicitFunctionLiteral.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun foo() { val x = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/extraArguments.kt b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/extraArguments.kt index 224050414d64..be1e906b1db0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/extraArguments.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/extraArguments.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB class Foo { fun forEach(predicate: (Int) -> Int, bar: Int): Int = predicate(bar) } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/implicitFunctionLiteralParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/implicitFunctionLiteralParameter.kt index 58edd256ec49..cbf7df744718 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/implicitFunctionLiteralParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/implicitFunctionLiteralParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun foo() { val x = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/implicitFunctionLiteralParameter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/implicitFunctionLiteralParameter.kt.after index 22a6289ead53..2aced383f728 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/implicitFunctionLiteralParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/implicitFunctionLiteralParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun foo() { val x = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/infixCall.kt b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/infixCall.kt index d89accbcac85..7232bffd37c2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/infixCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/infixCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun foo() { val x = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/infixCall.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/infixCall.kt.after index f6e03f865b2d..967f9f44dd46 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/infixCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/infixCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun foo() { val x = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/infixCallNotAvailable.kt b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/infixCallNotAvailable.kt index 78dd41741f6b..39eac84caad6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/infixCallNotAvailable.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/infixCallNotAvailable.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun foo() { val x = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/keepComments.kt b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/keepComments.kt index 149d578dbe37..7d5e6e693cac 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/keepComments.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/keepComments.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List) { list.filter { it != null } /* filter out nulls */ .forEach { print(1..4) /* print x */ } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/keepComments.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/keepComments.kt.after index c1fc20c4d955..bcd080183a90 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/keepComments.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/keepComments.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List) { for (it in list.filter { it != null } /* filter out nulls */) { print(1..4) /* print x */ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/parenthesizedExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/parenthesizedExpression.kt index 27fdf9d2b306..1060dbc77f15 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/parenthesizedExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/parenthesizedExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused infix fun Int.upTo(other: Int) = this.rangeTo(other) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/parenthesizedExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/parenthesizedExpression.kt.after index f9a51b6c1c1c..1651e164d9a1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/parenthesizedExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/parenthesizedExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused infix fun Int.upTo(other: Int) = this.rangeTo(other) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simple.kt index 54a3627b76d2..374cbc3ef535 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val x = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simple.kt.after index 35bc0518185e..cdb21b26da17 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val x = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simpleCharSequence.kt b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simpleCharSequence.kt index 9b1ae178d2b3..9cbfe22b1ded 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simpleCharSequence.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simpleCharSequence.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val x = "abcd" diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simpleCharSequence.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simpleCharSequence.kt.after index 60df79702649..79ad5a7a99c1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simpleCharSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simpleCharSequence.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val x = "abcd" diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simpleSequence.kt b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simpleSequence.kt index c9b0b0e09353..24aad8ebe206 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simpleSequence.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simpleSequence.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val x = (1..4).asSequence() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simpleSequence.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simpleSequence.kt.after index 9b7e01fa651c..bf5b331e4648 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simpleSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/simpleSequence.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val x = (1..4).asSequence() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/typeArgumentPresent.kt b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/typeArgumentPresent.kt index e109b34a3d1e..1c7211043b64 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/typeArgumentPresent.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/typeArgumentPresent.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun foo() { val x = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/typeArgumentPresent.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/typeArgumentPresent.kt.after index 22a6289ead53..2aced383f728 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/typeArgumentPresent.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/typeArgumentPresent.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun foo() { val x = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/userDefined.kt b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/userDefined.kt index c9d0f38a353b..510ac549be7b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/userDefined.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/userDefined.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB class Foo { fun forEach(predicate: (Int) -> Int): Int = predicate(0) } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/withNestedReturn.kt b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/withNestedReturn.kt index 12df28e60203..1b38a5747d65 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/withNestedReturn.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/withNestedReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1).forEach { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/withNestedReturn.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/withNestedReturn.kt.after index c98f29442b01..82197c29e5d0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/withNestedReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/withNestedReturn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { for (it in listOf(1)) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/withReturn.kt b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/withReturn.kt index 3e70b27ea827..d82c271c19b8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/withReturn.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/withReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1).forEach { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/withReturn.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/withReturn.kt.after index f51f644eb056..2107b208b708 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/withReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/withReturn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { for (it in listOf(1)) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/zeroArguments.kt b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/zeroArguments.kt index 7b5395fe0fb1..496d178f2f95 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/zeroArguments.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertForEachToForLoop/zeroArguments.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB class Foo { fun forEach(): Int = 0 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/invoke.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/invoke.kt index 85f3c7842c3f..26d901bd627c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/invoke.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/invoke.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class A(val n: Int) { operator fun invoke(): Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/iterator.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/iterator.kt index 897b340522c8..f543c4cb6574 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/iterator.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/iterator.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class A(val n: Int) { operator fun iterator(): Iterator = throw Exception("") diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/nothingFun.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/nothingFun.kt index fd544fcdea6c..6113603821bf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/nothingFun.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/nothingFun.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class A(val n: Int) { fun foo(): Nothing = throw Exception("foo") diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefs.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefs.kt index e2700661fbb0..d58288b818ad 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefs.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefs.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 't' is never used package p diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefs.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefs.kt.after index c46da435aa94..82ad6114dced 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefs.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefs.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 't' is never used package p diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefsGet.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefsGet.kt index 1e44f6c57052..302cc1f66df0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefsGet.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefsGet.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 't' is never used package p diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefsGet.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefsGet.kt.after index c46da435aa94..82ad6114dced 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefsGet.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefsGet.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 't' is never used package p diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefsIs.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefsIs.kt index a0ceafe2eaa4..101c9d6875e4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefsIs.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefsIs.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 't' is never used package p diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefsIs.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefsIs.kt.after index 7e16aec6c3fa..17861166fb5e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefsIs.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/otherRefsIs.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 't' is never used package p diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/recursiveFunction.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/recursiveFunction.kt index 422e8657bbe0..402849e20153 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/recursiveFunction.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/recursiveFunction.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB fun String.foo(): String = if (isEmpty()) "" else substring(1).foo() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/recursiveFunction.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/recursiveFunction.kt.after index 87010d5d2a2b..59fdcea17dc0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/recursiveFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/recursiveFunction.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val String.foo: String get() = if (isEmpty()) "" else substring(1).foo \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/unaryOp.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/unaryOp.kt index c7bab8c25ac2..87daabe5ec1f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/unaryOp.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/unaryOp.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class A(val n: Int) { operator fun unaryMinus(): A = A(-n) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/unchangedElements.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/unchangedElements.kt index ec30d7eb9871..0d933d3321d6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/unchangedElements.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/unchangedElements.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 't' is never used annotation class X(val s: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/unchangedElements.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/unchangedElements.kt.after index fe0de782c0bb..c9919bd44cc3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/unchangedElements.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/unchangedElements.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 't' is never used annotation class X(val s: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/unitFun.kt b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/unitFun.kt index 794b03acf08d..a1aed6727bc5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/unitFun.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertFunctionToProperty/unitFun.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class A(val n: Int) { fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/multiLine.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/multiLine.kt index 0b58e57c3307..3c2fe8de6464 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/multiLine.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/multiLine.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { println(it) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple.kt index 1e8ee6088552..aa8a96f5f5d7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach {} } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple.kt.after index 17b60b038ce1..8a9cc2725b37 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple2.kt index fe1c44dc898a..0a17addb2373 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { println(it) } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple2.kt.after index aef1fc7f533e..bb0f8077eae5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { println(it) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple3.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple3.kt index 20289104557b..710c4a496e93 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { item -> println(item) } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple3.kt.after index 7e7bbd4c8e41..44bdd2d062f7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { item -> println(item) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple4.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple4.kt index a50004c1eaa5..43d736136519 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { item -> println(item); println(item); println(item) /* comment */ } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple4.kt.after index c2dfa59d3173..74a0c891f6fa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { item -> println(item) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple5.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple5.kt index 2d46e2b75757..365a49d10737 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple5.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 's' is never used, could be renamed to _ fun test(list: List) { list.forEachIndexed { index, s -> println(index) } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple5.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple5.kt.after index 9ba436fea40b..b7799ee454db 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple5.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple5.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 's' is never used, could be renamed to _ fun test(list: List) { list.forEachIndexed { index, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple6.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple6.kt index 88b3dad41cdd..2495f7881532 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple6.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple6.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List>) { list.forEach { (s, _) -> println(s) } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple6.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple6.kt.after index 649d6641d703..3115a1f848b4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple6.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToMultiLine/simple6.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List>) { list.forEach { (s, _) -> println(s) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/backtickEscaped.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/backtickEscaped.kt index 7b6b0285c35f..c221a6087946 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/backtickEscaped.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/backtickEscaped.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Parameter 'x' is never used fun `super`(x: Int): Int = TODO() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/backtickEscaped.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/backtickEscaped.kt.after index 8da20c45a6be..053fcc202879 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/backtickEscaped.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/backtickEscaped.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Parameter 'x' is never used fun `super`(x: Int): Int = TODO() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/backtickWithBuck.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/backtickWithBuck.kt index 557b16a31dd1..b4cccf1b283d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/backtickWithBuck.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/backtickWithBuck.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'arg' is never used fun fn(arg : () -> Unit) = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/backtickWithBuck.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/backtickWithBuck.kt.after index 2e242ae93d18..bdf35860d807 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/backtickWithBuck.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/backtickWithBuck.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'arg' is never used fun fn(arg : () -> Unit) = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/companion.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/companion.kt index a1787ea80218..76228b6b6180 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/companion.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/companion.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Parameter 'x' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/companion.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/companion.kt.after index 8acc16957cff..6d7f6ddd0e5f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/companion.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/companion.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Parameter 'x' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/constructor.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/constructor.kt index e62f32e0e22b..e18a186f2423 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/constructor.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/constructor.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Person(val name: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/constructor.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/constructor.kt.after index 89b00988656c..589511677e6b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/constructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/constructor.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Person(val name: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/conversion.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/conversion.kt index b81603ae6241..4555a13d06c3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/conversion.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/conversion.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("123", "4567").map { it.toInt() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/conversion.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/conversion.kt.after index a3f454d09eae..713b85dbd20f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/conversion.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/conversion.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("123", "4567").map(String::toInt) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/defaultBeforeLambda.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/defaultBeforeLambda.kt index d4a8999a10d7..d21caf6fda61 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/defaultBeforeLambda.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/defaultBeforeLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun List.transform(x: Int = 0, f: (Int) -> Int) = map { f(it + x) } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/defaultBeforeLambda.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/defaultBeforeLambda.kt.after index 61f8eb0dc4aa..3c8924d6d840 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/defaultBeforeLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/defaultBeforeLambda.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun List.transform(x: Int = 0, f: (Int) -> Int) = map { f(it + x) } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/doubleChained.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/doubleChained.kt index d2a94510222c..0cd4335f0ee3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/doubleChained.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/doubleChained.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'data' is never used interface Data diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/doubleChained.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/doubleChained.kt.after index 692b6735b78b..3eae045ded1b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/doubleChained.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/doubleChained.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'data' is never used interface Data diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/emptyBrackets.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/emptyBrackets.kt index 4226a88b83bc..b5fac510426d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/emptyBrackets.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/emptyBrackets.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun bar(s: String) = s.length diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/emptyBrackets.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/emptyBrackets.kt.after index bd3507959c5b..416c2df8385c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/emptyBrackets.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/emptyBrackets.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun bar(s: String) = s.length diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/extensionOuterScope.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/extensionOuterScope.kt index b3444f6cf58f..24668dbfd76f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/extensionOuterScope.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/extensionOuterScope.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 's' is never used // AFTER-WARNING: Variable 'f' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/extensionOuterScope.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/extensionOuterScope.kt.after index a6fee420bc69..76ffa628563c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/extensionOuterScope.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/extensionOuterScope.kt.after @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 's' is never used // AFTER-WARNING: Variable 'f' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic2.kt index 76f6896d7b91..ada0d9cdcee3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used fun foo(i: Int): T? = null diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic2.kt.after index 360dc91b0746..1daaf087257f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used fun foo(i: Int): T? = null diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic3.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic3.kt index d7424173fa80..d853a06e465f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface CD fun D.foo(): D? = null diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic3.kt.after index ae1d640543d2..914f6532328b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface CD fun D.foo(): D? = null diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic4.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic4.kt index 56dc4477189e..cf4866bb33f9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf(listOf(1)).filter { it.isNotEmpty() } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic4.kt.after index 053937686080..7cc830ee03d5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/generic4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf(listOf(1)).filter(List::isNotEmpty) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/mapTo.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/mapTo.kt index 0d2a0fcce14b..4d21b5260f76 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/mapTo.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/mapTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun bar(s: String) = s.length diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/mapTo.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/mapTo.kt.after index fdbd2b5b6ea3..e5ef1fedcedb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/mapTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/mapTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun bar(s: String) = s.length diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/mapToFqName.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/mapToFqName.kt index 9bc897038199..867f474581ba 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/mapToFqName.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/mapToFqName.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun bar(s: String) = s.length diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/mapToFqName.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/mapToFqName.kt.after index a08df6c7fc06..b3d44b3ca23c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/mapToFqName.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/mapToFqName.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun bar(s: String) = s.length diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInLambdaArgument.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInLambdaArgument.kt index 2fbd1e900c44..5d5e243f34ac 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInLambdaArgument.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInLambdaArgument.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB class Owner(val z: Int) { fun foo(y: Int) = y + z diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInLambdaArgument.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInLambdaArgument.kt.after index 04e3668d0aa4..829084737ae7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInLambdaArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInLambdaArgument.kt.after @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB class Owner(val z: Int) { fun foo(y: Int) = y + z diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInScopeFunction.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInScopeFunction.kt index d8933c621791..c04a43fbd401 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInScopeFunction.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInScopeFunction.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used fun foo(f: () -> Unit) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInScopeFunction.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInScopeFunction.kt.after index 085ce2d6a8b7..3a4061c83fb4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInScopeFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInScopeFunction.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used fun foo(f: () -> Unit) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInScopeFunction2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInScopeFunction2.kt index e1eddd280259..b16492470caf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInScopeFunction2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInScopeFunction2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used fun foo(f: () -> Unit) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInScopeFunction2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInScopeFunction2.kt.after index fd5072228fc1..c449cf94178e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInScopeFunction2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberInScopeFunction2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used fun foo(f: () -> Unit) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberOuterScope.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberOuterScope.kt index 0b96df4fc541..5ba4eb0375a9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberOuterScope.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberOuterScope.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 's' is never used // AFTER-WARNING: Variable 'f' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberOuterScope.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberOuterScope.kt.after index 9c62592d70af..b493e07089bc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberOuterScope.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/memberOuterScope.kt.after @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 's' is never used // AFTER-WARNING: Variable 'f' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/nestedLambda.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/nestedLambda.kt index 6b35f3fbd87b..933e94b3189e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/nestedLambda.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/nestedLambda.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1).forEach { run { bar(it) } } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/nestedLambdaWithReceiver.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/nestedLambdaWithReceiver.kt index abfc7ab2a5ba..de3206e79796 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/nestedLambdaWithReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/nestedLambdaWithReceiver.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1).forEach { run { it.bar() } } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/nestedLambdaWithReceiver.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/nestedLambdaWithReceiver.kt.after index 29ed387c4a67..8699d86e238c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/nestedLambdaWithReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/nestedLambdaWithReceiver.kt.after @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1).forEach { run(it::bar) } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/platformType.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/platformType.kt index c91f40ecfb20..c2a036ce549c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/platformType.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/platformType.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val y = java.lang.String.valueOf(42) val x = y.let { it.toInt() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/platformType.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/platformType.kt.after index cc10cf85fa3e..cbcdd85928cc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/platformType.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/platformType.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val y = java.lang.String.valueOf(42) val x = y.let(String::toInt) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/receiverParameter3.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/receiverParameter3.kt index e19a3f9a8cb5..774ae1cf7ca4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/receiverParameter3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/receiverParameter3.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB class A(s: String) { fun bar(s: String) {} } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/suspendFun.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/suspendFun.kt index f5a1c639ce93..1448a3435bc5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/suspendFun.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/suspendFun.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB suspend fun String.bar() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/syntheticProperty.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/syntheticProperty.kt index 1e80b0ddf1d6..d9e9df9d1352 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/syntheticProperty.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/syntheticProperty.kt @@ -1,4 +1,4 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB val x = listOf(java.lang.String("")).map { it.bytes } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeAlias.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeAlias.kt index 8cb942a2d1c1..da5f2d72f35b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeAlias.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeAlias.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package test diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeAlias.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeAlias.kt.after index 9a6f95ef6e5a..160f9efb7471 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeAlias.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeAlias.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package test diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeAliasGenericInstance.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeAliasGenericInstance.kt index 4f576fa48d25..b7f88dc4f65b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeAliasGenericInstance.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeAliasGenericInstance.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package test diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeAliasGenericInstance.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeAliasGenericInstance.kt.after index 078d48ed4092..99c99d4f79d9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeAliasGenericInstance.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeAliasGenericInstance.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package test diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeFromJava.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeFromJava.kt index ac9e23d43e8d..b8e636c5ae61 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeFromJava.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeFromJava.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // See KT-13411 fun use() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeFromJava.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeFromJava.kt.after index a7138f16f563..8481d5899af6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeFromJava.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeFromJava.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // See KT-13411 fun use() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeFromJavaFlexibleRecursive.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeFromJavaFlexibleRecursive.kt index a73f2ca0d578..86abcc7a3936 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeFromJavaFlexibleRecursive.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeFromJavaFlexibleRecursive.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // See KT-13411 fun use() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeFromJavaFlexibleRecursive.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeFromJavaFlexibleRecursive.kt.after index 24cfda513d45..355f188aa6ea 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeFromJavaFlexibleRecursive.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/typeFromJavaFlexibleRecursive.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // See KT-13411 fun use() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/unwrap.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/unwrap.kt index 28978f6dca75..845c885f747e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/unwrap.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/unwrap.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Wrapper(private val x: T) { fun unwrap() = x diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/unwrap.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/unwrap.kt.after index 977122fc3cc3..19968024003b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/unwrap.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/unwrap.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Wrapper(private val x: T) { fun unwrap() = x diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/varargFunction.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/varargFunction.kt index adb979966993..30a4abcf51f5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/varargFunction.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/varargFunction.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun test(i: Int?): IntArray? { return i?.let { intArrayOf(it) } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/varargFunction2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/varargFunction2.kt index 724cd08832bc..2cc8095898c8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/varargFunction2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/varargFunction2.kt @@ -1,5 +1,5 @@ // COMPILER_ARGUMENTS: -XXLanguage:-NewInference -// WITH_RUNTIME +// WITH_STDLIB fun test(vararg i: Int): IntArray { return i.let { double(*it) } } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/varargFunction2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/varargFunction2.kt.after index 8689602ab1b9..f774b3d500ff 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/varargFunction2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/varargFunction2.kt.after @@ -1,5 +1,5 @@ // COMPILER_ARGUMENTS: -XXLanguage:-NewInference -// WITH_RUNTIME +// WITH_STDLIB fun test(vararg i: Int): IntArray { return i.let(::double) } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/extensionOuterScope.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/extensionOuterScope.kt index 99b1457b2399..0c9eacca3d04 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/extensionOuterScope.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/extensionOuterScope.kt @@ -1,6 +1,6 @@ // LANGUAGE_VERSION: 1.1 // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 's' is never used // AFTER-WARNING: Variable 'f' is never used class Test { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/extensionOuterScope.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/extensionOuterScope.kt.after index 665a24c623b9..0a32c4cf6aa2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/extensionOuterScope.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/extensionOuterScope.kt.after @@ -1,6 +1,6 @@ // LANGUAGE_VERSION: 1.1 // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 's' is never used // AFTER-WARNING: Variable 'f' is never used class Test { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInLambdaArgument.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInLambdaArgument.kt index 74326a415113..2447a36c42c9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInLambdaArgument.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInLambdaArgument.kt @@ -1,6 +1,6 @@ // LANGUAGE_VERSION: 1.1 // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB class Owner(val z: Int) { fun foo(y: Int) = y + z diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInLambdaArgument.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInLambdaArgument.kt.after index 8f21176c6ae8..e81508036462 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInLambdaArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInLambdaArgument.kt.after @@ -1,6 +1,6 @@ // LANGUAGE_VERSION: 1.1 // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB class Owner(val z: Int) { fun foo(y: Int) = y + z diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInScopeFunction.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInScopeFunction.kt index 6d4dced7576c..853df6ce87cf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInScopeFunction.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInScopeFunction.kt @@ -1,5 +1,5 @@ // LANGUAGE_VERSION: 1.1 -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used fun foo(f: () -> Unit) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInScopeFunction.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInScopeFunction.kt.after index 2eb37a1b63fd..9dab82ffc4bd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInScopeFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInScopeFunction.kt.after @@ -1,5 +1,5 @@ // LANGUAGE_VERSION: 1.1 -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used fun foo(f: () -> Unit) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInScopeFunction2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInScopeFunction2.kt index 802b7f936b7c..c0970223b58e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInScopeFunction2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInScopeFunction2.kt @@ -1,5 +1,5 @@ // LANGUAGE_VERSION: 1.1 -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used fun foo(f: () -> Unit) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInScopeFunction2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInScopeFunction2.kt.after index ea86d95d06a6..86fe2458d611 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInScopeFunction2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberInScopeFunction2.kt.after @@ -1,5 +1,5 @@ // LANGUAGE_VERSION: 1.1 -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used fun foo(f: () -> Unit) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberOuterScope.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberOuterScope.kt index e35b34834516..dc5eb2a85903 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberOuterScope.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberOuterScope.kt @@ -1,6 +1,6 @@ // LANGUAGE_VERSION: 1.1 // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 's' is never used // AFTER-WARNING: Variable 'f' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberOuterScope.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberOuterScope.kt.after index 71fc60d2fe60..ecafb00d2206 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberOuterScope.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/version1_1/memberOuterScope.kt.after @@ -1,6 +1,6 @@ // LANGUAGE_VERSION: 1.1 // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 's' is never used // AFTER-WARNING: Variable 'f' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/hasEolComment.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/hasEolComment.kt index 12380ec22d9d..92e781b5f2f1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/hasEolComment.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/hasEolComment.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { item -> println(item) // comment diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody.kt index 27d5b39dcf33..13b1120c8b78 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { item -> println(item) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody2.kt index 8f93fa4f526b..6ff31f4746b1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { item -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody2.kt.after index dd62b47f93b5..1eccc048918d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { item -> println(item) /* comment */ } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody3.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody3.kt index 36dfa5f6ea74..7c9d04642fa3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { item -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody3.kt.after index 8a9f870bf43c..cf112b259358 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/multiLineBody3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { item -> println(item) } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple.kt index 6f84324f5be9..7796f8d670ea 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple.kt.after index 495f6af8b93f..21802e0c18c0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple2.kt index 6d4e3fc0d18e..f72103ad27e1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { println(it) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple2.kt.after index 1da2a8aa1785..3923c4d56d08 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { println(it) } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple3.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple3.kt index 05aefd6634cd..b3b8f7269c7a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { item -> println(item) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple3.kt.after index 8a9f870bf43c..cf112b259358 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { item -> println(item) } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple4.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple4.kt index d479450f8353..5555de6b8d8e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { item -> println(item); println(item); println(item) /* comment */ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple4.kt.after index afcadde8ba7f..5f9667803866 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { item -> println(item); println(item); println(item) /* comment */ } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple5.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple5.kt index c16f2b3de4ff..d99820595995 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple5.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 's' is never used, could be renamed to _ fun test(list: List) { list.forEachIndexed { index, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple5.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple5.kt.after index 90f3b354e3d0..fe8fc0d9b7e5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple5.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple5.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 's' is never used, could be renamed to _ fun test(list: List) { list.forEachIndexed { index, s -> println(index) } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple6.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple6.kt index 7323b3f71c29..152f3f733927 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple6.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple6.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List>) { list.forEach { (s, _) -> println(s) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple6.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple6.kt.after index a5dd21bb79a2..e75f7dad49b3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple6.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/simple6.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List>) { list.forEach { (s, _) -> println(s) } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/singleLine.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/singleLine.kt index fdf284ae877a..b6d5773a36fe 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/singleLine.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLambdaToSingleLine/singleLine.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.forEach { println(it) } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/comment.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/comment.kt index a7a3f1471b1c..2ba959e05707 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/comment.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/comment.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x by lazy { // comment 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/comment.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/comment.kt.after index f2d5eed99e3a..9882f3aafcee 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/comment.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/comment.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = run { // comment 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/multiStatement.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/multiStatement.kt index e8a29226c4d4..28f1fbe4194b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/multiStatement.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/multiStatement.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x by lazy { foo() 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/multiStatement.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/multiStatement.kt.after index 75270b032c91..35b1caf3741f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/multiStatement.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/multiStatement.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = run { foo() 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/noStatement.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/noStatement.kt index 0040fa187a2f..5f05057a13b5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/noStatement.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/noStatement.kt @@ -1,3 +1,3 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB val x by lazy { } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/singleStatement.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/singleStatement.kt index b1022ee5ff27..6fddfc048135 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/singleStatement.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/singleStatement.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val x: Int by lazy { 1 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/singleStatement.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/singleStatement.kt.after index 935d969c6498..62f0355e934d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/singleStatement.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/singleStatement.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val x: Int = 1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/singleStatement2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/singleStatement2.kt index bc9ba9669b1c..ba57701ed52c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/singleStatement2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/singleStatement2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x by lazy { 1 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/singleStatement2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/singleStatement2.kt.after index 55807895fd33..c13cc7ee2263 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/singleStatement2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/singleStatement2.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = 1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/var.kt b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/var.kt index ed5e29253bed..8d472ff3f014 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/var.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/var.kt @@ -1,3 +1,3 @@ // DISABLE-ERRORS -// WITH_RUNTIME +// WITH_STDLIB var x: Int by lazy { 1 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/var.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/var.kt.after index dd9214c9b40e..1745058bc432 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/var.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertLazyPropertyToOrdinary/var.kt.after @@ -1,3 +1,3 @@ // DISABLE-ERRORS -// WITH_RUNTIME +// WITH_STDLIB var x: Int = 1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertNullablePropertyToLateinit/unsignedInt.kt b/plugins/kotlin/idea/tests/testData/intentions/convertNullablePropertyToLateinit/unsignedInt.kt index 6d1f1566aeb0..436b1f9ecd1c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertNullablePropertyToLateinit/unsignedInt.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertNullablePropertyToLateinit/unsignedInt.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class C { var foo: UInt? = null diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertOrdinaryPropertyToLazy/basic.kt b/plugins/kotlin/idea/tests/testData/intentions/convertOrdinaryPropertyToLazy/basic.kt index bad912990461..a81a72ca7979 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertOrdinaryPropertyToLazy/basic.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertOrdinaryPropertyToLazy/basic.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val x: Int = 1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertOrdinaryPropertyToLazy/basic.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertOrdinaryPropertyToLazy/basic.kt.after index 100ed0c1af7d..41914bc1c836 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertOrdinaryPropertyToLazy/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertOrdinaryPropertyToLazy/basic.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val x: Int by lazy { 1 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertOrdinaryPropertyToLazy/run.kt b/plugins/kotlin/idea/tests/testData/intentions/convertOrdinaryPropertyToLazy/run.kt index e10d3b19b819..cdfe9927e96a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertOrdinaryPropertyToLazy/run.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertOrdinaryPropertyToLazy/run.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = run { foo() 3 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertOrdinaryPropertyToLazy/run.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertOrdinaryPropertyToLazy/run.kt.after index fa8305078721..2aaff53932ba 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertOrdinaryPropertyToLazy/run.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertOrdinaryPropertyToLazy/run.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val x by lazy { foo() 3 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/explicitThisForAnonymousObject.kt b/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/explicitThisForAnonymousObject.kt index c711f87b758c..e511b97d1a84 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/explicitThisForAnonymousObject.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/explicitThisForAnonymousObject.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(p: Any) { object : Runnable { override fun run() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/explicitThisForAnonymousObject.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/explicitThisForAnonymousObject.kt.after index 5d32f297064b..908651c0ec0a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/explicitThisForAnonymousObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/explicitThisForAnonymousObject.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Any.foo() { object : Runnable { override fun run() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/explicitThisForExtension.kt b/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/explicitThisForExtension.kt index 36b329400e3f..6fc312680845 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/explicitThisForExtension.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/explicitThisForExtension.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C(val x: Int, val y: Int, var z: Int) class CBuilder { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/explicitThisForExtension.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/explicitThisForExtension.kt.after index 62045ab09212..1ba2867e204d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/explicitThisForExtension.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/explicitThisForExtension.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C(val x: Int, val y: Int, var z: Int) class CBuilder { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/memberFun.kt b/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/memberFun.kt index f07191d9313f..6e4651b1e259 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/memberFun.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/memberFun.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A { fun foo(s: String, n: Int): Boolean { return s.length - n/2 > 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/memberFun.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/memberFun.kt.after index 91e7b17b4d94..5c511f816af4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/memberFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/memberFun.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A { fun String.foo(n: Int): Boolean { return length - n/2 > 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/parameterOfObjectFunction.kt b/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/parameterOfObjectFunction.kt index b50806d4925e..91ec423d10e8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/parameterOfObjectFunction.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/parameterOfObjectFunction.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB object Foo { fun bar(p: String){} } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/parameterOfObjectFunction.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/parameterOfObjectFunction.kt.after index a4e7bb91a676..73ec4d66406a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/parameterOfObjectFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertParameterToReceiver/parameterOfObjectFunction.kt.after @@ -1,6 +1,6 @@ import Foo.bar -// WITH_RUNTIME +// WITH_STDLIB object Foo { fun String.bar() {} } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertPrimaryConstructorToSecondary/vararg.kt b/plugins/kotlin/idea/tests/testData/intentions/convertPrimaryConstructorToSecondary/vararg.kt index ba2e672ec7ab..d94e37030d38 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertPrimaryConstructorToSecondary/vararg.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertPrimaryConstructorToSecondary/vararg.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class VarArg(vararg x: String) { val strList = x.toList() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertPrimaryConstructorToSecondary/vararg.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertPrimaryConstructorToSecondary/vararg.kt.after index cc8ab094f0f9..e57654586186 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertPrimaryConstructorToSecondary/vararg.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertPrimaryConstructorToSecondary/vararg.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class VarArg { constructor(vararg x: String) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertPrimaryConstructorToSecondary/varargVal.kt b/plugins/kotlin/idea/tests/testData/intentions/convertPrimaryConstructorToSecondary/varargVal.kt index 75d30b840132..f4abbd33c6e3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertPrimaryConstructorToSecondary/varargVal.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertPrimaryConstructorToSecondary/varargVal.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB class VarargVal(vararg val param: String) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertPrimaryConstructorToSecondary/varargVal.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertPrimaryConstructorToSecondary/varargVal.kt.after index e29b585f539a..bb76ddec4730 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertPrimaryConstructorToSecondary/varargVal.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertPrimaryConstructorToSecondary/varargVal.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class VarargVal { val param: Array diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyGetterToInitializer/run.kt b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyGetterToInitializer/run.kt index 90053a9a9eb1..a6b51cd4601f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyGetterToInitializer/run.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyGetterToInitializer/run.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val p: Int get() = run { 1 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyGetterToInitializer/run.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyGetterToInitializer/run.kt.after index 5943b5022529..98e723b66b1c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyGetterToInitializer/run.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyGetterToInitializer/run.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val p: Int = run { 1 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyInitializerToGetter/jvmField.kt b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyInitializerToGetter/jvmField.kt index 490b604451e0..754b418109e0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyInitializerToGetter/jvmField.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyInitializerToGetter/jvmField.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB class Test { @JvmField val foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyInitializerToGetter/notInLambda.kt b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyInitializerToGetter/notInLambda.kt index 3a405ecb3d6f..0ee4a84f0ca4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyInitializerToGetter/notInLambda.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyInitializerToGetter/notInLambda.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB val x: Int = run { 1 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/delegatingProperty.kt b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/delegatingProperty.kt index 0b6878d6f0eb..d2aabf5123e5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/delegatingProperty.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/delegatingProperty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class A(val n: Int) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/jvmField.kt b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/jvmField.kt index 081b8538d114..d37371854eba 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/jvmField.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/jvmField.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB class Test { @JvmField val foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/otherRefs.kt b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/otherRefs.kt index e4edec37508d..a9c3413a00d1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/otherRefs.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/otherRefs.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 't' is never used package p diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/otherRefs.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/otherRefs.kt.after index 3d8cec68f695..f62e7088656e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/otherRefs.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/otherRefs.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 't' is never used package p diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/recursiveAccessor.kt b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/recursiveAccessor.kt index 6330001a34f3..3f05aa8743e2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/recursiveAccessor.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/recursiveAccessor.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val String.foo: String get() = if (isEmpty()) "" else substring(1).foo \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/recursiveAccessor.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/recursiveAccessor.kt.after index 77f4064bfb6e..7b77098948bd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/recursiveAccessor.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/recursiveAccessor.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB fun String.getFoo(): String = if (isEmpty()) "" else substring(1).getFoo() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/sameNameFunAsStdlibFun.kt b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/sameNameFunAsStdlibFun.kt index 71495099051e..d043f208e030 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/sameNameFunAsStdlibFun.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/sameNameFunAsStdlibFun.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo { val isEmpty: Boolean get() = true diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/sameNameFunAsStdlibFun.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/sameNameFunAsStdlibFun.kt.after index 468af53932c2..866201ec7b28 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/sameNameFunAsStdlibFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/sameNameFunAsStdlibFun.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo { fun isEmpty(): Boolean = true } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/unchangedElements.kt b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/unchangedElements.kt index 58fcdd1156ee..2edab16c9a94 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/unchangedElements.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/unchangedElements.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 't' is never used annotation class X(val s: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/unchangedElements.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/unchangedElements.kt.after index b6aa9fdc4512..02918ad7d6ee 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/unchangedElements.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertPropertyToFunction/unchangedElements.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 't' is never used annotation class X(val s: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertRangeCheckToTwoComparisons/double.kt b/plugins/kotlin/idea/tests/testData/intentions/convertRangeCheckToTwoComparisons/double.kt index 7c11765d5efe..28f83f79314c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertRangeCheckToTwoComparisons/double.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertRangeCheckToTwoComparisons/double.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Double) { bar in 1.0..10.0 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertRangeCheckToTwoComparisons/double.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertRangeCheckToTwoComparisons/double.kt.after index 273a5ad180fe..6d22574e7562 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertRangeCheckToTwoComparisons/double.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertRangeCheckToTwoComparisons/double.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Double) { 1.0 <= bar && bar <= 10.0 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertRangeCheckToTwoComparisons/otherOp.kt b/plugins/kotlin/idea/tests/testData/intentions/convertRangeCheckToTwoComparisons/otherOp.kt index 15eff28f5dd0..d87e3359ca04 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertRangeCheckToTwoComparisons/otherOp.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertRangeCheckToTwoComparisons/otherOp.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Int) { if (bar in arrayOf(1, 2, 3)) { } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/explicitThisForExtension.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/explicitThisForExtension.kt index 9cf40e065b46..fb773c43c8be 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/explicitThisForExtension.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/explicitThisForExtension.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Int.add() { run { println(this + 1) } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/explicitThisForExtension.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/explicitThisForExtension.kt.after index b38707ab6bd9..69e67a01c106 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/explicitThisForExtension.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/explicitThisForExtension.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun add(i: Int) { i.run { println(this + 1) } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/memberFun.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/memberFun.kt index c481218900bc..6dae5f4efec3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/memberFun.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/memberFun.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A { fun String.foo(n: Int): Boolean { return length - n/2 > 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/memberFun.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/memberFun.kt.after index bbecb61d5645..2da05075e224 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/memberFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/memberFun.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A { fun foo(s: String, n: Int): Boolean { return s.length - n/2 > 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/replaceThis.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/replaceThis.kt index a3faac3ba975..433c9253c184 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/replaceThis.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/replaceThis.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A(val s: String) {} fun A.extend() = println(this.s) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/replaceThis.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/replaceThis.kt.after index 8a64496c0dfe..4ed43fd95cb2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/replaceThis.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/replaceThis.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A(val s: String) {} fun extend(a: A) = println(a.s) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/thisCall.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/thisCall.kt index 6127d46f18d4..f61f6be8bb3e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/thisCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/thisCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class CallableObject { operator fun User.invoke() = println("User.invoke") } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/thisCall.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/thisCall.kt.after index 7242598b900f..d9add5d431b9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/thisCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReceiverToParameter/thisCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class CallableObject { operator fun User.invoke() = println("User.invoke") } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/apply.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/apply.kt index 1b1dd7cb4e37..87ed409b975b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/apply.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/apply.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class My { fun foo() {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/apply.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/apply.kt.after index 99d35b9dfc45..ffb4c578c819 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/apply.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/apply.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class My { fun foo() {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/companion.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/companion.kt index 3226fd98f7f0..afbbb81f7db3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/companion.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/companion.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import Utils.Companion.foo diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/companion.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/companion.kt.after index 0d26e12aceb8..77818a23c127 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/companion.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/companion.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import Utils.Companion.foo diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/companionNoImport.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/companionNoImport.kt index 00c4cef1dab9..0fd2b5691f8e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/companionNoImport.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/companionNoImport.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val list = listOf(1, 2, 3).map(Utils.Companion::foo) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/companionNoImport.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/companionNoImport.kt.after index b9cf9443b696..c3080d986921 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/companionNoImport.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/companionNoImport.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val list = listOf(1, 2, 3).map { Utils.foo(it) } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/constructor.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/constructor.kt index 7df51dee1602..972969842e27 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/constructor.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/constructor.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Person(val name: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/constructor.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/constructor.kt.after index 33e781fffe49..cb24dc8a36a7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/constructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/constructor.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Person(val name: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/conversion.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/conversion.kt index 2b1ce667e47e..9e2daf939f1d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/conversion.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/conversion.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("123", "4567").map(String::toInt) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/conversion.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/conversion.kt.after index 76f6fbd03979..02441468733f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/conversion.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/conversion.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("123", "4567").map { it.toInt() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier.kt index 7eebef2719a9..1dec526ede89 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(x: String) { println(x) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier.kt.after index 06018a8c5a8c..ae27383dd475 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(x: String) { println(x) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier2.kt index e1a6a15d9ddc..03c85b05e6ac 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'body' is never used // AFTER-WARNING: Parameter 's' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier2.kt.after index f504190110c0..d3cfb0633590 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'body' is never used // AFTER-WARNING: Parameter 's' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier3.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier3.kt index e668e59186a9..9692646360f1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'body' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 's' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier3.kt.after index 69f861f15006..08fdbb04186c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutQualifier3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'body' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 's' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutReferenceToThis.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutReferenceToThis.kt index e50d97735f5c..46370fe66915 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutReferenceToThis.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutReferenceToThis.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A { fun foo(x: String) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutReferenceToThis.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutReferenceToThis.kt.after index 51812e6cd543..30fef1058ebb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutReferenceToThis.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/extensionWithoutReferenceToThis.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A { fun foo(x: String) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/itClash.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/itClash.kt index fefe6b2d0faf..d9ee061703cc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/itClash.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/itClash.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'arg' is never used fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/itClash.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/itClash.kt.after index 3f6c0f62bebd..51c585ffc08a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/itClash.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/itClash.kt.after @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'arg' is never used fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/length.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/length.kt index 8762fd304908..7fbbb0eadfc7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/length.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/length.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("123", "4567").map(String::length) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/length.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/length.kt.after index 6b97237a519a..9f926b475f1a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/length.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/length.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = listOf("123", "4567").map { it.length } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/nestedLambdaWithReceiver.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/nestedLambdaWithReceiver.kt index dff8ce2e25fb..37951bc3be63 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/nestedLambdaWithReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/nestedLambdaWithReceiver.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1).forEach { run(it::bar) } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/nestedLambdaWithReceiver.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/nestedLambdaWithReceiver.kt.after index 6ee5b5ed1690..f529fabb35fb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/nestedLambdaWithReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/nestedLambdaWithReceiver.kt.after @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1).forEach { run { it.bar() } } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/object.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/object.kt index 9bfb97f5953a..7d5cf8a04041 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/object.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/object.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB val list = listOf(1, 2, 3).map(Utils::foo) object Utils { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/object.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/object.kt.after index 318b35f030be..79090b378b6f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/object.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/object.kt.after @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB val list = listOf(1, 2, 3).map { Utils.foo(it) } object Utils { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/static.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/static.kt index 2767a50b8ffe..f24640109af0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/static.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/static.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val list = listOf(1, 2, 3).map(Utils::foo) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/static.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/static.kt.after index 962c0dadb9ec..d87d7d25a430 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/static.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/static.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val list = listOf(1, 2, 3).map { Utils.foo(it) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/unwrap.kt b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/unwrap.kt index dcacc36f81d7..f1c54263dfd6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/unwrap.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/unwrap.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Wrapper(private val x: T) { fun unwrap() = x diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/unwrap.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/unwrap.kt.after index d1f6a3008e29..3a339e49cd0c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/unwrap.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertReferenceToLambda/unwrap.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Wrapper(private val x: T) { fun unwrap() = x diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertSealedClassToEnum/instancesAndMembers.kt b/plugins/kotlin/idea/tests/testData/intentions/convertSealedClassToEnum/instancesAndMembers.kt index 1c7afaf14e1b..ee07b95e4226 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertSealedClassToEnum/instancesAndMembers.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertSealedClassToEnum/instancesAndMembers.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'n' is never used sealed class MyClass(val s: String = "") { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertSealedClassToEnum/instancesAndMembers.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertSealedClassToEnum/instancesAndMembers.kt.after index 7f84f61906c8..b8702ed49665 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertSealedClassToEnum/instancesAndMembers.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertSealedClassToEnum/instancesAndMembers.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'n' is never used enum class MyClass(val s: String = "") { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertSealedClassToEnum/instancesOnly.kt b/plugins/kotlin/idea/tests/testData/intentions/convertSealedClassToEnum/instancesOnly.kt index 35aed046790b..5d094c650d68 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertSealedClassToEnum/instancesOnly.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertSealedClassToEnum/instancesOnly.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'n' is never used sealed class MyClass(val s: String = "") { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertSealedClassToEnum/instancesOnly.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertSealedClassToEnum/instancesOnly.kt.after index ecaca8a4fd8f..6a94f21ba160 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertSealedClassToEnum/instancesOnly.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertSealedClassToEnum/instancesOnly.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'n' is never used enum class MyClass(val s: String = "") { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertSecondaryConstructorToPrimary/varArg.kt b/plugins/kotlin/idea/tests/testData/intentions/convertSecondaryConstructorToPrimary/varArg.kt index 18c1bf7528b8..0072fc2975e1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertSecondaryConstructorToPrimary/varArg.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertSecondaryConstructorToPrimary/varArg.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class WithVarArg { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertSecondaryConstructorToPrimary/varArg.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertSecondaryConstructorToPrimary/varArg.kt.after index 83af7fb03f44..835051794881 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertSecondaryConstructorToPrimary/varArg.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertSecondaryConstructorToPrimary/varArg.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class WithVarArg(vararg zz: String) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertSecondaryConstructorToPrimary/varargVal.kt b/plugins/kotlin/idea/tests/testData/intentions/convertSecondaryConstructorToPrimary/varargVal.kt index 943f906691e6..865712c56b0a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertSecondaryConstructorToPrimary/varargVal.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertSecondaryConstructorToPrimary/varargVal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class VarargVal { val param: Array diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertSecondaryConstructorToPrimary/varargVal.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertSecondaryConstructorToPrimary/varargVal.kt.after index 4d56d85d66e5..373ad4c87a7c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertSecondaryConstructorToPrimary/varargVal.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertSecondaryConstructorToPrimary/varargVal.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class VarargVal(vararg val param: String) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/argument.kt b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/argument.kt index 271aa2f91bde..66b015141470 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/argument.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/argument.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 's' is never used fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/argument.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/argument.kt.after index 9042bea11144..af29751ac1f3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/argument.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/argument.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 's' is never used fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic.kt b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic.kt index 867a09e13524..f0249cd0fc1a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'foo' is never used // AFTER-WARNING: Variable 's' is never used fun test(foo: String) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic.kt.after index 6f9cf7c4ab7a..e9d42020c7ef 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'foo' is never used // AFTER-WARNING: Variable 's' is never used fun test(foo: String) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic2.kt index f13fc1f1f81e..6fdaf8260df2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used fun test(foo: String, bar: Int) { val s = "aaa\nbbb$foo$bar" diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic2.kt.after index fe73c4eadf6a..ed9d6bcfef67 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used fun test(foo: String, bar: Int) { val s = buildString { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic3.kt b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic3.kt index 2360de1eee16..a58291d37824 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used fun test(foo: String, bar: Int) { val s = "${foo}${bar}aaa\nbbb" diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic3.kt.after index 9b8d48bcebe6..aef8a65b53aa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/basic3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used fun test(foo: String, bar: Int) { val s = buildString { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/empty.kt b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/empty.kt index 20575019c15e..4fd535cf6fe5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/empty.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/empty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/empty.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/empty.kt.after index 5f84b9326ece..e70096c755df 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/empty.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/empty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/slashBuck.kt b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/slashBuck.kt index a3351bfb6db5..ffaad6dd7688 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/slashBuck.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/slashBuck.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() = "test\$test" \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/slashBuck.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/slashBuck.kt.after index 96e879762425..3662185c7694 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/slashBuck.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertStringTemplateToBuildString/slashBuck.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() = buildString { append("test\$test") } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/funWithThrow.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/funWithThrow.kt index b21b2c8a2e14..9e2ac5779908 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/funWithThrow.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/funWithThrow.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): String = throw UnsupportedOperationException() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/funWithThrow.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/funWithThrow.kt.after index d9b540db6a0a..dae4421ef4b0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/funWithThrow.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/funWithThrow.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): String { throw UnsupportedOperationException() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/getterWithThrow.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/getterWithThrow.kt index 6bc1d252d074..8d21757a99ac 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/getterWithThrow.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/getterWithThrow.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo: String get() = throw UnsupportedOperationException() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/getterWithThrow.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/getterWithThrow.kt.after index 87ee8eadae66..ff0acfcb45be 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/getterWithThrow.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/getterWithThrow.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo: String get() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/implicitlyNonUnitFun.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/implicitlyNonUnitFun.kt index e093c31aeba2..67166c8e6bf1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/implicitlyNonUnitFun.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/implicitlyNonUnitFun.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() = java.io.File("x").getAbsolutePath() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/implicitlyNonUnitFun.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/implicitlyNonUnitFun.kt.after index 45804f775142..232e090ddc73 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/implicitlyNonUnitFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/implicitlyNonUnitFun.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): String? { return java.io.File("x").getAbsolutePath() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/nothingFun.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/nothingFun.kt index e4045f05f4da..cb0d6634e546 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/nothingFun.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/nothingFun.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): Nothing = throw UnsupportedOperationException() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/nothingFun.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/nothingFun.kt.after index 9f6cee0b6513..774c02036b60 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/nothingFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/nothingFun.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): Nothing { throw UnsupportedOperationException() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/overrideWithPlatformType.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/overrideWithPlatformType.kt index fea05c04fc04..9d7eb6ac8259 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/overrideWithPlatformType.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/overrideWithPlatformType.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface Foo { fun foo(): String } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/overrideWithPlatformType.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/overrideWithPlatformType.kt.after index f96dfd8531db..389f2f5b88e9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/overrideWithPlatformType.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/overrideWithPlatformType.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface Foo { fun foo(): String } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/valueIsAnonymousObject4.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/valueIsAnonymousObject4.kt index 4aabbaf14570..8c6c449b3226 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/valueIsAnonymousObject4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/valueIsAnonymousObject4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface I diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/valueIsAnonymousObject4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/valueIsAnonymousObject4.kt.after index 8d6b2b186313..9e314459c2bb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/valueIsAnonymousObject4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToBlockBody/valueIsAnonymousObject4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface I diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/interpolateMapAccess.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/interpolateMapAccess.kt index da56e9cfc7ba..a155e82e1d0f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/interpolateMapAccess.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/interpolateMapAccess.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'y' is never used fun main(args: Array){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/interpolateMapAccess.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/interpolateMapAccess.kt.after index de9f67c02b47..751afce9c354 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/interpolateMapAccess.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/interpolateMapAccess.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'y' is never used fun main(args: Array){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/interpolateMethodInvoke.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/interpolateMethodInvoke.kt index 364f7cff1962..82d59f23282f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/interpolateMethodInvoke.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/interpolateMethodInvoke.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'y' is never used fun main(args: Array){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/interpolateMethodInvoke.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/interpolateMethodInvoke.kt.after index 88ae6f016eb2..961fa6440303 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/interpolateMethodInvoke.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/interpolateMethodInvoke.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'y' is never used fun main(args: Array){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/withAndWithoutBraces.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/withAndWithoutBraces.kt index 2d9802d19091..5839fdb31017 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/withAndWithoutBraces.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/withAndWithoutBraces.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'z' is never used fun main(args: Array){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/withAndWithoutBraces.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/withAndWithoutBraces.kt.after index 519fa8daba4d..b69fffb032e7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/withAndWithoutBraces.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToConcatenatedString/withAndWithoutBraces.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'z' is never used fun main(args: Array){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/binaryExpressionLoopRange.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/binaryExpressionLoopRange.kt index 63372a9981e1..156c49c4c288 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/binaryExpressionLoopRange.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/binaryExpressionLoopRange.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun main() { for (x in 1.rangeTo(2)) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/binaryExpressionLoopRange.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/binaryExpressionLoopRange.kt.after index d842c110ec08..93799e5d9b54 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/binaryExpressionLoopRange.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/binaryExpressionLoopRange.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun main() { 1.rangeTo(2).forEach { x -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/blockBodyExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/blockBodyExpression.kt index 1cb3182fe154..d2073dd0099d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/blockBodyExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/blockBodyExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { // check that original formatting of "x+1" and "1 .. 4" is preserved // AFTER-WARNING: The expression is unused diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/blockBodyExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/blockBodyExpression.kt.after index 17c4bb683ff4..4742b6d5caa9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/blockBodyExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/blockBodyExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { // check that original formatting of "x+1" and "1 .. 4" is preserved // AFTER-WARNING: The expression is unused diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/blockCommentOnly.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/blockCommentOnly.kt index 83d63092d49a..0ef114f13acf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/blockCommentOnly.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/blockCommentOnly.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'l' is never used, could be renamed to _ fun foo() {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/blockCommentOnly.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/blockCommentOnly.kt.after index 4a7657333cbf..3d56e7d66636 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/blockCommentOnly.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/blockCommentOnly.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'l' is never used, could be renamed to _ fun foo() {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsInBody.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsInBody.kt index db7801f1be40..b088dded906a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsInBody.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsInBody.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The value changed at 'v++' is never used fun foo() { val list = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsInBody.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsInBody.kt.after index 1c95a58539d4..4bcc6c6f2913 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsInBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsInBody.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The value changed at 'v++' is never used fun foo() { val list = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsInBody2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsInBody2.kt index e81c29d5dc7c..f486fea05b08 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsInBody2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsInBody2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'v' is never used fun foo() { val list = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsInBody2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsInBody2.kt.after index a67e7be753fe..b3fe72c62f7d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsInBody2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsInBody2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'v' is never used fun foo() { val list = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsOutsideBody.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsOutsideBody.kt index 5f008b26aaab..5ad8cd06109f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsOutsideBody.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsOutsideBody.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'x' is never used, could be renamed to _ fun foo() { for (x /* current */ in 1..10/* from 1 to 10 */) { } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsOutsideBody.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsOutsideBody.kt.after index 0cd1713397e7..9d329b118b12 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsOutsideBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/commentsOutsideBody.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'x' is never used, could be renamed to _ fun foo() { (1..10/* from 1 to 10 */).forEach { x /* current */ -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/continueToReturnWithLabel.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/continueToReturnWithLabel.kt index e4521ac04753..dcdef1db0ca3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/continueToReturnWithLabel.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/continueToReturnWithLabel.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Label is redundant, because it can not be referenced in either ''break'', ''continue'', or ''return'' expression fun main() { outer@ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/continueToReturnWithLabel.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/continueToReturnWithLabel.kt.after index 87b24ec82c97..cb445ca047bc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/continueToReturnWithLabel.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/continueToReturnWithLabel.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Label is redundant, because it can not be referenced in either ''break'', ''continue'', or ''return'' expression fun main() { outer@ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/continueToReturnWithoutLabel.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/continueToReturnWithoutLabel.kt index d294c4709a29..c8d4b8bbb5f8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/continueToReturnWithoutLabel.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/continueToReturnWithoutLabel.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { for (i in 1..100) { if (i % 2 == 0) continue diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/continueToReturnWithoutLabel.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/continueToReturnWithoutLabel.kt.after index ad02e42ab348..db5b8feb2873 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/continueToReturnWithoutLabel.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/continueToReturnWithoutLabel.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main() { (1..100).forEach { i -> if (i % 2 == 0) return@forEach diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/emptyBody.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/emptyBody.kt index df988a8f6462..85ddb89df645 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/emptyBody.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/emptyBody.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'x' is never used, could be renamed to _ fun foo() { for (x in 1..10) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/emptyBody.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/emptyBody.kt.after index 1e232da0b1d2..4b549cbeca31 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/emptyBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/emptyBody.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'x' is never used, could be renamed to _ fun foo() { (1..10).forEach { x -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment1.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment1.kt index ac013c9063ab..c00f50d95533 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'l' is never used, could be renamed to _ fun test() { for (l in listOf(1, 2)) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment1.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment1.kt.after index 1ee0d8598d5b..75b256322120 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment1.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment1.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'l' is never used, could be renamed to _ fun test() { listOf(1, 2).forEach { l -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment2.kt index 4c80cce02467..994c0cb97c2a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'l' is never used, could be renamed to _ fun foo() {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment2.kt.after index 1c17a5a7382e..b9fdc22a0c1b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'l' is never used, could be renamed to _ fun foo() {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment3.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment3.kt index 4c22fd39e1c2..de9d8b43eba5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'l' is never used, could be renamed to _ fun foo() {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment3.kt.after index 544afb82fd75..0c94be66c9ba 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/endOfLineComment3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'l' is never used, could be renamed to _ fun foo() {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/iterativeElementTypeSpecified.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/iterativeElementTypeSpecified.kt index 8b2412e6b6c8..e0f46ec59cf7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/iterativeElementTypeSpecified.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/iterativeElementTypeSpecified.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun main() { val list = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/iterativeElementTypeSpecified.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/iterativeElementTypeSpecified.kt.after index e7ac14844d5a..dd84b99f639c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/iterativeElementTypeSpecified.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/iterativeElementTypeSpecified.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun main() { val list = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/noCurlyBraces.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/noCurlyBraces.kt index bdf51eaaa65d..7fe0b82f9eef 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/noCurlyBraces.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/noCurlyBraces.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Name shadowed: i // AFTER-WARNING: The expression is unused // AFTER-WARNING: The expression is unused diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/noCurlyBraces.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/noCurlyBraces.kt.after index d0e5b45e47d2..c3caaa6ecb26 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/noCurlyBraces.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/noCurlyBraces.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Name shadowed: i // AFTER-WARNING: The expression is unused // AFTER-WARNING: The expression is unused diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/noStatements.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/noStatements.kt index 9940499ef117..7c5b6ec67434 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/noStatements.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/noStatements.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used, could be renamed to _ fun foo() { val list = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/noStatements.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/noStatements.kt.after index 9b8cf0754261..76e38bbf2696 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/noStatements.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/noStatements.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used, could be renamed to _ fun foo() { val list = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/simple.kt index e2ed4f780e0e..fc9dc1ba59bf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun foo() { val list = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/simple.kt.after index 77381ff48f35..1cb9570754bb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun foo() { val list = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/typeAnnotatedWithNonBlockBody.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/typeAnnotatedWithNonBlockBody.kt index f3bce9092440..f616e6ab2753 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/typeAnnotatedWithNonBlockBody.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/typeAnnotatedWithNonBlockBody.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'x' is never used, could be renamed to _ // AFTER-WARNING: The expression is unused fun main() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/typeAnnotatedWithNonBlockBody.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/typeAnnotatedWithNonBlockBody.kt.after index d46e1a9aabf6..6a2c30bf39e6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/typeAnnotatedWithNonBlockBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToForEachFunctionCall/typeAnnotatedWithNonBlockBody.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'x' is never used, could be renamed to _ // AFTER-WARNING: The expression is unused fun main() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/filter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/filter.kt index 77adf8c0de2d..1a9ec27054d3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/filter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/filter.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'filterIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.filter { s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/filter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/filter.kt.after index 16ccfbdb3d9e..531e65cd6028 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/filter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/filter.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'filterIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.filterIndexed { index, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/filterTo.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/filterTo.kt index 6461f523824e..7c5f02af7678 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/filterTo.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/filterTo.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'filterIndexedTo'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.filterTo(mutableListOf()) { s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/filterTo.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/filterTo.kt.after index 42e2115e5d28..2e517b2499a4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/filterTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/filterTo.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'filterIndexedTo'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.filterIndexedTo(mutableListOf()) { index, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/fold.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/fold.kt index b828aea7adc0..40bfbdc61b0d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/fold.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/fold.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'foldIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.fold("") { acc, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/fold.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/fold.kt.after index 566844f1287b..2eba89637e09 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/fold.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/fold.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'foldIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.foldIndexed("") { index, acc, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/foldRight.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/foldRight.kt index 9a9e52a99399..07d7511be5f9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/foldRight.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/foldRight.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'foldRightIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.foldRight("") { s, acc -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/foldRight.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/foldRight.kt.after index fff3510f5c4a..47a6596d9e57 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/foldRight.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/foldRight.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'foldRightIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.foldRightIndexed("") { index, s, acc -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/forEach.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/forEach.kt index 1b33668ffbf1..8df61ee8d07f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/forEach.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/forEach.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'forEachIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.forEach { s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/forEach.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/forEach.kt.after index 40c04ea84c4e..c00fb68653c2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/forEach.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/forEach.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'forEachIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.forEachIndexed { index, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/map.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/map.kt index 5a2e753be288..c835b77500fa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/map.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/map.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'mapIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.map { s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/map.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/map.kt.after index 2500f1e0c876..0252dda4313a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/map.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/map.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'mapIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.mapIndexed { index, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapNotNull.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapNotNull.kt index b664c6158a6f..f0b9a24c4f8d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapNotNull.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'mapIndexedNotNull'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.mapNotNull { s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapNotNull.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapNotNull.kt.after index b44c9ab05975..2760cb2e2b7b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapNotNull.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'mapIndexedNotNull'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.mapIndexedNotNull { index, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapNotNullTo.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapNotNullTo.kt index a2c2924fec47..8977b8f03bec 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapNotNullTo.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapNotNullTo.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'mapIndexedNotNullTo'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.mapNotNullTo(mutableListOf()) { s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapNotNullTo.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapNotNullTo.kt.after index 953252e520ce..a99f22c1cb4c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapNotNullTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapNotNullTo.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'mapIndexedNotNullTo'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.mapIndexedNotNullTo(mutableListOf()) { index, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapTo.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapTo.kt index bc8ed12979d8..a60557b37efa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapTo.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapTo.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'mapIndexedTo'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.mapTo(mutableListOf()) { s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapTo.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapTo.kt.after index 08c67dea009e..bb863bc0e8d9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/mapTo.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'mapIndexedTo'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.mapIndexedTo(mutableListOf()) { index, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/onEach.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/onEach.kt index 211f93b973c1..1185f13e98f4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/onEach.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/onEach.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'onEachIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.onEach { s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/onEach.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/onEach.kt.after index 3b02b86435b3..b7e94d06b02c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/onEach.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/onEach.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'onEachIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.onEachIndexed { index, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduce.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduce.kt index efdc8aac7693..5f37ab8a1718 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduce.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduce.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'reduceIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.reduce { acc, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduce.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduce.kt.after index 6300460c5e21..194b89d5c67f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduce.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduce.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'reduceIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.reduceIndexed { index, acc, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceOrNull.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceOrNull.kt index 4ce6af71cb41..0bdd37de8b9f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceOrNull.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'reduceIndexedOrNull'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: This class can only be used with the compiler argument '-Xopt-in=kotlin.RequiresOptIn' // TODO: fix warning? // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceOrNull.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceOrNull.kt.after index a7a316afc164..6a523b8c6bf5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceOrNull.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'reduceIndexedOrNull'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: This class can only be used with the compiler argument '-Xopt-in=kotlin.RequiresOptIn' // TODO: fix warning? // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceRight.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceRight.kt index 83a9be6cc366..491fa146e8e5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceRight.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceRight.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'reduceRightIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.reduceRight { s, acc -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceRight.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceRight.kt.after index 152b90b1d009..f6f84fa47511 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceRight.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceRight.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'reduceRightIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.reduceRightIndexed { index, s, acc -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceRightOrNull.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceRightOrNull.kt index aec64c0e8a6e..a0a23d1b40fc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceRightOrNull.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceRightOrNull.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'reduceRightIndexedOrNull'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: This class can only be used with the compiler argument '-Xopt-in=kotlin.RequiresOptIn' // TODO: fix warning? // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceRightOrNull.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceRightOrNull.kt.after index f943e7633ba4..d5c8f02fc104 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceRightOrNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/reduceRightOrNull.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'reduceRightIndexedOrNull'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: This class can only be used with the compiler argument '-Xopt-in=kotlin.RequiresOptIn' // TODO: fix warning? // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/runningFold.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/runningFold.kt index baa31716291c..f8b47c5d455e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/runningFold.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/runningFold.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'runningFoldIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.runningFold("") { acc, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/runningFold.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/runningFold.kt.after index e1c043b5865c..97e9023ea0fa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/runningFold.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/runningFold.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'runningFoldIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.runningFoldIndexed("") { index, acc, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/runningReduce.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/runningReduce.kt index 921cf3beef14..4d445e6fff3e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/runningReduce.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/runningReduce.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'runningReduceIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: This class can only be used with the compiler argument '-Xopt-in=kotlin.RequiresOptIn' // TODO: fix warning? // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/runningReduce.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/runningReduce.kt.after index 19be53978099..7ed7ac16ca95 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/runningReduce.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/runningReduce.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'runningReduceIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: This class can only be used with the compiler argument '-Xopt-in=kotlin.RequiresOptIn' // TODO: fix warning? // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/scan.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/scan.kt index 7e5b69c09fdd..78e78e9aba81 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/scan.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/scan.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'scanIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: This class can only be used with the compiler argument '-Xopt-in=kotlin.RequiresOptIn' // TODO: fix warning? // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/scan.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/scan.kt.after index c8d22e411f27..de07ebdbc298 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/scan.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/scan.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'scanIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: This class can only be used with the compiler argument '-Xopt-in=kotlin.RequiresOptIn' // TODO: fix warning? // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/scanReduce.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/scanReduce.kt index 1708d7fc576c..51b8e0278e69 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/scanReduce.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/scanReduce.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'runningReduceIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS // AFTER-WARNING: This class can only be used with the compiler argument '-Xopt-in=kotlin.RequiresOptIn' // TODO: fix warning? diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/scanReduce.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/scanReduce.kt.after index f74ba540051c..08ff06990147 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/scanReduce.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/basic/scanReduce.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'runningReduceIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS // AFTER-WARNING: This class can only be used with the compiler argument '-Xopt-in=kotlin.RequiresOptIn' // TODO: fix warning? diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/extension.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/extension.kt index c384c48c7579..451556749574 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/extension.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/extension.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'forEachIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun List.test() { forEach { s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/extension.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/extension.kt.after index 63b11cbfc6d9..5f91c46a8462 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/extension.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/extension.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'forEachIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun List.test() { forEachIndexed { index, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexParameter.kt index 4ea5f9e4b4d0..2a94bc4e9a1f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexParameter.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'forEachIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index1' is never used, could be renamed to _ fun test(list: List) { list.forEach { index -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexParameter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexParameter.kt.after index 656e967af604..b02f47899353 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexParameter.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'forEachIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index1' is never used, could be renamed to _ fun test(list: List) { list.forEachIndexed { index1, index -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexVariable.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexVariable.kt index e9444e623bbb..357e5b29b1ae 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexVariable.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexVariable.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'forEachIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used // AFTER-WARNING: Parameter 'index1' is never used, could be renamed to _ fun test(list: List, index: Int) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexVariable.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexVariable.kt.after index b4ef4d7a7785..3536c305296d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexVariable.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexVariable.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'forEachIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used // AFTER-WARNING: Parameter 'index1' is never used, could be renamed to _ fun test(list: List, index: Int) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexVariableInLambda.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexVariableInLambda.kt index 06ce33984b87..6b06cba7860c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexVariableInLambda.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexVariableInLambda.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'forEachIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index1' is never used, could be renamed to _ // AFTER-WARNING: Variable 'index' is never used fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexVariableInLambda.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexVariableInLambda.kt.after index 774d52acdedc..cce9aaffea9c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexVariableInLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/hasIndexVariableInLambda.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'forEachIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index1' is never used, could be renamed to _ // AFTER-WARNING: Variable 'index' is never used fun test(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/labeledReturn.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/labeledReturn.kt index 34ba3fba8224..5f7412819519 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/labeledReturn.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/labeledReturn.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'forEachIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.forEach { s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/labeledReturn.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/labeledReturn.kt.after index 57ead165e980..0d951e64e716 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/labeledReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/labeledReturn.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'forEachIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.forEachIndexed { index, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/labeledReturn2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/labeledReturn2.kt index cb4fafa9a42c..5c83856960e1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/labeledReturn2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/labeledReturn2.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'mapIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.map { s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/labeledReturn2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/labeledReturn2.kt.after index 69b25cfdfa37..3ffa40d84947 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/labeledReturn2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/labeledReturn2.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'mapIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.mapIndexed { index, s -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/lambdaInParentheses.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/lambdaInParentheses.kt index 0aef6bbb56e1..836de9a53907 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/lambdaInParentheses.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/lambdaInParentheses.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'forEachIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.forEach({ s -> println(s) }) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/lambdaInParentheses.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/lambdaInParentheses.kt.after index c13b0f6e0d83..9470c749f51a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/lambdaInParentheses.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/lambdaInParentheses.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'forEachIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.forEachIndexed({ index, s -> println(s) }) diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/noLambdaParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/noLambdaParameter.kt index a175f894e3a6..257bf37f288a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/noLambdaParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/noLambdaParameter.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'forEachIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.forEach { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/noLambdaParameter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/noLambdaParameter.kt.after index 51bcb3c33524..3de07e1dccd9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/noLambdaParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToIndexedFunctionCall/noLambdaParameter.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Convert to 'forEachIndexed'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'index' is never used, could be renamed to _ fun test(list: List) { list.forEachIndexed { index, it -> diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression.kt index fe3cf25be470..d719a75ae5dd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression.kt.after index 4e14541110af..cb8b1dcc4818 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression2.kt index 64b172b2127e..3d9684aef035 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression2.kt.after index 4e14541110af..cb8b1dcc4818 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression3.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression3.kt index fa90849a9357..1c92d9f7cec0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression3.kt.after index 4e14541110af..cb8b1dcc4818 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression4.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression4.kt index f297bfdf04e1..913c06e0ee1e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class Foo { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression5.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression5.kt index df52094e0cda..3cc1d754bc75 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression5.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression5.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression5.kt.after index 460f19a1e38f..4d17449deee5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression5.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/callExpression5.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/itParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/itParameter.kt index d4433cc83158..0621854ab303 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/itParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/itParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/itParameter2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/itParameter2.kt index 6665512bd0e4..bf3f058761c1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/itParameter2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/itParameter2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChain.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChain.kt index 904e945bd7be..5cd6c092b4fd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChain.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChain.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChain.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChain.kt.after index 0d555680d0ad..f89f6f9d6fc6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChain.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChain.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChainWithItParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChainWithItParameter.kt index 794112733ec9..a1ff6ac17a4f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChainWithItParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChainWithItParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChainWithThisParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChainWithThisParameter.kt index c596cc6dd68d..76fe029ded67 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChainWithThisParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChainWithThisParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChainWithThisParameter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChainWithThisParameter.kt.after index 0c70a3adecbb..be73c532ed38 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChainWithThisParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/methodChainWithThisParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal.kt index c3ccf8ef3a92..86daf662e0fc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal.kt.after index 49ce69148931..8aa3854e0816 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal2.kt index 6273311db9c6..862453190682 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Name shadowed: a // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal2.kt.after index aee86b9f445e..cbe5fba92de5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Name shadowed: a // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal3.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal3.kt index 14914ce3e104..ce174c5cab7f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Name shadowed: a // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal3.kt.after index aee86b9f445e..cbe5fba92de5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Name shadowed: a // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal4.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal4.kt index 9804e849ee9b..a7dcf89854db 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'c' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal4.kt.after index 7429cc9f0ba5..e948047fe56a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/normal4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'c' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/onProperty.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/onProperty.kt index c5522a8055c8..6a24c5e0a08e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/onProperty.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/onProperty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/onProperty.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/onProperty.kt.after index 49ce69148931..8aa3854e0816 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/onProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/onProperty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/singleCall.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/singleCall.kt index c44d63b55c8f..9bace17ef8b4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/singleCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/singleCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used class C { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/singleCall.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/singleCall.kt.after index 6eb7d9c940f0..3dc584b35745 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/singleCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/singleCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used class C { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/untilItParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/untilItParameter.kt index 93ae777e78df..3c2d545d05e5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/untilItParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/untilItParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/untilItParameter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/untilItParameter.kt.after index 29ee7407db31..0f2287618c41 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/untilItParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/untilItParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/var.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/var.kt index a3a0b0095621..7cfb8708701f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/var.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/var.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/var.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/var.kt.after index 480253676d3e..ca5031ea0e83 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/var.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/var.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withCommentAndSpaces.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withCommentAndSpaces.kt index 0a2a14da8d9d..4cfb9c5f3372 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withCommentAndSpaces.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withCommentAndSpaces.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Name shadowed: a // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withCommentAndSpaces.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withCommentAndSpaces.kt.after index c63ca7d2b24e..0b2e81cc77ec 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withCommentAndSpaces.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withCommentAndSpaces.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Name shadowed: a // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withDifficultRenaming.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withDifficultRenaming.kt index 46fb8ec4b1f2..3bfdb3ad8f92 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withDifficultRenaming.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withDifficultRenaming.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withDifficultRenaming.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withDifficultRenaming.kt.after index 2719eb100a65..30d89ab68a4d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withDifficultRenaming.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withDifficultRenaming.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withNotSimpleInitializer.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withNotSimpleInitializer.kt index 15cb9741c78e..3d9b47c108fe 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withNotSimpleInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withNotSimpleInitializer.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withNotSimpleInitializer.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withNotSimpleInitializer.kt.after index 87ef3e92cc48..e0e725b4bce7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withNotSimpleInitializer.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withNotSimpleInitializer.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withNotSimpleInitializer2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withNotSimpleInitializer2.kt index e6552c82017f..74b6e9840714 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withNotSimpleInitializer2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withNotSimpleInitializer2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withNotSimpleInitializer2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withNotSimpleInitializer2.kt.after index 87ef3e92cc48..e0e725b4bce7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withNotSimpleInitializer2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToAlso/withNotSimpleInitializer2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/binaryExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/binaryExpression.kt index 1fe0b6ad2d04..a71069ae7d1f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/binaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/binaryExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used class A { fun foo() {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/binaryExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/binaryExpression.kt.after index e9aa9c81b658..a8f3c8de525b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/binaryExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/binaryExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used class A { fun foo() {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/binaryExpression2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/binaryExpression2.kt index 6c4519885e29..f305b8c03317 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/binaryExpression2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/binaryExpression2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Variable 'a' is never used class A { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/binaryExpression2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/binaryExpression2.kt.after index 236f6bbe39cd..d803b87cbb49 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/binaryExpression2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/binaryExpression2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Variable 'a' is never used class A { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression.kt index fe3cf25be470..d719a75ae5dd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression.kt.after index a8d94edf281f..390bdbeb621a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression2.kt index 64b172b2127e..3d9684aef035 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression2.kt.after index a8d94edf281f..390bdbeb621a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression3.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression3.kt index fa90849a9357..1c92d9f7cec0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression3.kt.after index a8d94edf281f..390bdbeb621a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression4.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression4.kt index f297bfdf04e1..913c06e0ee1e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class Foo { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression5.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression5.kt index 7cdeb1a39a2f..e69021a22eda 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression5.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Name shadowed: f // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'f' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression5.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression5.kt.after index b9d64be1749d..093610a55db3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression5.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/callExpression5.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Name shadowed: f // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'f' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChain.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChain.kt index 904e945bd7be..5cd6c092b4fd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChain.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChain.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChain.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChain.kt.after index fde91819f3b4..96443a61a890 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChain.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChain.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChainWithItParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChainWithItParameter.kt index cecb32ba00dc..a6576977db01 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChainWithItParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChainWithItParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChainWithItParameter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChainWithItParameter.kt.after index 5785c5ac77cc..b3efb4ea3fdc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChainWithItParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChainWithItParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChainWithThisParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChainWithThisParameter.kt index 60f1b3f8a15f..678c7ce8f315 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChainWithThisParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/methodChainWithThisParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal.kt index c3ccf8ef3a92..86daf662e0fc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal.kt.after index cdbfe2473d09..7f0849595e4a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal2.kt index 6273311db9c6..862453190682 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Name shadowed: a // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal2.kt.after index e1b92c665085..55e5fddd4eec 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Name shadowed: a // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal3.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal3.kt index 14914ce3e104..ce174c5cab7f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Name shadowed: a // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal3.kt.after index e1b92c665085..55e5fddd4eec 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Name shadowed: a // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal4.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal4.kt index 9804e849ee9b..a7dcf89854db 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'c' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal4.kt.after index 1457555e5651..eb93a151159e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/normal4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'c' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/onProperty.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/onProperty.kt index c5522a8055c8..6a24c5e0a08e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/onProperty.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/onProperty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/onProperty.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/onProperty.kt.after index cdbfe2473d09..7f0849595e4a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/onProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/onProperty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/singleCall.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/singleCall.kt index c44d63b55c8f..9bace17ef8b4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/singleCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/singleCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used class C { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/singleCall.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/singleCall.kt.after index 49888fb42811..6476b7b399f8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/singleCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/singleCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used class C { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/thisParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/thisParameter.kt index aae9f6fd0f9e..60e4c46de4ea 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/thisParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/thisParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/thisParameter2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/thisParameter2.kt index 5b00a9909953..eb5be1a896ce 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/thisParameter2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/thisParameter2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/untilThisParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/untilThisParameter.kt index f6537a764715..83378eee3b9e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/untilThisParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/untilThisParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Name shadowed: a // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Parameter 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/untilThisParameter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/untilThisParameter.kt.after index 34b63d2ea132..2fbbede36ed0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/untilThisParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/untilThisParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Name shadowed: a // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Parameter 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/var.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/var.kt index a3a0b0095621..7cfb8708701f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/var.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/var.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/var.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/var.kt.after index eab0d8d67468..57c624d4b64d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/var.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/var.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withCommentAndSpaces.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withCommentAndSpaces.kt index 0a2a14da8d9d..4cfb9c5f3372 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withCommentAndSpaces.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withCommentAndSpaces.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Name shadowed: a // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withCommentAndSpaces.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withCommentAndSpaces.kt.after index d1a7c7f9bf99..839a378fd4ad 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withCommentAndSpaces.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withCommentAndSpaces.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Name shadowed: a // AFTER-WARNING: Parameter 'a' is never used // AFTER-WARNING: Variable 'a' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withDifficultRenaming.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withDifficultRenaming.kt index 46fb8ec4b1f2..3bfdb3ad8f92 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withDifficultRenaming.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withDifficultRenaming.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withDifficultRenaming.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withDifficultRenaming.kt.after index 6ac853c02e95..96f4cc273a39 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withDifficultRenaming.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withDifficultRenaming.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withNotSimpleInitializer.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withNotSimpleInitializer.kt index 15cb9741c78e..3d9b47c108fe 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withNotSimpleInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withNotSimpleInitializer.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withNotSimpleInitializer.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withNotSimpleInitializer.kt.after index 76bbb8173260..883ea2371bf8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withNotSimpleInitializer.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withNotSimpleInitializer.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withNotSimpleInitializer2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withNotSimpleInitializer2.kt index e6552c82017f..74b6e9840714 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withNotSimpleInitializer2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withNotSimpleInitializer2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withNotSimpleInitializer2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withNotSimpleInitializer2.kt.after index 76bbb8173260..883ea2371bf8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withNotSimpleInitializer2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToApply/withNotSimpleInitializer2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'c' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression.kt index 0270efce2115..f528c69725a1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'x' is never used class A { infix fun foo(x: Any) = A() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression.kt.after index 153045448db1..7355d03967fa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'x' is never used class A { infix fun foo(x: Any) = A() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression2.kt index 6582201265d4..3005c798355b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'x' is never used class A { infix fun foo(x: Any) = A() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression2.kt.after index 153045448db1..7355d03967fa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'x' is never used class A { infix fun foo(x: Any) = A() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression3.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression3.kt index 1c4ec4a28233..2c8131a191e3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'x' is never used class A { infix fun foo(x: Any) = A() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression3.kt.after index 153045448db1..7355d03967fa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/binaryExpression3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'x' is never used class A { infix fun foo(x: Any) = A() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/callExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/callExpression.kt index 3cf97b07cda7..77d731c6cc0a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/callExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/callExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/callExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/callExpression.kt.after index 7dde85c93fee..301a6fd87dcf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/callExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/callExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/callExpression2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/callExpression2.kt index b2b435ecb5b4..a627e3f5bc54 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/callExpression2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/callExpression2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class Foo { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/itReceiver.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/itReceiver.kt index 08dadf684ab7..3c520217ebd9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/itReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/itReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/itReceiver.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/itReceiver.kt.after index 8470ca2307b4..c6cedf0c3151 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/itReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/itReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/javaMethod.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/javaMethod.kt index d82968b2ea6f..0f0d3a85aa9e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/javaMethod.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/javaMethod.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(c: JavaClass) { c.bar1() c.bar2() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/javaMethod.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/javaMethod.kt.after index 6b99c0b2419e..feb1c3719519 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/javaMethod.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/javaMethod.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(c: JavaClass) { c.run { bar1() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChain.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChain.kt index c23ecfbbaa75..34116bf1b85f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChain.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChain.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1(): MyClass = this diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChain.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChain.kt.after index 71aee818f129..4599392958d5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChain.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChain.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1(): MyClass = this diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChainWithItParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChainWithItParameter.kt index aeeda9e16eb5..b0a6bd5a051a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChainWithItParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChainWithItParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChainWithItParameter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChainWithItParameter.kt.after index de31c070dd54..a9a7b3ba3f66 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChainWithItParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChainWithItParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChainWithThisParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChainWithThisParameter.kt index 1651efdc613e..55a17fef0b6e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChainWithThisParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChainWithThisParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChainWithThisParameter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChainWithThisParameter.kt.after index 35e290b868e0..e7d762e10e0d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChainWithThisParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/methodChainWithThisParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal.kt index 9eb577c1a93f..c3cf83f0752b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal.kt.after index c5ad68fde03b..5823bf2d9c05 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal2.kt index 9ea78216bd05..ce4c733dd9b2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal2.kt.after index c5ad68fde03b..5823bf2d9c05 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal3.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal3.kt index ac2db067b00e..8dfe73873f17 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal3.kt.after index c5ad68fde03b..5823bf2d9c05 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal4.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal4.kt index d01cb94376ee..2cf07568f888 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'c' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal4.kt.after index f470ccbf737b..c3248bb4c1f6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'c' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal5.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal5.kt index 3861e44ece4c..1a867a5994b9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal5.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal5.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal5.kt.after index 18378ed0ee40..f72132850451 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal5.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/normal5.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/package.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/package.kt index 09daccd16b23..b30b93d7a838 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/package.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/package.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String?) { kotlin.checkNotNull(s) } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/singleCall.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/singleCall.kt index 9504dedaf6f5..fdfc17a29c62 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/singleCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/singleCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C { fun foo() {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/singleCall.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/singleCall.kt.after index d11dfa579c18..4321ceac76f3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/singleCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/singleCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C { fun foo() {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/thisParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/thisParameter.kt index 95d112cc5ded..b17075584191 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/thisParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/thisParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/thisReceiver.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/thisReceiver.kt index 14770858e8f0..7413de7882ca 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/thisReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/thisReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/untilThisParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/untilThisParameter.kt index 8206bc47f57e..9a68524da55d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/untilThisParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/untilThisParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/untilThisParameter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/untilThisParameter.kt.after index 268a88b71741..9e3e326683de 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/untilThisParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/untilThisParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withCommentAndSpaces.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withCommentAndSpaces.kt index 208fed9039da..0e90351d73d1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withCommentAndSpaces.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withCommentAndSpaces.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withCommentAndSpaces.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withCommentAndSpaces.kt.after index e04d0d1f2d29..d759d4d4385e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withCommentAndSpaces.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withCommentAndSpaces.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withDifficultRenaming.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withDifficultRenaming.kt index b78087a29065..9275527408b1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withDifficultRenaming.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withDifficultRenaming.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withDifficultRenaming.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withDifficultRenaming.kt.after index a3cf88ba8c2e..d3a13656223f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withDifficultRenaming.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withDifficultRenaming.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withNotSimpleInitializer.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withNotSimpleInitializer.kt index 5ce17fe4803e..acdfe9d51154 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withNotSimpleInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withNotSimpleInitializer.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withNotSimpleInitializer2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withNotSimpleInitializer2.kt index 19957f499fb7..b8350708f500 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withNotSimpleInitializer2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToRun/withNotSimpleInitializer2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/callExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/callExpression.kt index 3cf97b07cda7..77d731c6cc0a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/callExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/callExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/callExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/callExpression.kt.after index 2e5e892339c9..9190703ea16a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/callExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/callExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Parameter 'i' is never used // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/callExpression2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/callExpression2.kt index b2b435ecb5b4..a627e3f5bc54 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/callExpression2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/callExpression2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class Foo { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/itReceiver.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/itReceiver.kt index 08dadf684ab7..3c520217ebd9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/itReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/itReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/itReceiver.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/itReceiver.kt.after index 076a6f155a4d..de6ef43b67bf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/itReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/itReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/javaMethod.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/javaMethod.kt index d82968b2ea6f..0f0d3a85aa9e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/javaMethod.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/javaMethod.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(c: JavaClass) { c.bar1() c.bar2() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/javaMethod.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/javaMethod.kt.after index 7c7cb663d4a7..0b3efec66a09 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/javaMethod.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/javaMethod.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(c: JavaClass) { with(c) { bar1() diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChain.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChain.kt index c23ecfbbaa75..34116bf1b85f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChain.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChain.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1(): MyClass = this diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChain.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChain.kt.after index ddd5d23c4b57..ad93ef3d581d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChain.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChain.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1(): MyClass = this diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChainWithItParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChainWithItParameter.kt index aeeda9e16eb5..b0a6bd5a051a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChainWithItParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChainWithItParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChainWithItParameter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChainWithItParameter.kt.after index a217f7fa418a..85fefa3f4a28 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChainWithItParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChainWithItParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChainWithThisParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChainWithThisParameter.kt index 1651efdc613e..55a17fef0b6e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChainWithThisParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChainWithThisParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChainWithThisParameter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChainWithThisParameter.kt.after index b6b91151b273..1ed9156bfeac 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChainWithThisParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/methodChainWithThisParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal.kt index 9eb577c1a93f..c3cf83f0752b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal.kt.after index 8a84060ff466..63f0a29a7cbd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal2.kt index 9ea78216bd05..ce4c733dd9b2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal2.kt.after index 8a84060ff466..63f0a29a7cbd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal3.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal3.kt index ac2db067b00e..8dfe73873f17 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal3.kt.after index 8a84060ff466..63f0a29a7cbd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal4.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal4.kt index d01cb94376ee..2cf07568f888 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'c' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal4.kt.after index abf85f4f711b..da38837603e2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'c' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal5.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal5.kt index 3861e44ece4c..1a867a5994b9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal5.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal5.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal5.kt.after index 001569a5929e..31b33472d234 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal5.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/normal5.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/package.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/package.kt index 09daccd16b23..b30b93d7a838 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/package.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/package.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String?) { kotlin.checkNotNull(s) } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/parameterExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/parameterExpression.kt index 846eac516c85..a14381b72224 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/parameterExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/parameterExpression.kt @@ -1,5 +1,5 @@ // AFTER-WARNING: Variable 'result' is never used -// WITH_RUNTIME +// WITH_STDLIB class X { fun one() {} fun two() = "" diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/parameterExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/parameterExpression.kt.after index d6dc4984659b..cf1dd5cb5133 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/parameterExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/parameterExpression.kt.after @@ -1,5 +1,5 @@ // AFTER-WARNING: Variable 'result' is never used -// WITH_RUNTIME +// WITH_STDLIB class X { fun one() {} fun two() = "" diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/singleCall.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/singleCall.kt index 9504dedaf6f5..fdfc17a29c62 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/singleCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/singleCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C { fun foo() {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/singleCall.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/singleCall.kt.after index 18aa6b4c4767..69b68de992c7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/singleCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/singleCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C { fun foo() {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/thisParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/thisParameter.kt index 95d112cc5ded..b17075584191 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/thisParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/thisParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/thisReceiver.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/thisReceiver.kt index 14770858e8f0..7413de7882ca 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/thisReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/thisReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/untilThisParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/untilThisParameter.kt index 8206bc47f57e..9a68524da55d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/untilThisParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/untilThisParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/untilThisParameter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/untilThisParameter.kt.after index 9007f0ce01ba..60ba9a7afb33 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/untilThisParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/untilThisParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'a' is never used class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withCommentAndSpaces.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withCommentAndSpaces.kt index 208fed9039da..0e90351d73d1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withCommentAndSpaces.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withCommentAndSpaces.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withCommentAndSpaces.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withCommentAndSpaces.kt.after index 90da9bd3b8f3..f6887440cfb7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withCommentAndSpaces.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withCommentAndSpaces.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo1() = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withDifficultRenaming.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withDifficultRenaming.kt index b78087a29065..9275527408b1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withDifficultRenaming.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withDifficultRenaming.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withDifficultRenaming.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withDifficultRenaming.kt.after index 96f34f20b9aa..fdf6e75b46c3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withDifficultRenaming.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withDifficultRenaming.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class MyClass { fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withNotSimpleInitializer.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withNotSimpleInitializer.kt index 5ce17fe4803e..acdfe9d51154 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withNotSimpleInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withNotSimpleInitializer.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withNotSimpleInitializer2.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withNotSimpleInitializer2.kt index 19957f499fb7..b8350708f500 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withNotSimpleInitializer2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToScope/convertToWith/withNotSimpleInitializer2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class MyClass { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/consecutiveNewlines.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/consecutiveNewlines.kt index 89edcd85c065..7752c92a0a2e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/consecutiveNewlines.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/consecutiveNewlines.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun main(args: Array){ val y = "abcd" + listOf( 1, diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/doesNotCorruptExistingTemplateWithBraces.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/doesNotCorruptExistingTemplateWithBraces.kt index b461b6cafff3..715d0dc069cb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/doesNotCorruptExistingTemplateWithBraces.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/doesNotCorruptExistingTemplateWithBraces.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'z' is never used fun main(args: Array){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/doesNotCorruptExistingTemplateWithBraces.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/doesNotCorruptExistingTemplateWithBraces.kt.after index e0830a2f7378..bccc9b966142 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/doesNotCorruptExistingTemplateWithBraces.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/doesNotCorruptExistingTemplateWithBraces.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'z' is never used fun main(args: Array){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMapAccess.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMapAccess.kt index f9db6451d9c4..f67e5ce934a5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMapAccess.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMapAccess.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'y' is never used fun main(args: Array){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMapAccess.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMapAccess.kt.after index 72cb84812913..b4af392aa4d6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMapAccess.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMapAccess.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'y' is never used fun main(args: Array){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMethodInvoke.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMethodInvoke.kt index f0429e7574a2..ad59aa84efb7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMethodInvoke.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMethodInvoke.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'y' is never used fun main(args: Array){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMethodInvoke.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMethodInvoke.kt.after index 57b681cb9481..9733d790fdd1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMethodInvoke.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMethodInvoke.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'y' is never used fun main(args: Array){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMultiline.kt b/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMultiline.kt index a72fb0154e1d..33cd5be66538 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMultiline.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertToStringTemplate/interpolateMultiline.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun main(args: Array){ val y = "abcd" + listOf( 1, diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/catch.kt b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/catch.kt index f9dabd8e879f..6d9c7108f002 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/catch.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/catch.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB import java.io.File import java.io.IOException diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/example.kt b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/example.kt index 669594c70179..560334d59129 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/example.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/example.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // TODO: seems a bug // AFTER-WARNING: Name shadowed: reader // AFTER-WARNING: Parameter 'args' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/example.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/example.kt.after index 702a109d6111..4cb33bf0e980 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/example.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/example.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // TODO: seems a bug // AFTER-WARNING: Name shadowed: reader // AFTER-WARNING: Parameter 'args' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/implicitReceiver.kt b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/implicitReceiver.kt index a4c43758ff46..980911a90317 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/implicitReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/implicitReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.io.File import java.io.BufferedReader diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/implicitReceiver.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/implicitReceiver.kt.after index cc562bbd48d3..103ebfb00dd0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/implicitReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/implicitReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.io.File import java.io.BufferedReader diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/notClose.kt b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/notClose.kt index d0276048d3a1..e8c5e1c8b5e4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/notClose.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/notClose.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB import java.io.File fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/notOnlyClose.kt b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/notOnlyClose.kt index 9e42c03a3386..6d539a074054 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/notOnlyClose.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/notOnlyClose.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB import java.io.File fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/parameter.kt b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/parameter.kt index 030d59b47bca..308d566f75fd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/parameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/parameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // TODO: seems a bug // AFTER-WARNING: Name shadowed: reader import java.io.File diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/parameter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/parameter.kt.after index d17bef743275..bfe5d8d1420f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/parameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/parameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // TODO: seems a bug // AFTER-WARNING: Name shadowed: reader import java.io.File diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/safeCall.kt b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/safeCall.kt index 315b5ed18d8c..dda0d46351b4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/safeCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/safeCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // TODO: seems a bug // AFTER-WARNING: Name shadowed: reader import java.io.File diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/safeCall.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/safeCall.kt.after index b4a54f982316..393a1a7a06c0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/safeCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/safeCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // TODO: seems a bug // AFTER-WARNING: Name shadowed: reader import java.io.File diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/simple.kt index 6ce608908d02..bfc623de925f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // TODO: seems a bug // AFTER-WARNING: Name shadowed: reader // AFTER-WARNING: Parameter 'args' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/simple.kt.after index 3339d73cab94..d95dc047c88f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // TODO: seems a bug // AFTER-WARNING: Name shadowed: reader // AFTER-WARNING: Parameter 'args' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/this.kt b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/this.kt index 253a21d6e05c..06c4793d6e49 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/this.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/this.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.io.File import java.io.BufferedReader diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/this.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/this.kt.after index c0858205716b..8d63d9536f06 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/this.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/this.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.io.File import java.io.BufferedReader diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/thisLabeled.kt b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/thisLabeled.kt index 575a1e01a41f..5b653fd030f7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/thisLabeled.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/thisLabeled.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.io.Closeable diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/thisLabeled.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/thisLabeled.kt.after index 9c9beb061274..fb9adf29680d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/thisLabeled.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/thisLabeled.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.io.Closeable diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/triple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/triple.kt index 6c465d3e8c0f..95b537a9e447 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/triple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/triple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // TODO: seems a bug // AFTER-WARNING: Name shadowed: writer // AFTER-WARNING: Parameter 'args' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/triple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/triple.kt.after index cb29daf5a394..a870f4cfb0f2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/triple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/triple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // TODO: seems a bug // AFTER-WARNING: Name shadowed: writer // AFTER-WARNING: Parameter 'args' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/wrongCaret.kt b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/wrongCaret.kt index e4e05a3f6dab..2f92389c27e0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/wrongCaret.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertTryFinallyToUseCall/wrongCaret.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB import java.io.File fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/complexLhs.kt b/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/complexLhs.kt index 45c754312912..d2041596f1c9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/complexLhs.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/complexLhs.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB object X { var string = "foo" } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/complexLhs.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/complexLhs.kt.after index 722973e6757d..b1e86787bd5e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/complexLhs.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/complexLhs.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB object X { var string = "foo" } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/complexRhs.kt b/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/complexRhs.kt index b994c7b589f9..bc38a4f9f3d3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/complexRhs.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/complexRhs.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB object X { var string = "foo" } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/complexRhs.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/complexRhs.kt.after index 28fe699fe13c..6fba38fdf5f4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/complexRhs.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/complexRhs.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB object X { var string = "foo" } diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/simple.kt index db406346a4d7..d5558787ad3c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB var x = 5 fun foo() { x = 10 diff --git a/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/simple.kt.after index 55db9e815f7f..4dbdaebcb649 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/convertVariableAssignmentToExpression/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB var x = 5 fun foo() { 10.also { x = it } diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/abstract.kt b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/abstract.kt index f94af7f3d311..eb761fc3e657 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/abstract.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/abstract.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class Owner { abstract fun f() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/abstract.kt.after b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/abstract.kt.after index 1091c9cf84e5..c7cb2bf341c5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/abstract.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/abstract.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class Owner { } diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/abstractProperty.kt b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/abstractProperty.kt index f79735d68fcf..413f1ee80e9c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/abstractProperty.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/abstractProperty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class Owner { abstract val p: Int } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/abstractProperty.kt.after b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/abstractProperty.kt.after index 3e76fe7cb5c9..b6d5d838ec0c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/abstractProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/abstractProperty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class Owner { } diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/delegatedProperty.kt b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/delegatedProperty.kt index 3032ec9b1b36..c97a215990b2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/delegatedProperty.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/delegatedProperty.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB open class XdProject { val haha: String by lazy { "gogog" } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/final.kt b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/final.kt index 48af110fe3af..7c6c051912d1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/final.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/final.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Owner { final fun f() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/final.kt.after b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/final.kt.after index ec856036e91c..a9af418390ba 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/final.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/final.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Owner { } diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/genericClassWithOutVariance.kt b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/genericClassWithOutVariance.kt index 5ccd1ddf984e..6f91bc8d475f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/genericClassWithOutVariance.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/genericClassWithOutVariance.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo { val list = listOf() fun bar() = list.first() to list.last() diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/genericClassWithOutVariance.kt.after b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/genericClassWithOutVariance.kt.after index 2cef3e7ff17d..1b2da506bfc0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/genericClassWithOutVariance.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/genericClassWithOutVariance.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo { val list = listOf() } diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/genericClassWithVarianceAndReified.kt b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/genericClassWithVarianceAndReified.kt index 031c77e9b484..e68cdc3e26c7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/genericClassWithVarianceAndReified.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/genericClassWithVarianceAndReified.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo { val list = listOf() inline fun bar(x: T): Triple, T, String> { diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/genericClassWithVarianceAndReified.kt.after b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/genericClassWithVarianceAndReified.kt.after index 6cdd9d6fe9a3..9c33e86f9449 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/genericClassWithVarianceAndReified.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/genericClassWithVarianceAndReified.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo { val list = listOf() } diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/open.kt b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/open.kt index c088ca1b4322..e916a4edfc39 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/open.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/open.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB open class Owner { open fun f() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/open.kt.after b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/open.kt.after index fe969186949b..900bd9550431 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/open.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/open.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB open class Owner { } diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/valWithDefaultGetter.kt b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/valWithDefaultGetter.kt index aa7fa5c108a4..cf3a45105de4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/valWithDefaultGetter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/valWithDefaultGetter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SKIP_ERRORS_BEFORE class Owner { val p: Int diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/valWithDefaultGetter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/valWithDefaultGetter.kt.after index 0c27b579ba90..e2580ef8622d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/valWithDefaultGetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/valWithDefaultGetter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SKIP_ERRORS_BEFORE class Owner { } diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithDefaultGetterAndSetter.kt b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithDefaultGetterAndSetter.kt index 7b26f63f61cf..0e13f8008483 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithDefaultGetterAndSetter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithDefaultGetterAndSetter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SKIP_ERRORS_BEFORE // AFTER-WARNING: Parameter 'value' is never used class Owner { diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithDefaultGetterAndSetter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithDefaultGetterAndSetter.kt.after index e6f9f65be867..7bde64df77b3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithDefaultGetterAndSetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithDefaultGetterAndSetter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SKIP_ERRORS_BEFORE // AFTER-WARNING: Parameter 'value' is never used class Owner { diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithDefaultSetter.kt b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithDefaultSetter.kt index 9119d433ef60..8795cfc1de9e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithDefaultSetter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithDefaultSetter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SKIP_ERRORS_BEFORE // AFTER-WARNING: Parameter 'value' is never used class Owner { diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithDefaultSetter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithDefaultSetter.kt.after index f5f67e7495df..2f4e8af93094 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithDefaultSetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithDefaultSetter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SKIP_ERRORS_BEFORE // AFTER-WARNING: Parameter 'value' is never used class Owner { diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithGetter.kt b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithGetter.kt index db04546ffb08..44b0c1613765 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithGetter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithGetter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SKIP_ERRORS_BEFORE // AFTER-WARNING: Parameter 'value' is never used class Owner { diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithGetter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithGetter.kt.after index a2fbd75b5b8c..0ba07354e243 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithGetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithGetter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SKIP_ERRORS_BEFORE // AFTER-WARNING: Parameter 'value' is never used class Owner { diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithSetter.kt b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithSetter.kt index 376d5f0c40bb..a5394eab4dd5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithSetter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithSetter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SKIP_ERRORS_BEFORE // AFTER-WARNING: Parameter 'v' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithSetter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithSetter.kt.after index 9ef90ea8cedb..a6a3f4020a18 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithSetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/varWithSetter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SKIP_ERRORS_BEFORE // AFTER-WARNING: Parameter 'v' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/dependentLocal.kt b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/dependentLocal.kt index c22b44d2128f..ca20f2ea8ff9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/dependentLocal.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/dependentLocal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: Int, val y: Int) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/dependentLocal.kt.after b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/dependentLocal.kt.after index ab8120cdd76e..25a45bea45b6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/dependentLocal.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/dependentLocal.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: Int, val y: Int) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/firstProperties.kt b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/firstProperties.kt index 83f99079381f..c0739b4fb35f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/firstProperties.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/firstProperties.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Destructured parameter 'a' is never used // AFTER-WARNING: Destructured parameter 'b' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/firstProperties.kt.after b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/firstProperties.kt.after index 64d83ffcb60a..727bc7724f7c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/firstProperties.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/firstProperties.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Destructured parameter 'a' is never used // AFTER-WARNING: Destructured parameter 'b' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/fold.kt b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/fold.kt index 82bcf5fbb16c..238203c4de32 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/fold.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/fold.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/fold.kt.after b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/fold.kt.after index a09718cc4c79..e0764ba7fb06 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/fold.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/fold.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasSameNameParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasSameNameParameter.kt index bbed1159363b..388cf14ffc4f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasSameNameParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasSameNameParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class Event(val timestamp: Int, val otherVar: Int = 1, val otherVar2: String = "") val listA = listOf(Event(1), Event(2), Event(3)) diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasSameNameParameter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasSameNameParameter.kt.after index d4741507521e..a74cf6887c93 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasSameNameParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasSameNameParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class Event(val timestamp: Int, val otherVar: Int = 1, val otherVar2: String = "") val listA = listOf(Event(1), Event(2), Event(3)) diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasShadowedVariable.kt b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasShadowedVariable.kt index bfc85e3cb5cf..69d226683f2a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasShadowedVariable.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasShadowedVariable.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Variable 'x' is never used // AFTER-WARNING: Variable 'z' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasShadowedVariable.kt.after b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasShadowedVariable.kt.after index cec6284591a3..3f3e9a559db2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasShadowedVariable.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasShadowedVariable.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Variable 'x' is never used // AFTER-WARNING: Variable 'z' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasShadowedVariable2.kt b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasShadowedVariable2.kt index 5e2ab50db10f..ae6574a4e94f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasShadowedVariable2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasShadowedVariable2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Variable 'x' is never used // AFTER-WARNING: Variable 'z' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasShadowedVariable2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasShadowedVariable2.kt.after index cec6284591a3..3f3e9a559db2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasShadowedVariable2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/hasShadowedVariable2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used // AFTER-WARNING: Variable 'x' is never used // AFTER-WARNING: Variable 'z' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/inspectionData/inspections.test b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/inspectionData/inspections.test index e9b13da7f127..e6c57d30087f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/inspectionData/inspections.test +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/inspectionData/inspections.test @@ -1,2 +1,2 @@ // INSPECTION_CLASS: org.jetbrains.kotlin.idea.intentions.DestructureInspection -// WITH_RUNTIME +// WITH_STDLIB diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/last.kt b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/last.kt index 7b0496530bbc..181c142d855f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/last.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/last.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class My(val first: String, val second: Int) diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/last.kt.after b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/last.kt.after index 14359ca20e1e..b9eea3bb8aa7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/last.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/last.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class My(val first: String, val second: Int) diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/list.kt b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/list.kt index 3b68dae39de6..ebe1dbcf6280 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/list.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/list.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/list.kt.after b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/list.kt.after index 8a58b1825fbe..0a0f00ca420c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/list.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/list.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapEntry.kt b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapEntry.kt index 3ec0ec84854d..f1a5225499e4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapEntry.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapEntry.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used fun foo(f: (Map.Entry) -> Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapEntry.kt.after b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapEntry.kt.after index e3380d03dd4b..08f9827cf4c7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapEntry.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapEntry.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used fun foo(f: (Map.Entry) -> Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapEntry2.kt b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapEntry2.kt index f8d472456a12..405b050f0e8b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapEntry2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapEntry2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used fun foo(f: (Map.Entry) -> Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapEntry2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapEntry2.kt.after index e3380d03dd4b..08f9827cf4c7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapEntry2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapEntry2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used fun foo(f: (Map.Entry) -> Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapIndexedExceptFirst.kt b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapIndexedExceptFirst.kt index 18c5bf2d8811..08776a367a5e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapIndexedExceptFirst.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapIndexedExceptFirst.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class Package(val name: String, val version: String, val source: String, val id: Int) diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapIndexedExceptFirst.kt.after b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapIndexedExceptFirst.kt.after index 6a3afce9c1e0..46664f5a0f91 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapIndexedExceptFirst.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapIndexedExceptFirst.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class Package(val name: String, val version: String, val source: String, val id: Int) diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapIndexedLast.kt b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapIndexedLast.kt index 5dbc28952e74..b4c86311b150 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapIndexedLast.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapIndexedLast.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class Package(val name: String, val version: String, val source: String, val id: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapIndexedLast.kt.after b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapIndexedLast.kt.after index 83dd45e85cde..24b0b0f2fde4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapIndexedLast.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/mapIndexedLast.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class Package(val name: String, val version: String, val source: String, val id: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/noItVariables.kt b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/noItVariables.kt index b1e24ae2b300..f35cfb6cbe9e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/noItVariables.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/noItVariables.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/noItVariables.kt.after b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/noItVariables.kt.after index 0024f4c1a0b7..cab41d2617c0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/noItVariables.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/noItVariables.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/nullable.kt b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/nullable.kt index d69b15c82ae2..5d67f2eb114f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/nullable.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/nullable.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/pair.kt b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/pair.kt index beea9399461c..6b187eccd500 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/pair.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/pair.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() = 0 to 10 diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/pair.kt.after b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/pair.kt.after index f48c07af3108..ef3a9adf8962 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/pair.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/pair.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() = 0 to 10 diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/twoOfThree.kt b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/twoOfThree.kt index 14a5bb6adeb8..3792d6831d2c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/twoOfThree.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/twoOfThree.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class My(val first: String, val second: Int, val third: Boolean) diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/twoOfThree.kt.after b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/twoOfThree.kt.after index 2430a3e16685..5d664d643e10 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/twoOfThree.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringInLambda/twoOfThree.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class My(val first: String, val second: Int, val third: Boolean) diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringVariables/hasShadowedVariable.kt b/plugins/kotlin/idea/tests/testData/intentions/destructuringVariables/hasShadowedVariable.kt index 1b0675ed6e64..7c1071861449 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringVariables/hasShadowedVariable.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringVariables/hasShadowedVariable.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used // AFTER-WARNING: Variable 'z' is never used fun main() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringVariables/hasShadowedVariable.kt.after b/plugins/kotlin/idea/tests/testData/intentions/destructuringVariables/hasShadowedVariable.kt.after index d7ab17fa6469..558f5dc0ce38 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringVariables/hasShadowedVariable.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringVariables/hasShadowedVariable.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used // AFTER-WARNING: Variable 'z' is never used fun main() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringVariables/mapEntry.kt b/plugins/kotlin/idea/tests/testData/intentions/destructuringVariables/mapEntry.kt index f9a904030bca..c9569237e963 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringVariables/mapEntry.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringVariables/mapEntry.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): Map.Entry = mapOf(1 to 2).entries.first() fun bar(): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/destructuringVariables/mapEntry.kt.after b/plugins/kotlin/idea/tests/testData/intentions/destructuringVariables/mapEntry.kt.after index a2e291289182..5c0931449670 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/destructuringVariables/mapEntry.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/destructuringVariables/mapEntry.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(): Map.Entry = mapOf(1 to 2).entries.first() fun bar(): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClass.kt b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClass.kt index 42a2c6453c74..0407bed222ba 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClass.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClass.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { fun foo(x: X): X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClass.kt.after b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClass.kt.after index 14f6c8d529d1..2d23b2a4c063 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClass.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { fun foo(x: X): X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClassWithSemicolon.kt b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClassWithSemicolon.kt index 1bcc503f9a3a..8fc64cf2f41a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClassWithSemicolon.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClassWithSemicolon.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { fun foo(x: X): X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClassWithSemicolon.kt.after b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClassWithSemicolon.kt.after index 14f6c8d529d1..2d23b2a4c063 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClassWithSemicolon.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClassWithSemicolon.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { fun foo(x: X): X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClassWithSemicolonAndMembers.kt b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClassWithSemicolonAndMembers.kt index 8c66f1db9999..35278ad8338f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClassWithSemicolonAndMembers.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClassWithSemicolonAndMembers.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { fun foo(x: X): X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClassWithSemicolonAndMembers.kt.after b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClassWithSemicolonAndMembers.kt.after index 410c8ae5855a..a0ac22c796ab 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClassWithSemicolonAndMembers.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumClassWithSemicolonAndMembers.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { fun foo(x: X): X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumEntries.kt b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumEntries.kt index f626b655bf2a..924450568107 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumEntries.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumEntries.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB //DISABLE-ERRORS enum class E { A, B, C; diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumEntries.kt.after b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumEntries.kt.after index bb0333efddce..5b939edad7eb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumEntries.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumEntries.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB //DISABLE-ERRORS enum class E { A { diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumEntriesWithArgs.kt b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumEntriesWithArgs.kt index 9b2ef830c7c0..204ff371a0b8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumEntriesWithArgs.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumEntriesWithArgs.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB //DISABLE-ERRORS // AFTER-WARNING: Parameter 'n' is never used enum class E(n: Int) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumEntriesWithArgs.kt.after b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumEntriesWithArgs.kt.after index 911fa99b3e3f..a81ff870776b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumEntriesWithArgs.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/enumEntriesWithArgs.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB //DISABLE-ERRORS // AFTER-WARNING: Parameter 'n' is never used enum class E(n: Int) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/implementAll.kt b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/implementAll.kt index 6466368ea2c0..3c39210ad3f1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/implementAll.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/implementAll.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { fun foo(x: X): X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/implementAll.kt.after b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/implementAll.kt.after index dcf33965c14a..f56d0fc18f85 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/implementAll.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/function/implementAll.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { fun foo(x: X): X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClass.kt b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClass.kt index 5b6934a55609..fa9340885238 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClass.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClass.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { val foo: X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClass.kt.after b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClass.kt.after index 094079d7913b..040c6924b5d9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClass.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { val foo: X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClassWithSemicolon.kt b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClassWithSemicolon.kt index c959392b05aa..a19a5d0750eb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClassWithSemicolon.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClassWithSemicolon.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { val foo: X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClassWithSemicolon.kt.after b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClassWithSemicolon.kt.after index 094079d7913b..040c6924b5d9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClassWithSemicolon.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClassWithSemicolon.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { val foo: X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClassWithSemicolonAndMembers.kt b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClassWithSemicolonAndMembers.kt index 5ea254418a79..15d2a842c17e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClassWithSemicolonAndMembers.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClassWithSemicolonAndMembers.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { val foo: X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClassWithSemicolonAndMembers.kt.after b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClassWithSemicolonAndMembers.kt.after index beeee18cdc01..81fe07f0403b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClassWithSemicolonAndMembers.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumClassWithSemicolonAndMembers.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { val foo: X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumEntries.kt b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumEntries.kt index e5c4c1573ff6..5a7d71d2cc1b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumEntries.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumEntries.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB //DISABLE-ERRORS enum class E { A, B, C; diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumEntries.kt.after b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumEntries.kt.after index 51579d16b6bd..eface1cbb01d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumEntries.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumEntries.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB //DISABLE-ERRORS enum class E { A { diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumEntriesWithArgs.kt b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumEntriesWithArgs.kt index 4d2f7ab6197d..3aa9863d3e4f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumEntriesWithArgs.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumEntriesWithArgs.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB //DISABLE-ERRORS // AFTER-WARNING: Parameter 'n' is never used enum class E(n: Int) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumEntriesWithArgs.kt.after b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumEntriesWithArgs.kt.after index b1ff24bf5569..234285bb69b0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumEntriesWithArgs.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/enumEntriesWithArgs.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB //DISABLE-ERRORS // AFTER-WARNING: Parameter 'n' is never used enum class E(n: Int) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/implementAll.kt b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/implementAll.kt index 5cb2d1c9cef0..9482f0308192 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/implementAll.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/implementAll.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { val foo: X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/implementAll.kt.after b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/implementAll.kt.after index f399d4de0f51..64190e3bcd15 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/implementAll.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAbstractMember/property/implementAll.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { val foo: X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAsConstructorParameter/enumClass.kt b/plugins/kotlin/idea/tests/testData/intentions/implementAsConstructorParameter/enumClass.kt index 5b6934a55609..fa9340885238 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAsConstructorParameter/enumClass.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAsConstructorParameter/enumClass.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { val foo: X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAsConstructorParameter/enumClass.kt.after b/plugins/kotlin/idea/tests/testData/intentions/implementAsConstructorParameter/enumClass.kt.after index c83a9127484c..aa3fbe95f506 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAsConstructorParameter/enumClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAsConstructorParameter/enumClass.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { val foo: X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAsConstructorParameter/implementAll.kt b/plugins/kotlin/idea/tests/testData/intentions/implementAsConstructorParameter/implementAll.kt index 5cb2d1c9cef0..9482f0308192 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAsConstructorParameter/implementAll.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAsConstructorParameter/implementAll.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { val foo: X diff --git a/plugins/kotlin/idea/tests/testData/intentions/implementAsConstructorParameter/implementAll.kt.after b/plugins/kotlin/idea/tests/testData/intentions/implementAsConstructorParameter/implementAll.kt.after index 3939b17388d3..e6d59378fece 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/implementAsConstructorParameter/implementAll.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/implementAsConstructorParameter/implementAll.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface T { val foo: X diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AlreadyImported.kt b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AlreadyImported.kt index c3687e7a20a8..f9d0101292f0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AlreadyImported.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AlreadyImported.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Import members from 'java.util.regex.Pattern'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'field' is never used // AFTER-WARNING: Variable 'fieldFqn' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AlreadyImported.kt.after b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AlreadyImported.kt.after index 8e13fcec9987..9db0bcaf9899 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AlreadyImported.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AlreadyImported.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Import members from 'java.util.regex.Pattern'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'field' is never used // AFTER-WARNING: Variable 'fieldFqn' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AlreadyImportedWithStar.kt b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AlreadyImportedWithStar.kt index 8a5f7ddcf888..766445733fd5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AlreadyImportedWithStar.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AlreadyImportedWithStar.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Import members from 'java.util.regex.Pattern'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'field' is never used // AFTER-WARNING: Variable 'fieldFqn' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AlreadyImportedWithStar.kt.after b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AlreadyImportedWithStar.kt.after index 8e13fcec9987..9db0bcaf9899 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AlreadyImportedWithStar.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AlreadyImportedWithStar.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Import members from 'java.util.regex.Pattern'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'field' is never used // AFTER-WARNING: Variable 'fieldFqn' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AmbiguousCalls.kt b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AmbiguousCalls.kt index 4efaf3cfde54..891f6c5dd89e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AmbiguousCalls.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AmbiguousCalls.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Import members from 'JavaUtilClass'" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: None of the following functions can be called with the arguments supplied:
public open fun overloadedMethod(i: Int): Unit defined in JavaUtilClass
public open fun overloadedMethod(i: String!): Unit defined in JavaUtilClass // ERROR: None of the following functions can be called with the arguments supplied:
public open fun overloadedMethod(i: Int): Unit defined in JavaUtilClass
public open fun overloadedMethod(i: String!): Unit defined in JavaUtilClass // ERROR: Unresolved reference: unresolved diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AmbiguousCalls.kt.after b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AmbiguousCalls.kt.after index f3229c204831..c28cfa71670e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AmbiguousCalls.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/AmbiguousCalls.kt.after @@ -1,7 +1,7 @@ import JavaUtilClass.* // INTENTION_TEXT: "Import members from 'JavaUtilClass'" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: None of the following functions can be called with the arguments supplied:
public open fun overloadedMethod(i: Int): Unit defined in JavaUtilClass
public open fun overloadedMethod(i: String!): Unit defined in JavaUtilClass // ERROR: None of the following functions can be called with the arguments supplied:
public open fun overloadedMethod(i: Int): Unit defined in JavaUtilClass
public open fun overloadedMethod(i: String!): Unit defined in JavaUtilClass // ERROR: Unresolved reference: unresolved diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/EnumMembers.kt b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/EnumMembers.kt index 1e8d8992e734..720cae6f0ca3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/EnumMembers.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/EnumMembers.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Import members from 'kotlin.LazyThreadSafetyMode'" -// WITH_RUNTIME +// WITH_STDLIB class A { val v1: Int by lazy(LazyThreadSafetyMode.NONE) { 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/EnumMembers.kt.after b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/EnumMembers.kt.after index c71925c58deb..6ec9f1ffd5c4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/EnumMembers.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/EnumMembers.kt.after @@ -1,7 +1,7 @@ import kotlin.LazyThreadSafetyMode.* // INTENTION_TEXT: "Import members from 'kotlin.LazyThreadSafetyMode'" -// WITH_RUNTIME +// WITH_STDLIB class A { val v1: Int by lazy(NONE) { 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/EnumMembersValues.kt.todo b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/EnumMembersValues.kt.todo index b9d8cb97d72e..244f788dbf2f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/EnumMembersValues.kt.todo +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/EnumMembersValues.kt.todo @@ -1,4 +1,4 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB val v = LazyThreadSafetyMode.values diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/ImportAllMembersInImport.kt b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/ImportAllMembersInImport.kt index 2690d6010eb7..1d67c17879f9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/ImportAllMembersInImport.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/ImportAllMembersInImport.kt @@ -1,4 +1,4 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB import java.util.regex.Pattern.CASE_INSENSITIVE diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/NotFromCompanionObject.kt b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/NotFromCompanionObject.kt index b995d5fc32d2..6f32dd8f2a9b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/NotFromCompanionObject.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/NotFromCompanionObject.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB import kotlin.text.Regex diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/NotFromObject.kt b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/NotFromObject.kt index d2886babc636..a4e0f2b438bf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/NotFromObject.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/NotFromObject.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB import kotlin.properties.Delegates diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/QualifiedName.kt b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/QualifiedName.kt index a3987c50df90..ed52de88cee4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/QualifiedName.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/QualifiedName.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Import members from 'java.util.regex.Pattern'" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { java.util.regex.Pattern.CASE_INSENSITIVE diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/QualifiedName.kt.after b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/QualifiedName.kt.after index d9134e718e7e..ed4baed8c23e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/QualifiedName.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/QualifiedName.kt.after @@ -1,7 +1,7 @@ import java.util.regex.Pattern.* // INTENTION_TEXT: "Import members from 'java.util.regex.Pattern'" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { CASE_INSENSITIVE diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/QualifiedName2.kt b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/QualifiedName2.kt index 485dae49599f..61675a52178e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/QualifiedName2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/QualifiedName2.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Import members from 'java.util.Objects'" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { java.util.Objects.equals(null, null) diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/QualifiedName2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/QualifiedName2.kt.after index 3a4a2ea8684c..2c2262535b3f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/QualifiedName2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/QualifiedName2.kt.after @@ -1,7 +1,7 @@ import java.util.Objects.* // INTENTION_TEXT: "Import members from 'java.util.Objects'" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { equals(null, null) diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/RemoveSingleImports.kt b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/RemoveSingleImports.kt index ec9fed187bf8..445e45d1dc24 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/RemoveSingleImports.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/RemoveSingleImports.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Import members from 'java.util.regex.Pattern'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'field' is never used // AFTER-WARNING: Variable 'fieldFqn' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/RemoveSingleImports.kt.after b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/RemoveSingleImports.kt.after index e4fa3f16bce9..f17e3ceb1ae2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/RemoveSingleImports.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/RemoveSingleImports.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Import members from 'java.util.regex.Pattern'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'field' is never used // AFTER-WARNING: Variable 'fieldFqn' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/StaticJavaMembers.kt b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/StaticJavaMembers.kt index 741895e32629..00041f28d1d0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/StaticJavaMembers.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/StaticJavaMembers.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Import members from 'java.util.regex.Pattern'" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Unresolved reference: unresolved // AFTER-WARNING: Variable 'field' is never used // AFTER-WARNING: Variable 'fieldFqn' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/StaticJavaMembers.kt.after b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/StaticJavaMembers.kt.after index 34eb45988deb..80b9ed0fb803 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/StaticJavaMembers.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/StaticJavaMembers.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Import members from 'java.util.regex.Pattern'" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Unresolved reference: unresolved // AFTER-WARNING: Variable 'field' is never used // AFTER-WARNING: Variable 'fieldFqn' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/UnresolvedMember.kt b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/UnresolvedMember.kt index 4e35f4e266ba..eeada3a1b9d9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/UnresolvedMember.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importAllMembers/UnresolvedMember.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Unresolved reference: unresolved import java.util.Objects diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/EnumMember.kt b/plugins/kotlin/idea/tests/testData/intentions/importMember/EnumMember.kt index 82a086dd37d4..92cb70c9df0c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/EnumMember.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/EnumMember.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Add import for 'kotlin.LazyThreadSafetyMode.NONE'" -// WITH_RUNTIME +// WITH_STDLIB class A { val v1: Int by lazy(LazyThreadSafetyMode.NONE) { 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/EnumMember.kt.after b/plugins/kotlin/idea/tests/testData/intentions/importMember/EnumMember.kt.after index ba89f2f360d5..c05979ba70c6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/EnumMember.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/EnumMember.kt.after @@ -1,7 +1,7 @@ import kotlin.LazyThreadSafetyMode.NONE // INTENTION_TEXT: "Add import for 'kotlin.LazyThreadSafetyMode.NONE'" -// WITH_RUNTIME +// WITH_STDLIB class A { val v1: Int by lazy(NONE) { 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/FqReference.kt b/plugins/kotlin/idea/tests/testData/intentions/importMember/FqReference.kt index 61092e86291d..1f470c92dff7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/FqReference.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/FqReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/FqReferenceCall.kt b/plugins/kotlin/idea/tests/testData/intentions/importMember/FqReferenceCall.kt index 45d8225d1de3..b27b99f40add 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/FqReferenceCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/FqReferenceCall.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun usage() { println(p.A.some?.toString()) diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/FromCompanionObject.kt b/plugins/kotlin/idea/tests/testData/intentions/importMember/FromCompanionObject.kt index f049ebcfffb0..06616cab27d4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/FromCompanionObject.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/FromCompanionObject.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Add import for 'kotlin.text.Regex.Companion.escape'" -// WITH_RUNTIME +// WITH_STDLIB import kotlin.text.Regex diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/FromCompanionObject.kt.after b/plugins/kotlin/idea/tests/testData/intentions/importMember/FromCompanionObject.kt.after index 8d4e3ce01fde..109dc69b5d4a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/FromCompanionObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/FromCompanionObject.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Add import for 'kotlin.text.Regex.Companion.escape'" -// WITH_RUNTIME +// WITH_STDLIB import kotlin.text.Regex import kotlin.text.Regex.Companion.escape diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/ImportMemberInImport.kt b/plugins/kotlin/idea/tests/testData/intentions/importMember/ImportMemberInImport.kt index d6f85839e324..c7960a8cb76a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/ImportMemberInImport.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/ImportMemberInImport.kt @@ -1,4 +1,4 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB import java.util.regex.Pattern.CASE_INSENSITIVE \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/ImportMemberInMiddleOfImport.kt b/plugins/kotlin/idea/tests/testData/intentions/importMember/ImportMemberInMiddleOfImport.kt index f943cdff5ac9..51bf57512d81 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/ImportMemberInMiddleOfImport.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/ImportMemberInMiddleOfImport.kt @@ -1,4 +1,4 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB import java.util.regex.Pattern.CASE_INSENSITIVE \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/NestedClass1.kt b/plugins/kotlin/idea/tests/testData/intentions/importMember/NestedClass1.kt index aa09c64c6d84..7bf67080af49 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/NestedClass1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/NestedClass1.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Add import for 'ppp.Foo.Bar'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Check for instance is always 'true' package ppp diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/NestedClass1.kt.after b/plugins/kotlin/idea/tests/testData/intentions/importMember/NestedClass1.kt.after index fe37c214bed5..dc4bd249f7c5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/NestedClass1.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/NestedClass1.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Add import for 'ppp.Foo.Bar'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Check for instance is always 'true' package ppp diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/NestedClass2.kt b/plugins/kotlin/idea/tests/testData/intentions/importMember/NestedClass2.kt index f58018d77200..8cbcd4f4e79f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/NestedClass2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/NestedClass2.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Add import for 'ppp.Foo.Bar'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Check for instance is always 'true' package ppp diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/NestedClass2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/importMember/NestedClass2.kt.after index dd1520115f43..59d009a15bca 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/NestedClass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/NestedClass2.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Add import for 'ppp.Foo.Bar'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Check for instance is always 'true' package ppp diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/NoTarget.kt b/plugins/kotlin/idea/tests/testData/intentions/importMember/NoTarget.kt index 90b8edfa448c..7b1ec4f73599 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/NoTarget.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/NoTarget.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Unresolved reference: unresolved import java.util.regex.Pattern diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/NotForQualifier.kt b/plugins/kotlin/idea/tests/testData/intentions/importMember/NotForQualifier.kt index 045bf43cd9fb..9078b59ad3c4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/NotForQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/NotForQualifier.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB import java.util.regex.Pattern diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/ObjectMethod.kt b/plugins/kotlin/idea/tests/testData/intentions/importMember/ObjectMethod.kt index ebba24edeb0d..fcb24f5cb0c1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/ObjectMethod.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/ObjectMethod.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Add import for 'kotlin.properties.Delegates.notNull'" -// WITH_RUNTIME +// WITH_STDLIB import kotlin.properties.Delegates diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/ObjectMethod.kt.after b/plugins/kotlin/idea/tests/testData/intentions/importMember/ObjectMethod.kt.after index f99423d98798..337a22fba8d2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/ObjectMethod.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/ObjectMethod.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Add import for 'kotlin.properties.Delegates.notNull'" -// WITH_RUNTIME +// WITH_STDLIB import kotlin.properties.Delegates import kotlin.properties.Delegates.notNull diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/StaticJavaField.kt b/plugins/kotlin/idea/tests/testData/intentions/importMember/StaticJavaField.kt index 60fad3c16ae7..f197ac23bb74 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/StaticJavaField.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/StaticJavaField.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Add import for 'java.util.regex.Pattern.CASE_INSENSITIVE'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'v' is never used import java.util.regex.Pattern diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/StaticJavaField.kt.after b/plugins/kotlin/idea/tests/testData/intentions/importMember/StaticJavaField.kt.after index a138b017e317..df225288a714 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/StaticJavaField.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/StaticJavaField.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Add import for 'java.util.regex.Pattern.CASE_INSENSITIVE'" -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'v' is never used import java.util.regex.Pattern diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/StaticJavaMethod.kt b/plugins/kotlin/idea/tests/testData/intentions/importMember/StaticJavaMethod.kt index c134ee8b24af..300445279a09 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/StaticJavaMethod.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/StaticJavaMethod.kt @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Add import for 'java.util.regex.Pattern.matches'" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Unresolved reference: SomethingElse // ERROR: Unresolved reference: somethingElse // SKIP_ERRORS_AFTER diff --git a/plugins/kotlin/idea/tests/testData/intentions/importMember/StaticJavaMethod.kt.after b/plugins/kotlin/idea/tests/testData/intentions/importMember/StaticJavaMethod.kt.after index 383b6795f7ac..7edbe6e2d3b6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/importMember/StaticJavaMethod.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/importMember/StaticJavaMethod.kt.after @@ -1,5 +1,5 @@ // INTENTION_TEXT: "Add import for 'java.util.regex.Pattern.matches'" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Unresolved reference: SomethingElse // ERROR: Unresolved reference: somethingElse // SKIP_ERRORS_AFTER diff --git a/plugins/kotlin/idea/tests/testData/intentions/indentRawString/receiver.kt b/plugins/kotlin/idea/tests/testData/intentions/indentRawString/receiver.kt index 87768deda0ba..f83442b07d21 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/indentRawString/receiver.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/indentRawString/receiver.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun test() { val foo = """foo bar diff --git a/plugins/kotlin/idea/tests/testData/intentions/indentRawString/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/indentRawString/simple.kt index cc2cd9952723..799fd9341cbf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/indentRawString/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/indentRawString/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'foo' is never used fun test() { val foo = """foo diff --git a/plugins/kotlin/idea/tests/testData/intentions/indentRawString/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/indentRawString/simple.kt.after index 3bfc075badd1..34b94ba842ff 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/indentRawString/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/indentRawString/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'foo' is never used fun test() { val foo = """ diff --git a/plugins/kotlin/idea/tests/testData/intentions/insertExplicitTypeArguments/insertImportForArg.kt b/plugins/kotlin/idea/tests/testData/intentions/insertExplicitTypeArguments/insertImportForArg.kt index 2aaefc010b15..e6be5a51a83f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/insertExplicitTypeArguments/insertImportForArg.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/insertExplicitTypeArguments/insertImportForArg.kt @@ -4,4 +4,4 @@ fun foo(c: kotlin.collections.AbstractIterator bar(t: T): T = t -// WITH_RUNTIME \ No newline at end of file +// WITH_STDLIB \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/insertExplicitTypeArguments/insertImportForArg.kt.after b/plugins/kotlin/idea/tests/testData/intentions/insertExplicitTypeArguments/insertImportForArg.kt.after index 1dc4599d0d75..5933818b73e6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/insertExplicitTypeArguments/insertImportForArg.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/insertExplicitTypeArguments/insertImportForArg.kt.after @@ -6,4 +6,4 @@ fun foo(c: kotlin.collections.AbstractIterator bar(t: T): T = t -// WITH_RUNTIME \ No newline at end of file +// WITH_STDLIB \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/introduceBackingProperty/jvmField.kt b/plugins/kotlin/idea/tests/testData/intentions/introduceBackingProperty/jvmField.kt index 081b8538d114..d37371854eba 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/introduceBackingProperty/jvmField.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/introduceBackingProperty/jvmField.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB class Test { @JvmField val foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClass.kt b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClass.kt index cb7d454bb5d6..5095efa77ec6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClass.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClass.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'list' is never used fun foo(list: List) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClass.kt.after b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClass.kt.after index bedb3a08c24a..fd6751c9facb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClass.kt.after @@ -1,5 +1,5 @@ import kotlin.collections.List as List1 -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'list' is never used fun foo(list: List1) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassAndFunction.kt b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassAndFunction.kt index 87d3a06a23a2..7b18fae825a4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassAndFunction.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassAndFunction.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'list' is never used // AFTER-WARNING: Variable 'secondList' is never used fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassAndFunction.kt.after b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassAndFunction.kt.after index 84203831ca8c..2643834bf023 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassAndFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassAndFunction.kt.after @@ -1,6 +1,6 @@ import kotlin.collections.List as List1 -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'list' is never used // AFTER-WARNING: Variable 'secondList' is never used fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassCompanion.kt b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassCompanion.kt index 56a17e3560a5..921ca10ffbaf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassCompanion.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassCompanion.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'max' is never used // AFTER-WARNING: Variable 'max2' is never used fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassCompanion.kt.after b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassCompanion.kt.after index 0308afabfae4..453506203aee 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassCompanion.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassCompanion.kt.after @@ -1,6 +1,6 @@ import kotlin.Int.Companion.MAX_VALUE as MAX_VALUE1 -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'max' is never used // AFTER-WARNING: Variable 'max2' is never used fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassCompanion2.kt b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassCompanion2.kt index bf8366bed7a3..c37404199e17 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassCompanion2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassCompanion2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'max' is never used // AFTER-WARNING: Variable 'max2' is never used fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassCompanion2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassCompanion2.kt.after index ac82a214536d..bda6b8d23f40 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassCompanion2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/addImportWithDefaultClassCompanion2.kt.after @@ -1,6 +1,6 @@ import kotlin.Int.Companion as Int1 -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'max' is never used // AFTER-WARNING: Variable 'max2' is never used fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/withReceiver2.kt b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/withReceiver2.kt index 4be737505c04..e72203027f6a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/withReceiver2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/withReceiver2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.sample val Any.foo: Any get() = this diff --git a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/withReceiver2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/withReceiver2.kt.after index d7f835e1f509..7208da173471 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/withReceiver2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/withReceiver2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.sample import my.sample.bar as bar1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/withReceiver3.kt b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/withReceiver3.kt index efc2220514e7..1f418433afea 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/withReceiver3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/withReceiver3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.sample fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/withReceiver3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/withReceiver3.kt.after index b9a86814fe6c..7737f2180293 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/withReceiver3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/introduceImportAlias/withReceiver3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package my.sample import kotlin.let as let1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/forLoopWithMultipleExpressions.kt b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/forLoopWithMultipleExpressions.kt index fda17e07566b..2d3bf01959f6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/forLoopWithMultipleExpressions.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/forLoopWithMultipleExpressions.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun main() { val list = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/forLoopWithMultipleExpressions.kt.after b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/forLoopWithMultipleExpressions.kt.after index 9a04b6864e1e..7c533fee398b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/forLoopWithMultipleExpressions.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/forLoopWithMultipleExpressions.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun main() { val list = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/ifExpressionInsideForLoop.kt b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/ifExpressionInsideForLoop.kt index b3d540cd7091..f02740e52525 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/ifExpressionInsideForLoop.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/ifExpressionInsideForLoop.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun main() { val list = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/ifExpressionInsideForLoop.kt.after b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/ifExpressionInsideForLoop.kt.after index f275722bf9e9..236e58b31d18 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/ifExpressionInsideForLoop.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/ifExpressionInsideForLoop.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun main() { val list = 1..4 diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isBlank.kt b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isBlank.kt index 1120056cebf1..23810d7f3ca0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isBlank.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isBlank.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used fun foo(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isBlank.kt.after b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isBlank.kt.after index 80c6e38e305b..a3d3b04017a6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isBlank.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isBlank.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used fun foo(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isEmpty.kt b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isEmpty.kt index cfe386bb54ee..181311627b81 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used fun foo(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isEmpty.kt.after b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isEmpty.kt.after index 15cd8cdbba38..a40e9f50a8b3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used fun foo(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isNotBlank.kt b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isNotBlank.kt index 0fdd47a3d8c0..8e47f1bc4142 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isNotBlank.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isNotBlank.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used fun foo(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isNotBlank.kt.after b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isNotBlank.kt.after index 7e2764e00385..d1d88bda1de6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isNotBlank.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isNotBlank.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used fun foo(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isNotEmpty.kt b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isNotEmpty.kt index abae2bb1576c..a99f5924835f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isNotEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isNotEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used fun foo(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isNotEmpty.kt.after b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isNotEmpty.kt.after index c9f1f60ee85d..7b813b6837e0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isNotEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/isNotEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used fun foo(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsBlank.kt b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsBlank.kt index 44fe3e5965b1..28b4a5f9d82d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsBlank.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsBlank.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used fun foo(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsBlank.kt.after b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsBlank.kt.after index 7e2764e00385..d1d88bda1de6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsBlank.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsBlank.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used fun foo(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsEmpty.kt b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsEmpty.kt index de61af502e08..3b558c25b81e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used fun foo(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsEmpty.kt.after b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsEmpty.kt.after index c9f1f60ee85d..7b813b6837e0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used fun foo(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsNotBlank.kt b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsNotBlank.kt index 50c44d1b8d44..069aaf6c9b94 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsNotBlank.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsNotBlank.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used fun foo(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsNotBlank.kt.after b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsNotBlank.kt.after index 80c6e38e305b..a3d3b04017a6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsNotBlank.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsNotBlank.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used fun foo(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsNotEmpty.kt b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsNotEmpty.kt index 68dbe2f025e8..f83e4a532e87 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsNotEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsNotEmpty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used fun foo(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsNotEmpty.kt.after b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsNotEmpty.kt.after index 15cd8cdbba38..a40e9f50a8b3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsNotEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/negatedIsNotEmpty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'i' is never used fun foo(i: Int) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue.kt b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue.kt index 1135975acc51..e40a50526094 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { for (x in "abc") { if (x == 'a') continue diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue.kt.after index ccc8e919786c..ee2626c351bc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { for (x in "abc") { if (x != 'a') { diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue2.kt b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue2.kt index a897dfe1b6ec..c48f7f0fe5c1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { for (x in "abc") { if (x != 'a') { diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue2.kt.after index 08e78e9f74b9..b479a8c478d0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { for (x in "abc") { if (x != 'a') { diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue3.kt b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue3.kt index 899289365c28..65f67b15d8b6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { for (x in "abc") { if (x != 'a') { diff --git a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue3.kt.after index 51df69bcef8a..730940e128ea 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/invertIfCondition/unnecessaryContinue3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { for (x in "abc") { if (x != 'a') { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/collectionIteratorWithComponents.kt b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/collectionIteratorWithComponents.kt index 92e819fc1c24..5dec7ff2c3ed 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/collectionIteratorWithComponents.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/collectionIteratorWithComponents.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'i' is never used // AFTER-WARNING: Variable 's' is never used // AFTER-WARNING: Variable 's1' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/collectionIteratorWithComponents.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/collectionIteratorWithComponents.kt.after index 215fe87d0720..0f47a4f25470 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/collectionIteratorWithComponents.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/collectionIteratorWithComponents.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'i' is never used // AFTER-WARNING: Variable 's' is never used // AFTER-WARNING: Variable 's1' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/dataClassCollectionIterator.kt b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/dataClassCollectionIterator.kt index 52a4bcf8e81f..faad2a56e7b3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/dataClassCollectionIterator.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/dataClassCollectionIterator.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'id' is never used // AFTER-WARNING: Variable 'name' is never used data class Foo(val id: Int, val name: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/dataClassCollectionIterator.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/dataClassCollectionIterator.kt.after index d57b3c2972d7..6052a59557a3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/dataClassCollectionIterator.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/dataClassCollectionIterator.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'id' is never used // AFTER-WARNING: Variable 'name' is never used data class Foo(val id: Int, val name: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIterator.kt b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIterator.kt index 3e4d13d50141..01ab1e9c9062 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIterator.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIterator.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class T operator fun T.iterator(): Iterator = listOf().iterator() diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIterator.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIterator.kt.after index daa3bbc33029..fe53e882deb8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIterator.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIterator.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class T operator fun T.iterator(): Iterator = listOf().iterator() diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIteratorWithPartialSubstitution1.kt b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIteratorWithPartialSubstitution1.kt index eac83d46b887..4f736a3045d8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIteratorWithPartialSubstitution1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIteratorWithPartialSubstitution1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class T operator fun T.iterator(): Iterator = listOf().iterator() diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIteratorWithPartialSubstitution1.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIteratorWithPartialSubstitution1.kt.after index b3b36c29653c..e02583549733 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIteratorWithPartialSubstitution1.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIteratorWithPartialSubstitution1.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class T operator fun T.iterator(): Iterator = listOf().iterator() diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIteratorWithPartialSubstitution2.kt b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIteratorWithPartialSubstitution2.kt index efc16450ed37..5cf5475be207 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIteratorWithPartialSubstitution2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/extensionIteratorWithPartialSubstitution2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class T diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/functionCall.kt b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/functionCall.kt index 3f155808f7ac..cd553e5f1489 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/functionCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/functionCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { f() diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/functionCall.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/functionCall.kt.after index 6a56ef5d5d1d..b47b007d6c23 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/functionCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/functionCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { for (i in f()) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/mapIterator.kt b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/mapIterator.kt index c3ac136ba9d7..dd5318c235a5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/mapIterator.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/mapIterator.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'i' is never used // AFTER-WARNING: Variable 's' is never used fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/mapIterator.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/mapIterator.kt.after index b1c16cc958fd..36f2fcdd4569 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/mapIterator.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/mapIterator.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'i' is never used // AFTER-WARNING: Variable 's' is never used fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/nonOperatorIterator.kt b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/nonOperatorIterator.kt index 1fa803d72c3c..a366977df836 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/nonOperatorIterator.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/nonOperatorIterator.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class T { fun T.iterator(): Iterator = listOf().iterator() diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/nonOperatotExtensionIterator.kt b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/nonOperatotExtensionIterator.kt index 7bbe69301ae1..86bc8287f935 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/nonOperatotExtensionIterator.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterateExpression/nonOperatotExtensionIterator.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class T diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/AlreadyDestructing.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/AlreadyDestructing.kt index 1554c6ba5e9f..3f7e645eb305 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/AlreadyDestructing.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/AlreadyDestructing.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun main(args: Array) { val map = hashMapOf(1 to 1) diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/CaretOffset.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/CaretOffset.kt index 0d2b7a29c9ac..46b633a4eaaa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/CaretOffset.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/CaretOffset.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun main(args: Array) { val map = hashMapOf(1 to 1) diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClass.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClass.kt index 9da60100759b..8d8d48a77911 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClass.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClass.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'a' is never used // AFTER-WARNING: Variable 'b' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClass.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClass.kt.after index 0dbf7f1157c6..5f171cae7d96 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClass.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'a' is never used // AFTER-WARNING: Variable 'b' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassDependentLocal.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassDependentLocal.kt index 2b0b235dfc47..2cc9a9db4aee 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassDependentLocal.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassDependentLocal.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: Int, val y: Int) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassDependentLocal.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassDependentLocal.kt.after index 9d0b37cd8c98..c097e43325c3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassDependentLocal.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassDependentLocal.kt.after @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: Int, val y: Int) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassFirstNPropertiesUsed.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassFirstNPropertiesUsed.kt index 255697e2041b..f8e99a8c9e13 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassFirstNPropertiesUsed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassFirstNPropertiesUsed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'a' is never used // AFTER-WARNING: Variable 'b' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassFirstNPropertiesUsed.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassFirstNPropertiesUsed.kt.after index 48ae2ccd622a..b15fff119c4a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassFirstNPropertiesUsed.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassFirstNPropertiesUsed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'a' is never used // AFTER-WARNING: Variable 'b' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassFirstVariable.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassFirstVariable.kt index 7e041ff0b3f7..240e42eb4c2d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassFirstVariable.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassFirstVariable.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassFirstVariable.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassFirstVariable.kt.after index ae8461c22985..290215305699 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassFirstVariable.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassFirstVariable.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassLast.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassLast.kt index 48fe2df5ec7e..8fdc7af078f0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassLast.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassLast.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class My(val first: String, val second: Int) diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassLast.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassLast.kt.after index 31e076e9fb17..7912e5dff31b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassLast.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassLast.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class My(val first: String, val second: Int) diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNameConflict.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNameConflict.kt index b1a92b67cda1..faa77a4fac0b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNameConflict.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNameConflict.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: Int, val y: Int) diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNameConflict.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNameConflict.kt.after index a27488c51aff..d01be43fa792 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNameConflict.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNameConflict.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: Int, val y: Int) diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNoVariablesInside.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNoVariablesInside.kt index 974f99dfdf8e..7bef4c5d1a59 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNoVariablesInside.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNoVariablesInside.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNoVariablesInside.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNoVariablesInside.kt.after index 73dfab72d0e3..2fef72070d94 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNoVariablesInside.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNoVariablesInside.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNoVariablesMultiUsages.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNoVariablesMultiUsages.kt index 1a1590718045..b4954248c4e9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNoVariablesMultiUsages.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNoVariablesMultiUsages.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNoVariablesMultiUsages.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNoVariablesMultiUsages.kt.after index 5f794dfb21a6..8a46350d4de6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNoVariablesMultiUsages.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNoVariablesMultiUsages.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNotAllPropertiesUsed.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNotAllPropertiesUsed.kt index 22a8e496c099..947a7a2703d4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNotAllPropertiesUsed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNotAllPropertiesUsed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNotAllPropertiesUsed.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNotAllPropertiesUsed.kt.after index 400bf1f5abf6..cb6b1a0011e1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNotAllPropertiesUsed.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNotAllPropertiesUsed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNullable.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNullable.kt index 4aef6b9c886e..e38d8541f7e5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNullable.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassNullable.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassParametersOrder.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassParametersOrder.kt index a9ca77bc3a3c..fb6745631826 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassParametersOrder.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassParametersOrder.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'a1' is never used // AFTER-WARNING: Variable 'b1' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassParametersOrder.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassParametersOrder.kt.after index 70347be6022c..671c41f41bc8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassParametersOrder.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassParametersOrder.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'a1' is never used // AFTER-WARNING: Variable 'b1' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassPropertyBetweenUsages.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassPropertyBetweenUsages.kt index a7640dc2790b..7034bafd1739 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassPropertyBetweenUsages.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassPropertyBetweenUsages.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassPropertyBetweenUsages.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassPropertyBetweenUsages.kt.after index a585bfaac513..2f44ae84bacc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassPropertyBetweenUsages.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassPropertyBetweenUsages.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassSecondVariable.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassSecondVariable.kt index cd4c43c2d542..c583751e0a0e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassSecondVariable.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassSecondVariable.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassSecondVariable.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassSecondVariable.kt.after index 73dfab72d0e3..2fef72070d94 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassSecondVariable.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassSecondVariable.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassTwoDifferentLocals.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassTwoDifferentLocals.kt index 155a60428d19..02315951f929 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassTwoDifferentLocals.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassTwoDifferentLocals.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: Int) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassTwoDifferentLocals.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassTwoDifferentLocals.kt.after index 328b5fac7b10..95d390d792c9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassTwoDifferentLocals.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassTwoDifferentLocals.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: Int) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassUnused.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassUnused.kt index 8eb460a03f81..2d7f02073fcd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassUnused.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassUnused.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used // AFTER-WARNING: Variable 'y' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassUnused.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassUnused.kt.after index 6e11452dcd03..0a7121c0952c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassUnused.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassUnused.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used // AFTER-WARNING: Variable 'y' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithAssignmentInside.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithAssignmentInside.kt index 842e37c887ef..a9962daf3782 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithAssignmentInside.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithAssignmentInside.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB data class XY(var x: String, val y: String) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuring.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuring.kt index 7510cd37d7b3..5968a48527f1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuring.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuring.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used // AFTER-WARNING: Variable 'y' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuring.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuring.kt.after index 0b039470b299..a3282dd583cb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuring.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuring.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used // AFTER-WARNING: Variable 'y' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringConflict.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringConflict.kt index 1c6c27a7a27a..44330f4ff91c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringConflict.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringConflict.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: Int, val y: Int) diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringFakeConflict.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringFakeConflict.kt index 4fec513bae19..a036e5146f12 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringFakeConflict.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringFakeConflict.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used // AFTER-WARNING: Variable 'z' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringFakeConflict.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringFakeConflict.kt.after index 3842f1e8a365..7e41d41193a0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringFakeConflict.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringFakeConflict.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used // AFTER-WARNING: Variable 'z' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringPartial.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringPartial.kt index 7774b7878ec3..ee14f85054f7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringPartial.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringPartial.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: Int, val y: Int) diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringPartial.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringPartial.kt.after index d4d5ff370ea8..1adfc1a46d5d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringPartial.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithDestructuringPartial.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: Int, val y: Int) diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithExternalUsage.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithExternalUsage.kt index f31dedd3dc73..7514ceedacf0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithExternalUsage.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithExternalUsage.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) fun test(xys: Array, base: XY) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithExternalUsage.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithExternalUsage.kt.after index 47b3eb06324d..9a211eb37b6c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithExternalUsage.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithExternalUsage.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: String) fun test(xys: Array, base: XY) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithIncrementInside.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithIncrementInside.kt index b1e8688c6de1..30371518995d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithIncrementInside.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithIncrementInside.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB data class XY(var x: Int, var y: Int) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithLocalPropertyModified.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithLocalPropertyModified.kt index 265783121ead..0ea198705fc6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithLocalPropertyModified.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/DataClassWithLocalPropertyModified.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB data class XY(val x: String, val y: Int) fun test(xys: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/EntriesCallIsMissing.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/EntriesCallIsMissing.kt index eedde2cef1df..ed00c204a830 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/EntriesCallIsMissing.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/EntriesCallIsMissing.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/EntriesCallIsMissing.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/EntriesCallIsMissing.kt.after index 26e6cca9e507..87d7231b5e01 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/EntriesCallIsMissing.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/EntriesCallIsMissing.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/FakeEntries.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/FakeEntries.kt index 1337ae953b1b..e999efb8a91f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/FakeEntries.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/FakeEntries.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'key' is never used // AFTER-WARNING: Variable 'value' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/FakeEntries.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/FakeEntries.kt.after index f2449d749064..a4cd9d74c926 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/FakeEntries.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/FakeEntries.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'key' is never used // AFTER-WARNING: Variable 'value' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/Getters.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/Getters.kt index 7f45bcf67d64..f0efb95be4ab 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/Getters.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/Getters.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'key' is never used // AFTER-WARNING: Variable 'value' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/Getters.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/Getters.kt.after index 4ddea36da62a..2f56952b024d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/Getters.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/Getters.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'key' is never used // AFTER-WARNING: Variable 'value' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyOnly.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyOnly.kt index 83b754f7717f..d92fa92af850 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyOnly.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyOnly.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyOnly.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyOnly.kt.after index 4a25df88e1a5..12e38bc8f3ea 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyOnly.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyOnly.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyOnlyWithDestructuring.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyOnlyWithDestructuring.kt index f51bc4ef38b3..127fc48a4741 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyOnlyWithDestructuring.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyOnlyWithDestructuring.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'key' is never used fun foo(map: Map) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyOnlyWithDestructuring.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyOnlyWithDestructuring.kt.after index 17bd808d23f8..594e6e1cb04d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyOnlyWithDestructuring.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyOnlyWithDestructuring.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'key' is never used fun foo(map: Map) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyValueWithDestructuring.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyValueWithDestructuring.kt index 7afe70b0933f..b5d872b69191 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyValueWithDestructuring.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyValueWithDestructuring.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'key' is never used // AFTER-WARNING: Variable 'value' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyValueWithDestructuring.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyValueWithDestructuring.kt.after index 2c2b72f1fb0f..ed4e48ed9576 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyValueWithDestructuring.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/KeyValueWithDestructuring.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'key' is never used // AFTER-WARNING: Variable 'value' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/MapNoProperties.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/MapNoProperties.kt index e3b2637c1084..a287f91069ae 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/MapNoProperties.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/MapNoProperties.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map) { for (entry in map.entries) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/MapNoProperties.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/MapNoProperties.kt.after index 529d794f1522..2789b45db463 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/MapNoProperties.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/MapNoProperties.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(map: Map) { for ((key, value) in map) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/NoKeyOrValue.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/NoKeyOrValue.kt index 23bee4ab335b..6f376500232b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/NoKeyOrValue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/NoKeyOrValue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'key' is never used // AFTER-WARNING: Variable 'value' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/NoKeyOrValue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/NoKeyOrValue.kt.after index bc37233de69b..82edc68cac97 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/NoKeyOrValue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/NoKeyOrValue.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'key' is never used // AFTER-WARNING: Variable 'value' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/OnlyKeyUsed.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/OnlyKeyUsed.kt index 5641074314a8..1b316e4405fe 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/OnlyKeyUsed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/OnlyKeyUsed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'key2' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/OnlyKeyUsed.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/OnlyKeyUsed.kt.after index fd3f33b2d92a..f9801b456992 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/OnlyKeyUsed.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/OnlyKeyUsed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'key2' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/OtherUsages.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/OtherUsages.kt index f9518785d235..a6ddc1c7d357 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/OtherUsages.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/OtherUsages.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun main(args: Array) { val map = hashMapOf(1 to 1) diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/OtherUsages2.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/OtherUsages2.kt index 6944f9b77098..482bd9e15796 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/OtherUsages2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/OtherUsages2.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun main(args: Array) { val map = hashMapOf(1 to 1) diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/PropertiesNames.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/PropertiesNames.kt index f3cc293e6c0b..fd265a0f355f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/PropertiesNames.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/PropertiesNames.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'myKey' is never used // AFTER-WARNING: Variable 'myValue' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/PropertiesNames.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/PropertiesNames.kt.after index 371397ca5d51..e92a077cb7b1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/PropertiesNames.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/PropertiesNames.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'myKey' is never used // AFTER-WARNING: Variable 'myValue' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/Simple.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/Simple.kt index d04bd89a7350..dd1972fa7e93 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/Simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/Simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/Simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/Simple.kt.after index c02b1788ade6..2bf1bfad1b83 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/Simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/Simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/SomeQualifiedExpressionInRange.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/SomeQualifiedExpressionInRange.kt index 946e1ca83855..3d78ad162bac 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/SomeQualifiedExpressionInRange.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/SomeQualifiedExpressionInRange.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'int1' is never used // AFTER-WARNING: Variable 'int2' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/SomeQualifiedExpressionInRange.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/SomeQualifiedExpressionInRange.kt.after index 8c82f60d8fc4..2b62c9b04438 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/SomeQualifiedExpressionInRange.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/SomeQualifiedExpressionInRange.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used // AFTER-WARNING: Variable 'int1' is never used // AFTER-WARNING: Variable 'int2' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/ValueOnly.kt b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/ValueOnly.kt index 85af874128e8..0336bafef0c0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/ValueOnly.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/ValueOnly.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/ValueOnly.kt.after b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/ValueOnly.kt.after index b28279cd8655..523321083a4e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/ValueOnly.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/ValueOnly.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'args' is never used fun main(args: Array) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/inspectionData/inspections.test b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/inspectionData/inspections.test index e9b13da7f127..e6c57d30087f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/inspectionData/inspections.test +++ b/plugins/kotlin/idea/tests/testData/intentions/iterationOverMap/inspectionData/inspections.test @@ -1,2 +1,2 @@ // INSPECTION_CLASS: org.jetbrains.kotlin.idea.intentions.DestructureInspection -// WITH_RUNTIME +// WITH_STDLIB diff --git a/plugins/kotlin/idea/tests/testData/intentions/joinDeclarationAndAssignment/assignmentForFlexible.kt b/plugins/kotlin/idea/tests/testData/intentions/joinDeclarationAndAssignment/assignmentForFlexible.kt index a7368e3833a8..391471b687b0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/joinDeclarationAndAssignment/assignmentForFlexible.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/joinDeclarationAndAssignment/assignmentForFlexible.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used fun foo() { val x: String diff --git a/plugins/kotlin/idea/tests/testData/intentions/joinDeclarationAndAssignment/assignmentForFlexible.kt.after b/plugins/kotlin/idea/tests/testData/intentions/joinDeclarationAndAssignment/assignmentForFlexible.kt.after index 05959a4d9661..3f144411e6fe 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/joinDeclarationAndAssignment/assignmentForFlexible.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/joinDeclarationAndAssignment/assignmentForFlexible.kt.after @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used fun foo() { val x: String = System.getProperty("") diff --git a/plugins/kotlin/idea/tests/testData/intentions/joinDeclarationAndAssignment/cannotRemoveType2.kt b/plugins/kotlin/idea/tests/testData/intentions/joinDeclarationAndAssignment/cannotRemoveType2.kt index dee8c203de90..c720605f32fd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/joinDeclarationAndAssignment/cannotRemoveType2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/joinDeclarationAndAssignment/cannotRemoveType2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A { var a: List diff --git a/plugins/kotlin/idea/tests/testData/intentions/joinDeclarationAndAssignment/cannotRemoveType2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/joinDeclarationAndAssignment/cannotRemoveType2.kt.after index 5d66e0f5862e..1da23b0d4dfe 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/joinDeclarationAndAssignment/cannotRemoveType2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/joinDeclarationAndAssignment/cannotRemoveType2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A { var a: List = emptyList() diff --git a/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/destructuringParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/destructuringParameter.kt index 371e3744f44e..eee7ccdd079a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/destructuringParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/destructuringParameter.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo(f: (Pair) -> String) {} fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/hasReturn4.kt b/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/hasReturn4.kt index 592827ad282c..d64665463f74 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/hasReturn4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/hasReturn4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used fun foo(f: (Int) -> String) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/hasReturn4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/hasReturn4.kt.after index ef719b87f27e..a587e99d19ab 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/hasReturn4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/hasReturn4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used fun foo(f: (Int) -> String) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/withLabel.kt b/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/withLabel.kt index de8590acd8dd..94f330f6298b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/withLabel.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/withLabel.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'action' is never used fun testAAA(action: () -> Unit) = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/withLabel.kt.after b/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/withLabel.kt.after index 4cd1bf23a0f0..8a7654f2b2b3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/withLabel.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/withLabel.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'action' is never used fun testAAA(action: () -> Unit) = Unit diff --git a/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/withPackage.kt b/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/withPackage.kt index 24ba1be8d50e..f0a4b0949294 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/withPackage.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/withPackage.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used package test diff --git a/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/withPackage.kt.after b/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/withPackage.kt.after index 814c8abd1659..bc3a52c2fe16 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/withPackage.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/lambdaToAnonymousFunction/withPackage.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used package test diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/KT14191.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/KT14191.kt index 98d217de3e1c..e7ea8b5b6bb2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/KT14191.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/KT14191.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull().sum()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNotNull().sum()'" fun f(list: List): Int{ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/KT14191.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/KT14191.kt.after index b63311d981ab..553671a3ce01 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/KT14191.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/KT14191.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull().sum()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNotNull().sum()'" fun f(list: List): Int{ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/KT14191.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/KT14191.kt.after2 index 3553d767776b..04a3dd995690 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/KT14191.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/KT14191.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull().sum()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNotNull().sum()'" fun f(list: List): Int{ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/KT13998.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/KT13998.kt index b0d4258d41b9..52e89060be33 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/KT13998.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/KT13998.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'all{}'" // IS_APPLICABLE_2: false fun foo(): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/KT13998.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/KT13998.kt.after index d8c1de8420dd..1ef7fd74da49 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/KT13998.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/KT13998.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'all{}'" // IS_APPLICABLE_2: false fun foo(): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/KT13998_1.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/KT13998_1.kt index ca8ed5f91be1..ae645d9394a0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/KT13998_1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/KT13998_1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'all{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Parameter 'b' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/KT13998_1.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/KT13998_1.kt.after index 4e9cefa0739f..858894172b06 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/KT13998_1.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/KT13998_1.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'all{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Parameter 'b' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/anyNotNull.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/anyNotNull.kt index 9f07c42f895f..cedb3df30ed1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/anyNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/anyNotNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false fun foo(list: List): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/anyNotNull.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/anyNotNull.kt.after index 9151fcdee418..f4567f2d6651 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/anyNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/anyNotNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false fun foo(list: List): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign.kt index 040a9b0efe3e..fa18c3281841 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'found' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign.kt.after index bd67073f6cc6..4539fe169da7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'found' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_moveDeclaration.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_moveDeclaration.kt index e19e0edb9b6b..dde43cb00e93 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_moveDeclaration.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_moveDeclaration.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'found' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_moveDeclaration.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_moveDeclaration.kt.after index d4c0a70eebf7..a8c985462a94 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_moveDeclaration.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_moveDeclaration.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'found' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_moveInitialization.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_moveInitialization.kt index 5ae76f2e6722..543f63f231de 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_moveInitialization.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_moveInitialization.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: The value 'list.any { it.length > 0 }' assigned to 'var found: Boolean defined in foo' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_moveInitialization.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_moveInitialization.kt.after index 4c4683c6e389..16c8960aa7f0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_moveInitialization.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_moveInitialization.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: The value 'list.any { it.length > 0 }' assigned to 'var found: Boolean defined in foo' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_noBreak.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_noBreak.kt index 22e0c0f14857..67ad3e02e32b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_noBreak.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_noBreak.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'found' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_noBreak.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_noBreak.kt.after index bd67073f6cc6..4539fe169da7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_noBreak.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_noBreak.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'found' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_nonBooleanResult.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_nonBooleanResult.kt index e9c0f1fec7ef..095bb32c4dd7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_nonBooleanResult.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_nonBooleanResult.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_nonBooleanResult.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_nonBooleanResult.kt.after index 4997ea1eedfd..1d0a283d48ba 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_nonBooleanResult.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_nonBooleanResult.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_nonBooleanResult2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_nonBooleanResult2.kt index 23940e231840..2ec712638916 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_nonBooleanResult2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifAssign_nonBooleanResult2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifReturn.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifReturn.kt index 4c0372149b9a..2a8144cc4297 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifReturn.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false fun foo(list: List): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifReturn.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifReturn.kt.after index 28f66c790ca8..d487b7d4044d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifReturn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false fun foo(list: List): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifReturn_nonBooleanResult.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifReturn_nonBooleanResult.kt index 365b95dd90a9..e0b8a191f50d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifReturn_nonBooleanResult.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifReturn_nonBooleanResult.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifReturn_nonBooleanResult.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifReturn_nonBooleanResult.kt.after index c3e0a944f58a..ad409bf03cd6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifReturn_nonBooleanResult.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/ifReturn_nonBooleanResult.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/indexNeeded.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/indexNeeded.kt index 479903bad1d7..c435875f978b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/indexNeeded.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/indexNeeded.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.any()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.any()'" // AFTER-WARNING: Variable 'found' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/indexNeeded.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/indexNeeded.kt.after index c74135598672..6f22b6c1c8eb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/indexNeeded.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/indexNeeded.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.any()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.any()'" // AFTER-WARNING: Variable 'found' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/indexNeeded.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/indexNeeded.kt.after2 index 111a4e7cd782..9e293f412163 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/indexNeeded.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/indexNeeded.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.any()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.any()'" // AFTER-WARNING: Variable 'found' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/kt17730.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/kt17730.kt index 31dfdcf5ac84..6b576251a229 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/kt17730.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/kt17730.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'all{}'" // IS_APPLICABLE_2: false fun foo(): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/kt17730.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/kt17730.kt.after index 4bed3a08072b..fc9420c72100 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/kt17730.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/kt17730.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'all{}'" // IS_APPLICABLE_2: false fun foo(): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/kt17730_1.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/kt17730_1.kt index d3f4603afd7e..90a6b9ae96e2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/kt17730_1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/kt17730_1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false fun foo(): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/kt17730_1.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/kt17730_1.kt.after index 5a8ee65b1fb6..93407492c1d7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/kt17730_1.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/kt17730_1.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false fun foo(): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/none.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/none.kt index cb2bb57fc542..de99f1c76430 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/none.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/none.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'none{}'" // IS_APPLICABLE_2: false fun foo(list: List): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/none.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/none.kt.after index a4076af88f2f..19cad65eaa54 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/none.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/none.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'none{}'" // IS_APPLICABLE_2: false fun foo(list: List): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/return.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/return.kt index e7f435947e3d..a2efcda2714a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/return.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/return.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any()'" // IS_APPLICABLE_2: false fun foo(list: List): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/return.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/return.kt.after index ede5a8749fd4..b1ba1887261c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/return.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/any/return.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any()'" // IS_APPLICABLE_2: false fun foo(list: List): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/array.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/array.kt index 5da72d08903f..f4a4e4f11644 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/array.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/array.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(array: Array): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/array.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/array.kt.after index 6697879eb69e..29c51f5d73a5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/array.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/array.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(array: Array): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/asSequenceOnly.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/asSequenceOnly.kt index 76334a23828c..02d1d89d9872 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/asSequenceOnly.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/asSequenceOnly.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/asSequenceOnly.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/asSequenceOnly.kt.after2 index 5c6535650a73..d4af2b47c9c2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/asSequenceOnly.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/asSequenceOnly.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/1.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/1.kt index 5ac52c19d812..c4cb4ffd9799 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'contains()'" // IS_APPLICABLE_2: false fun foo(list: List): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/1.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/1.kt.after index 416433381bac..690e1ee3280f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/1.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/1.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'contains()'" // IS_APPLICABLE_2: false fun foo(list: List): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/2.kt index 91f7b5c4d713..94ebd3cc570c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'contains()'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'v' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/2.kt.after index 9c056c612c83..9e8e4df02e65 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'contains()'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'v' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/3.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/3.kt index 7e2ce4969f51..2b0d5c9c64c7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'contains()'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'v' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/3.kt.after index baa609c664fc..7c149b303447 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'contains()'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'v' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/4.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/4.kt index 8b277c950158..b4463982eec3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'contains()'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/4.kt.after index 22bd7a087bff..090dad173932 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/contains/4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'contains()'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/1.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/1.kt index 760fd3116d9e..6c8612177aa5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'count{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/1.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/1.kt.after index 56ce07064764..31e2dc9378d0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/1.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/1.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'count{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/2.kt index 318d1ce617c2..f540d77d5099 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'count()'" // IS_APPLICABLE_2: false fun foo(list: Iterable): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/2.kt.after index b96f6d55d384..e3c28287a3ce 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'count()'" // IS_APPLICABLE_2: false fun foo(list: Iterable): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countIsInstance.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countIsInstance.kt index a8172b18210a..9b2df40e1c09 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countIsInstance.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countIsInstance.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'count{}'" // IS_APPLICABLE_2: false fun f11(list: List): Int{ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countIsInstance.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countIsInstance.kt.after index 4161c7525f46..db7c98d5f558 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countIsInstance.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countIsInstance.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'count{}'" // IS_APPLICABLE_2: false fun f11(list: List): Int{ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countNotNull.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countNotNull.kt index bbd7a80af9a5..1f96f2f63752 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countNotNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'count{}'" // IS_APPLICABLE_2: false fun f11(list: List): Int{ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countNotNull.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countNotNull.kt.after index 9bded7396313..b78497d9d057 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countNotNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'count{}'" // IS_APPLICABLE_2: false fun f11(list: List): Int{ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countSomethingAndNotNull.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countSomethingAndNotNull.kt index 98b96a2512d9..bbb4bfcbd167 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countSomethingAndNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countSomethingAndNotNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'count{}'" // IS_APPLICABLE_2: false fun f(list: List): Int{ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countSomethingAndNotNull.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countSomethingAndNotNull.kt.after index b4c8d11caa12..374912e3abf9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countSomethingAndNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/countSomethingAndNotNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'count{}'" // IS_APPLICABLE_2: false fun f(list: List): Int{ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/long.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/long.kt index 3caed403dce3..09ec5e634f99 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/long.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/long.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List): Long { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/long.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/long.kt.after index 2e84fe6ec7bf..59946d39a22d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/long.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/long.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List): Long { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/long.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/long.kt.after2 index 17c09852c63e..1263ef262900 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/long.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/long.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List): Long { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/nonConstantInitial.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/nonConstantInitial.kt index e40db4a6ed69..e4b4c03eddfa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/nonConstantInitial.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/nonConstantInitial.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'count{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/nonConstantInitial.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/nonConstantInitial.kt.after index 6608508b9d60..8c49688299af 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/nonConstantInitial.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/nonConstantInitial.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'count{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/nonZeroInitial.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/nonZeroInitial.kt index d85df7d25e57..cd41ed4cfd1b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/nonZeroInitial.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/nonZeroInitial.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'count{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/nonZeroInitial.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/nonZeroInitial.kt.after index 41e751584fb8..3db6ab9426f4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/nonZeroInitial.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/nonZeroInitial.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'count{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/prefix.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/prefix.kt index 614e6263a839..e1c121819ffc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/prefix.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/prefix.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'count{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/prefix.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/prefix.kt.after index 56ce07064764..31e2dc9378d0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/prefix.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/prefix.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'count{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/variableUsedBefore.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/variableUsedBefore.kt index 380d2993bfe5..324218a57da4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/variableUsedBefore.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/variableUsedBefore.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/variableUsedBefore.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/variableUsedBefore.kt.after2 index 9ba641d34932..7e1f3e7ecd4b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/variableUsedBefore.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/count/variableUsedBefore.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/customTypeWithIterator.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/customTypeWithIterator.kt index f1d42f5a4e9f..fc04410323f4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/customTypeWithIterator.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/customTypeWithIterator.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false class X { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/embeddedBreak1.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/embeddedBreak1.kt index dcd6f9bba7cd..453b3cceb17f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/embeddedBreak1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/embeddedBreak1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/embeddedBreak2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/embeddedBreak2.kt index f062860a3bc7..10d2730893e7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/embeddedBreak2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/embeddedBreak2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/embeddedContinue.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/embeddedContinue.kt index b31106c55576..dd7b535094fd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/embeddedContinue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/embeddedContinue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign.kt index 573eeab12bfd..496c85f0e6aa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign.kt.after index 87bb47fb7b9e..fd718f0f46d1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign2.kt index f00998a9c371..7de3f455fbc3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign2.kt.after index 6d8855feafb6..f2a68d91057f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assignFilterIndexed.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assignFilterIndexed.kt index be29ca805c84..26517500cbf9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assignFilterIndexed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assignFilterIndexed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}'" // IS_APPLICABLE_2: false import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assignFilterIndexed.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assignFilterIndexed.kt.after index 744d83168b54..71e91f26385e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assignFilterIndexed.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assignFilterIndexed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}'" // IS_APPLICABLE_2: false import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assignFilterNotNull.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assignFilterNotNull.kt index dd1ce8c13901..4c7603a64713 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assignFilterNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assignFilterNotNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull()'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assignFilterNotNull.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assignFilterNotNull.kt.after index ec16759b255f..2898e597fcfe 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assignFilterNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assignFilterNotNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull()'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired.kt index be8a4fd7d42d..d93a226e85e9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterTo(){}'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired.kt.after index 252eb9bd441f..46f893856193 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterTo(){}'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired2.kt index f5df472770f6..1ab97a629393 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterTo(){}'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired2.kt.after index ddd986c07694..27fc7b673666 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterTo(){}'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired3.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired3.kt index 4d37dbe99eb0..f57288e5f432 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterTo(){}'" // IS_APPLICABLE_2: false import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired3.kt.after index 88b59cb3a23e..f1e59c406023 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_ArrayListRequired3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterTo(){}'" // IS_APPLICABLE_2: false import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_MutableListRequired.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_MutableListRequired.kt index 6d9aea86058c..b4fab54c73f7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_MutableListRequired.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_MutableListRequired.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.toMutableList()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.toMutableList()'" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_MutableListRequired.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_MutableListRequired.kt.after index c90212bf0e3b..cb339e884a64 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_MutableListRequired.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_MutableListRequired.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.toMutableList()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.toMutableList()'" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_MutableListRequired.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_MutableListRequired.kt.after2 index 923d18caf99a..2d607fed8da9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_MutableListRequired.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_MutableListRequired.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.toMutableList()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.toMutableList()'" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_breakAndContinue.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_breakAndContinue.kt index 331bb3f49078..887c843d2e0e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_breakAndContinue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_breakAndContinue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_breakAndContinue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_breakAndContinue.kt.after index 52aacf9ffe99..65995964b897 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_breakAndContinue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/assign_breakAndContinue.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/cannotSplitOutFilterIsInstance.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/cannotSplitOutFilterIsInstance.kt index f64dd30ccad2..1e2ec77f20ee 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/cannotSplitOutFilterIsInstance.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/cannotSplitOutFilterIsInstance.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List, out: MutableList){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterIsInstance.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterIsInstance.kt index 08a76416b8bd..82876e1cddba 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterIsInstance.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterIsInstance.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexedTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, out: MutableList){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterIsInstance.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterIsInstance.kt.after index 1f055dbcfc99..9ca42f041fce 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterIsInstance.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterIsInstance.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexedTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, out: MutableList){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterNotNull.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterNotNull.kt index d01e29cbe824..3b86cd868b66 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterNotNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterNotNull.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterNotNull.kt.after index d2919ceab26d..179f1a77d7d8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterNotNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterNotNull.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterNotNull.kt.after2 index cf680b22c4bb..2eb355c41ea0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterNotNull.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/doNotSplitOutFilterNotNull.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed.kt index d75dc118a1b3..07c5e2706b13 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed.kt.after index 1fca72f9826b..fdd5e1a8d20d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed.kt.after2 index 39e1f4648098..e020866fcd69 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed2.kt index 6d5a4805e8d6..3585e13d32d9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed2.kt.after index 55fae937244c..8fd81f32d2e1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed2.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed2.kt.after2 index 0f3c6a8ad493..dcf3842c179e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed2.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed2.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedAndFlatMapWithContinue.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedAndFlatMapWithContinue.kt index 5636f5eefa86..c21731ef4b6f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedAndFlatMapWithContinue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedAndFlatMapWithContinue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '...flatMap{}.filter{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence()...flatMap{}.filter{}.mapTo(){}'" // AFTER-WARNING: Parameter 's' is never used, could be renamed to _ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedAndFlatMapWithContinue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedAndFlatMapWithContinue.kt.after index d504fb56f030..271a6970f162 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedAndFlatMapWithContinue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedAndFlatMapWithContinue.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '...flatMap{}.filter{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence()...flatMap{}.filter{}.mapTo(){}'" // AFTER-WARNING: Parameter 's' is never used, could be renamed to _ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedAndFlatMapWithContinue.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedAndFlatMapWithContinue.kt.after2 index 47fed7b7c435..3ff288dd5e77 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedAndFlatMapWithContinue.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedAndFlatMapWithContinue.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '...flatMap{}.filter{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence()...flatMap{}.filter{}.mapTo(){}'" // AFTER-WARNING: Parameter 's' is never used, could be renamed to _ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedTo.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedTo.kt index 1fec930f357a..fef7bbdfcc15 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedTo.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexedTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedTo.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedTo.kt.after index 96b2702058fb..b8b249e3123c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexedTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedTo2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedTo2.kt index 2137e935cae7..1dd205399074 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedTo2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedTo2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexedTo(){}'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedTo2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedTo2.kt.after index 09c8342897ee..b1ff58aa0155 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedTo2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexedTo2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexedTo(){}'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_indexChangedTwice.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_indexChangedTwice.kt index 50268f90a5e8..e92d7769899b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_indexChangedTwice.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_indexChangedTwice.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List, target: MutableCollection): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_indexStartNotZero.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_indexStartNotZero.kt index 50d24ffb7504..1b98d1a296c7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_indexStartNotZero.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_indexStartNotZero.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_indexUsedAfter.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_indexUsedAfter.kt index daa16795da45..b1f2563c2bef 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_indexUsedAfter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_indexUsedAfter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List, target: MutableCollection): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_indexUsedEarlierInLoop.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_indexUsedEarlierInLoop.kt index 28df43ad579b..9e2e0954ace2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_indexUsedEarlierInLoop.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_indexUsedEarlierInLoop.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List, target: MutableCollection): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge1.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge1.kt index 416c13527f87..940300c1daa1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge1.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge1.kt.after index 5f0c887df8e6..69fafec6a73c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge1.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge1.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge1.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge1.kt.after2 index 0265730ff7ab..593bae240ffe 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge1.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge1.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge2.kt index ac588e892091..e8058472feb5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge2.kt.after index 455a6154e07b..91b7bc5552c6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge2.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge2.kt.after2 index 14688d8226ff..77fc2f6edf22 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge2.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge2.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge3.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge3.kt index 48d82e09802a..b1e615b2fefb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge3.kt.after index 232347db8842..6f856dda1d6e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge3.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge3.kt.after2 index 6f5c252129f8..f4c555329ed2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge3.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge3.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge4.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge4.kt index de4a76695137..715014724a9d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge4.kt.after index 5f7d0798f311..5e2e5eef6c4f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge4.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge4.kt.after2 index 3999b1d6f055..8b6b42861319 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge4.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_merge4.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_twoIndices.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_twoIndices.kt index 2ed028524ed3..5d7e47c73f33 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_twoIndices.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_twoIndices.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.filterIndexedTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.filterIndexedTo(){}'" fun foo(list: List, target: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_twoIndices.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_twoIndices.kt.after index 31c47447aa99..b49170f42786 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_twoIndices.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_twoIndices.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.filterIndexedTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.filterIndexedTo(){}'" fun foo(list: List, target: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_twoIndices.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_twoIndices.kt.after2 index 6b9579f3ff58..aed4c4f7c22e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_twoIndices.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_twoIndices.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.filterIndexedTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.filterIndexedTo(){}'" fun foo(list: List, target: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_twoIndicesUsed.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_twoIndicesUsed.kt index b68788fa8cf9..bffce2027e7b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_twoIndicesUsed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIndexed_twoIndicesUsed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List, target: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance.kt index 6b13850375a6..e00695d866f8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIsInstance<>().map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIsInstance<>().map{}.firstOrNull()'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance.kt.after index 9a54696cf671..00da831a315a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIsInstance<>().map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIsInstance<>().map{}.firstOrNull()'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance.kt.after2 index 9b64cf3c87fa..b2eb3caf89e6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIsInstance<>().map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIsInstance<>().map{}.firstOrNull()'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstanceTo.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstanceTo.kt index ad6a7857cbfa..4ddfcf2d3dd0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstanceTo.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstanceTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '+= filterIsInstance<>()'" // INTENTION_TEXT_2: "Replace with '+= asSequence().filterIsInstance<>()'" diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstanceTo.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstanceTo.kt.after index 148c60f60fff..7a4384ebc03e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstanceTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstanceTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '+= filterIsInstance<>()'" // INTENTION_TEXT_2: "Replace with '+= asSequence().filterIsInstance<>()'" diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstanceTo.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstanceTo.kt.after2 index b9ba8d5bb57d..053e87c75b76 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstanceTo.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstanceTo.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '+= filterIsInstance<>()'" // INTENTION_TEXT_2: "Replace with '+= asSequence().filterIsInstance<>()'" diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance_ifContinue.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance_ifContinue.kt index 128a8b826430..be3c04d94659 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance_ifContinue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance_ifContinue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIsInstance<>().map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIsInstance<>().map{}.firstOrNull()'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance_ifContinue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance_ifContinue.kt.after index 9a54696cf671..00da831a315a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance_ifContinue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance_ifContinue.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIsInstance<>().map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIsInstance<>().map{}.firstOrNull()'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance_ifContinue.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance_ifContinue.kt.after2 index 9b64cf3c87fa..b2eb3caf89e6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance_ifContinue.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterIsInstance_ifContinue.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIsInstance<>().map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIsInstance<>().map{}.firstOrNull()'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull.kt index 76b9b6a18ad6..b3cbded3af31 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull().map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNotNull().map{}.firstOrNull()'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull.kt.after index 48e25f3044ca..f78d0a4707ef 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull().map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNotNull().map{}.firstOrNull()'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull.kt.after2 index 34e9516102dd..cb85ddd3a0ad 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull().map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNotNull().map{}.firstOrNull()'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNullTo.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNullTo.kt index 8e6b0bb82ef6..42a6bd5830ac 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNullTo.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNullTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNullTo()'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNullTo.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNullTo.kt.after index b931aa6d8688..10b5355c5d6f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNullTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNullTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNullTo()'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNullTo2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNullTo2.kt index 4b59422c7855..73cc63d81fb6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNullTo2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNullTo2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNullTo()'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'target' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNullTo2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNullTo2.kt.after index b97896b3e897..9ff1f939e97d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNullTo2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNullTo2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNullTo()'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'target' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull_ifContinue.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull_ifContinue.kt index b4a639220175..e603eab26f65 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull_ifContinue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull_ifContinue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull().map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNotNull().map{}.firstOrNull()'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull_ifContinue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull_ifContinue.kt.after index f2964ec58b36..a7fb2ddf7bee 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull_ifContinue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull_ifContinue.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull().map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNotNull().map{}.firstOrNull()'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull_ifContinue.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull_ifContinue.kt.after2 index 85a6f6b9bdf8..94524cb86acf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull_ifContinue.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotNull_ifContinue.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull().map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNotNull().map{}.firstOrNull()'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotTo.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotTo.kt index 142acbb2ca14..b0e54171f263 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotTo.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotTo(){}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Parameter 'string' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotTo.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotTo.kt.after index 3f85ec1f8060..9f81993810ef 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNotTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotTo(){}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Parameter 'string' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNot_ifContinue.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNot_ifContinue.kt index e30d3e7fe464..5482bcd6b0c9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNot_ifContinue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNot_ifContinue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNot{}.map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNot{}.map{}.firstOrNull()'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNot_ifContinue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNot_ifContinue.kt.after index bd5f2bd55cd2..721e704462bc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNot_ifContinue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNot_ifContinue.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNot{}.map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNot{}.map{}.firstOrNull()'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNot_ifContinue.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNot_ifContinue.kt.after2 index c5a2e1477554..66cd8ae84c78 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNot_ifContinue.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterNot_ifContinue.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNot{}.map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNot{}.map{}.firstOrNull()'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterTo.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterTo.kt index 08d6c6de73e6..d8df2be0ab0d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterTo.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterTo.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterTo.kt.after index 3c6ba89a8cae..f2fe1682bfe0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterTo2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterTo2.kt index c52093ee9989..3acffcbf0e61 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterTo2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterTo2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterTo2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterTo2.kt.after index 0c699aefdff4..f9fb3fb1c558 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterTo2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/filterTo2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/glueTogetherFilterNotNull.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/glueTogetherFilterNotNull.kt index 1e73d212b918..bebd8b4f8ac9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/glueTogetherFilterNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/glueTogetherFilterNotNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/glueTogetherFilterNotNull.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/glueTogetherFilterNotNull.kt.after index d2919ceab26d..179f1a77d7d8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/glueTogetherFilterNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/glueTogetherFilterNotNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/glueTogetherFilterNotNull.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/glueTogetherFilterNotNull.kt.after2 index cf680b22c4bb..2eb355c41ea0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/glueTogetherFilterNotNull.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/glueTogetherFilterNotNull.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinue.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinue.kt index a145c540adee..c8e184342653 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinue.kt.after index 8f33180b3eb7..b89b0bf961a4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinue.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinue2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinue2.kt index 8362f3b6794b..6bd8e89cd69b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinue2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinue2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinue2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinue2.kt.after index e009fe596710..492a5e76ceaa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinue2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinue2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinueInBlock.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinueInBlock.kt index 424a0920727f..6d6f0086c4b6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinueInBlock.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinueInBlock.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinueInBlock.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinueInBlock.kt.after index 8f33180b3eb7..b89b0bf961a4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinueInBlock.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinueInBlock.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinueWithLabel.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinueWithLabel.kt index dfe387a98cfb..f29184e3d011 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinueWithLabel.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifContinueWithLabel.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifElse.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifElse.kt index 342082fed53b..0dbd42dc8697 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifElse.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifElse.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifElse.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifElse.kt.after index 6f7ee6472230..42bccae81d23 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifElse.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/ifElse.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/inputVarNotUsed.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/inputVarNotUsed.kt index cd412805c754..039c98196504 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/inputVarNotUsed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/inputVarNotUsed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/inputVariableNotUsed.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/inputVariableNotUsed.kt index 6d5ac5809b1f..edefe049e49d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/inputVariableNotUsed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/inputVariableNotUsed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/mergeMultiple.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/mergeMultiple.kt index 779381f9853c..08d81252662d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/mergeMultiple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/mergeMultiple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.map{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/mergeMultiple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/mergeMultiple.kt.after index 27fb2ea75043..42af8ea6ee6e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/mergeMultiple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/mergeMultiple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.map{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/mergeMultiple.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/mergeMultiple.kt.after2 index 0ac647b6a179..684d839ccddf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/mergeMultiple.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/mergeMultiple.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.map{}.firstOrNull()'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterIsInstance.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterIsInstance.kt index 06ab8da0dcf3..e08e6843c433 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterIsInstance.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterIsInstance.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIsInstance<>().filterTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIsInstance<>().filterTo(){}'" fun foo(list: List, out: MutableList){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterIsInstance.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterIsInstance.kt.after index 2767b65ff12d..d91b1024008b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterIsInstance.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterIsInstance.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIsInstance<>().filterTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIsInstance<>().filterTo(){}'" fun foo(list: List, out: MutableList){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterIsInstance.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterIsInstance.kt.after2 index faa9d9f43f8e..afa4fef7621d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterIsInstance.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterIsInstance.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIsInstance<>().filterTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIsInstance<>().filterTo(){}'" fun foo(list: List, out: MutableList){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull.kt index de6b208effb5..fed41441174b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull().filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNotNull().filter{}.forEach{}'" fun foo(list: List){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull.kt.after index 55a99ce95ef6..53c1b54134cb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull().filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNotNull().filter{}.forEach{}'" fun foo(list: List){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull.kt.after2 index 30451be15338..6a8ab992629a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull().filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNotNull().filter{}.forEach{}'" fun foo(list: List){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull2.kt index fc7384b054f8..0deecca98368 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull().filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNotNull().filter{}.forEach{}'" fun foo(list: List){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull2.kt.after index 55a99ce95ef6..53c1b54134cb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull().filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNotNull().filter{}.forEach{}'" fun foo(list: List){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull2.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull2.kt.after2 index 30451be15338..6a8ab992629a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull2.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/filter/splitOutFilterNotNull2.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull().filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNotNull().filter{}.forEach{}'" fun foo(list: List){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/KT14292.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/KT14292.kt index cba04e5a66a6..19c97291c58a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/KT14292.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/KT14292.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/KT14292.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/KT14292.kt.after index b8d1e37114c7..d3cbd3d34a5b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/KT14292.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/KT14292.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/assignmentInitialization.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/assignmentInitialization.kt index efbdf6b109ba..1374d03065be 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/assignmentInitialization.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/assignmentInitialization.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: The value 'list.firstOrNull { it.length > 0 }' assigned to 'var result: String? defined in foo' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/assignmentInitialization.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/assignmentInitialization.kt.after index cab70ca36d23..cce80d239571 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/assignmentInitialization.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/assignmentInitialization.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: The value 'list.firstOrNull { it.length > 0 }' assigned to 'var result: String? defined in foo' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/cannotUseLet.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/cannotUseLet.kt index 2f25b8995d15..7543c1ee67e7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/cannotUseLet.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/cannotUseLet.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign.kt index 91e2ca27a30d..51ee86cba2b0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign.kt.after index 099c098260e6..37aab2c9258d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_breakWithLabel.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_breakWithLabel.kt index 259f134c79de..f6fee2547eb3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_breakWithLabel.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_breakWithLabel.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_cannotBeVal.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_cannotBeVal.kt index a3788aac23da..1f7784c135c3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_cannotBeVal.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_cannotBeVal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_cannotBeVal.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_cannotBeVal.kt.after index c8edd2af8b11..ec9db6347dfc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_cannotBeVal.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_cannotBeVal.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_preserveComments.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_preserveComments.kt index 6dc7e9f7daab..d71960a41990 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_preserveComments.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_preserveComments.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_preserveComments.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_preserveComments.kt.after index aef285a4b64f..c1d58410430d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_preserveComments.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_preserveComments.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_variableUsedBefore.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_variableUsedBefore.kt index f60b086e7af0..f9a5ae8e7b08 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_variableUsedBefore.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifAssign_variableUsedBefore.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifReturn.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifReturn.kt index 8d129e54477e..18b2d114be2d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifReturn.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifReturn.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifReturn.kt.after index aefa3269ea61..b99233aea019 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/ifReturn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/let.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/let.kt index 9a3e621e6df5..3a58f2c167cb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/let.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/let.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/let.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/let.kt.after index 4fa845beab87..9eb9376aa648 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/let.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/let.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/let2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/let2.kt index 0872445612f1..0bf6c4acf9d3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/let2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/let2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/let2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/let2.kt.after index b13748e1501e..743ef7dab7e6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/let2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/let2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/letOrNotNull.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/letOrNotNull.kt index 747cd9dd74da..d59015620a60 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/letOrNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/letOrNotNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/letOrNotNull.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/letOrNotNull.kt.after index 9f0bd384f98b..c788e3d6795b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/letOrNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/letOrNotNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/return.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/return.kt index 27338835608c..cbebb06cf6ba 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/return.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/return.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull()'" // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/return.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/return.kt.after index a3a245a3f5e1..49b1d615388b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/return.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/return.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull()'" // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnExpression.kt index 19f77db7957a..3764bdd6c1b8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnExpression.kt.after index e7145d2471f3..15de22d47636 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnExpressionOrNotNull.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnExpressionOrNotNull.kt index 7f57906aec28..38c953e1f9fb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnExpressionOrNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnExpressionOrNotNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnExpressionOrNotNull.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnExpressionOrNotNull.kt.after index c33d02414d37..f74fc9e5415e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnExpressionOrNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnExpressionOrNotNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnNotNullIfNone.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnNotNullIfNone.kt index 362e7d8f4b23..cb86d18ed208 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnNotNullIfNone.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnNotNullIfNone.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List): String { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnNotNullIfNone.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnNotNullIfNone.kt.after index 949234a3afcd..83d1b4e5872f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnNotNullIfNone.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnNotNullIfNone.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List): String { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnNotNullIfNone2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnNotNullIfNone2.kt index 3df09cfa6d79..8d930e8bbe12 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnNotNullIfNone2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/returnNotNullIfNone2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/return_comment.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/return_comment.kt index 2ffbd0e5d2ab..da0989af2732 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/return_comment.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/return_comment.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull()'" // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/return_comment.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/return_comment.kt.after index 526d79d156b7..daec562f55b2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/return_comment.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/return_comment.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull()'" // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/safeDotExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/safeDotExpression.kt index 1dccf9b0a8d3..c4dbb0ff0363 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/safeDotExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/safeDotExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/safeDotExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/safeDotExpression.kt.after index 4774f49675f5..6d7b913477ef 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/safeDotExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/safeDotExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/withMergedFilter.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/withMergedFilter.kt index bfb69532ed48..682f35cdac9d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/withMergedFilter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/withMergedFilter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/withMergedFilter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/withMergedFilter.kt.after index 865f2d68c001..3035d3b12049 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/withMergedFilter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/firstOrNull/withMergedFilter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'firstOrNull{}'" // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/break.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/break.kt index 91c659bc64cf..770556126408 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/break.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/break.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMap{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMap{}.firstOrNull{}'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/break.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/break.kt.after index 968007625acd..a2f51403948c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/break.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/break.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMap{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMap{}.firstOrNull{}'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/break.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/break.kt.after2 index fa420e84c411..eccae70e2c95 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/break.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/break.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMap{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMap{}.firstOrNull{}'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/continue.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/continue.kt index f74c874cb63d..50e2658ea3e7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/continue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/continue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMap{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMap{}.firstOrNull{}'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/continue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/continue.kt.after index 625b0f498bff..c2b7fd6cbe10 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/continue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/continue.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMap{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMap{}.firstOrNull{}'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/continue.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/continue.kt.after2 index c361fc45a104..1ffd86e83d18 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/continue.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/continue.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMap{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMap{}.firstOrNull{}'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo.kt index b2930d8dbb73..609de63998ed 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMapTo(){}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo.kt.after index 939b0c6fb59b..8dd84f17debb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMapTo(){}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo.kt.after2 index 7207625e2df9..0857ff56da34 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMapTo(){}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo2.kt index c3f4e0ff1709..93e45e39976f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMapTo(){}'" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo2.kt.after index 33a4f34533b6..795cc3b622f2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMapTo(){}'" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo2.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo2.kt.after2 index 016cddce5852..269a29cdf82a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo2.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo2.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMapTo(){}'" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo3.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo3.kt index 04068c70e838..068357a1bf95 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMapTo(){}'" fun foo(list: List): List { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo3.kt.after index bbcf02a64673..b32a0065b444 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMapTo(){}'" fun foo(list: List): List { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo3.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo3.kt.after2 index 80ca00aa82b0..d1d7897dcba6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo3.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/flatMapTo3.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMapTo(){}'" fun foo(list: List): List { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/indexUsed.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/indexUsed.kt index d51b929ca340..5f6fd84cbf23 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/indexUsed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/indexUsed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.flatMap{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.flatMap{}.firstOrNull{}'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/indexUsed.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/indexUsed.kt.after index 6a46caf1c432..397d2120efa5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/indexUsed.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/indexUsed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.flatMap{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.flatMap{}.firstOrNull{}'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/indexUsed.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/indexUsed.kt.after2 index 190fc4add60e..b6d036ecb790 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/indexUsed.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/indexUsed.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.flatMap{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.flatMap{}.firstOrNull{}'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/inputVarStillNeeded.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/inputVarStillNeeded.kt index f68ec731237e..e754327806df 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/inputVarStillNeeded.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/inputVarStillNeeded.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/notIterable.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/notIterable.kt index 51cc9b335526..5384e968decf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/notIterable.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/notIterable.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List): Char? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/simple.kt index 0f4595f9e4ea..1d1ffa14872d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMap{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMap{}.firstOrNull{}'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/simple.kt.after index 76eecd13fbe2..e2345097888a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMap{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMap{}.firstOrNull{}'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/simple.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/simple.kt.after2 index 7e956cb25dd8..53b283c01cae 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/simple.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/simple.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMap{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMap{}.firstOrNull{}'" fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/wrongBreak.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/wrongBreak.kt index ddf4cbddbe3d..446af14431de 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/wrongBreak.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/wrongBreak.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/wrongContinue.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/wrongContinue.kt index fcc893c3856b..7dfc597952e9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/wrongContinue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/flatMap/wrongContinue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/KT14341.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/KT14341.kt index d49de0dadc09..27c3c50bb845 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/KT14341.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/KT14341.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/KT14341.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/KT14341.kt.after index 9aa22c1a89af..f9921bcbfc26 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/KT14341.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/KT14341.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/KT14341.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/KT14341.kt.after2 index fa38f21e2805..a50ec2c34334 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/KT14341.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/KT14341.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List){ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/KT21083.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/KT21083.kt index a0cece6c34aa..02ff596d4a6b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/KT21083.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/KT21083.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(l: List<() -> Boolean>) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/indexed.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/indexed.kt index 7ec4b3306800..296f0f5fd7f2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/indexed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/indexed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.forEachIndexed{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.forEachIndexed{}'" fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/indexed.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/indexed.kt.after index a2df71859d8d..f396845dfad6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/indexed.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/indexed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.forEachIndexed{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.forEachIndexed{}'" fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/indexed.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/indexed.kt.after2 index 6db83a40a6ad..22d6c6807dae 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/indexed.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/indexed.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.forEachIndexed{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.forEachIndexed{}'" fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/indexed_nothingElse.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/indexed_nothingElse.kt index 59db6f726d55..cb862576ceac 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/indexed_nothingElse.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/indexed_nothingElse.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/notAvailable.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/notAvailable.kt index 7b669e292ff0..f45c59f69469 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/notAvailable.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/notAvailable.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/notIndexed.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/notIndexed.kt index e16c2d2cb5a3..4aa8e2d7441e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/notIndexed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/notIndexed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.forEach{}'" fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/notIndexed.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/notIndexed.kt.after index e497805d97e6..048d4e80b1a4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/notIndexed.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/notIndexed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.forEach{}'" fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/notIndexed.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/notIndexed.kt.after2 index 4895991d32a4..666172608b7f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/notIndexed.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/notIndexed.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.forEach{}'" fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/simple.kt index 49be13b41454..748ad90737e7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/simple.kt.after index 63513ed8be31..71324e36b101 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/simple.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/simple.kt.after2 index 302b037a3832..1e217e9efbb1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/simple.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/forEach/simple.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/KT14303.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/KT14303.kt index 572028462afe..a3dc4349e675 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/KT14303.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/KT14303.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'indexOfFirst{}'" // IS_APPLICABLE_2: false fun f8_indexOfFirst_complex(value: String, list: List):Int{ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/KT14303.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/KT14303.kt.after index a3f87667c5b3..92b06f49fa6c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/KT14303.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/KT14303.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'indexOfFirst{}'" // IS_APPLICABLE_2: false fun f8_indexOfFirst_complex(value: String, list: List):Int{ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOf.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOf.kt index 6cb8a98d5499..dd598c2cc4e2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOf.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'indexOf()'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOf.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOf.kt.after index ff878a1eec78..b427efabaec9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'indexOf()'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_ifAssign.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_ifAssign.kt index 6f7e40e7fe87..d1f0a7cbd400 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_ifAssign.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_ifAssign.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'indexOfFirst{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_ifAssign.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_ifAssign.kt.after index 9ec68af31be0..414188e1010e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_ifAssign.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_ifAssign.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'indexOfFirst{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_ifReturn.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_ifReturn.kt index dde7e958588b..c192a8986cfd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_ifReturn.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_ifReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'indexOfFirst{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_ifReturn.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_ifReturn.kt.after index f40f3884917e..3f6794d549fb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_ifReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_ifReturn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'indexOfFirst{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_mustBeNoIndexInCondition.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_mustBeNoIndexInCondition.kt index f838f6a4a43b..47eac6725c80 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_mustBeNoIndexInCondition.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfFirst_mustBeNoIndexInCondition.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfLast_ifAssign.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfLast_ifAssign.kt index fc144ce4e6ec..7de2f48605f3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfLast_ifAssign.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfLast_ifAssign.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'indexOfLast{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfLast_ifAssign.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfLast_ifAssign.kt.after index bdf1c52192bd..5a880a115431 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfLast_ifAssign.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/indexOfLast_ifAssign.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'indexOfLast{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/lastIndexOf.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/lastIndexOf.kt index caf36e4b537e..249cd319e2d4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/lastIndexOf.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/lastIndexOf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'lastIndexOf()'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/lastIndexOf.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/lastIndexOf.kt.after index 1233c6e06d4b..4b8cf162168f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/lastIndexOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/indexOf/lastIndexOf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'lastIndexOf()'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/intArray.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/intArray.kt index 254451cb217b..3d1db103f7a1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/intArray.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/intArray.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/intArray.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/intArray.kt.after index 1a980ba751c5..a9c75f9b0cf8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/intArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/intArray.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression.kt index b24d810b3a04..555bbbc71f42 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNot{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNot{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression.kt.after index 8a11065ab26c..826c09e9d57e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNot{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNot{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression.kt.after2 index 84ad1a1b175f..51a9a13a8e8f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNot{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNot{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedAfterIncrement.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedAfterIncrement.kt index 588ccbcf2b9d..d1b25ad59974 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedAfterIncrement.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedAfterIncrement.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB //TODO: should not be available without "asSequence()"! // INTENTION_TEXT: "Replace with 'filterNot{}.map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNot{}.map{}.firstOrNull{}'" diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedAfterIncrement.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedAfterIncrement.kt.after index 9de513880029..16a6fcb2e702 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedAfterIncrement.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedAfterIncrement.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB //TODO: should not be available without "asSequence()"! // INTENTION_TEXT: "Replace with 'filterNot{}.map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNot{}.map{}.firstOrNull{}'" diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedAfterIncrement.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedAfterIncrement.kt.after2 index 6ef866bafb44..619dd55867ee 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedAfterIncrement.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedAfterIncrement.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB //TODO: should not be available without "asSequence()"! // INTENTION_TEXT: "Replace with 'filterNot{}.map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNot{}.map{}.firstOrNull{}'" diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement.kt index 5b4e01e21308..e0fe3203b646 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '...mapIndexed{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence()...mapIndexed{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement.kt.after index 93789d35ef43..c8dfb9072a8a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '...mapIndexed{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence()...mapIndexed{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement.kt.after2 index a56bae69d5df..b76330a53707 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '...mapIndexed{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence()...mapIndexed{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement2.kt index 2af28a15b08e..e3074f78927a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement2.kt.after index d5782ae46ea4..5ddccb23917b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement2.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement2.kt.after2 index f52625bee0f6..fe350c885df0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement2.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusInsideExpression_indexUsedBeforeIncrement2.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusIsNotLastStatement.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusIsNotLastStatement.kt index 511f2bdc8015..f20cc0077467 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusIsNotLastStatement.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusIsNotLastStatement.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNot{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNot{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusIsNotLastStatement.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusIsNotLastStatement.kt.after index 8a11065ab26c..826c09e9d57e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusIsNotLastStatement.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusIsNotLastStatement.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNot{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNot{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusIsNotLastStatement.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusIsNotLastStatement.kt.after2 index 84ad1a1b175f..51a9a13a8e8f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusIsNotLastStatement.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusIsNotLastStatement.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNot{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNot{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusIsNotLastStatement_indexUsedAfterIncrement.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusIsNotLastStatement_indexUsedAfterIncrement.kt index d8bd66fc6c87..cb847ee002f0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusIsNotLastStatement_indexUsedAfterIncrement.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexPlusPlusIsNotLastStatement_indexUsedAfterIncrement.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexWithNestedLoop.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexWithNestedLoop.kt index 88ab6b6abf6a..f73a2bdd7c32 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexWithNestedLoop.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexWithNestedLoop.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMap{}.filter{}.mapIndexedTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMap{}.filter{}.mapIndexedTo(){}'" fun foo(list: List, target: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexWithNestedLoop.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexWithNestedLoop.kt.after index 28607bd331f7..34baaac25748 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexWithNestedLoop.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexWithNestedLoop.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMap{}.filter{}.mapIndexedTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMap{}.filter{}.mapIndexedTo(){}'" fun foo(list: List, target: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexWithNestedLoop.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexWithNestedLoop.kt.after2 index 7322dd0870ba..ed7c84085314 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexWithNestedLoop.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/indexWithNestedLoop.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMap{}.filter{}.mapIndexedTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMap{}.filter{}.mapIndexedTo(){}'" fun foo(list: List, target: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/prefixIndexPlusPlusInsideExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/prefixIndexPlusPlusInsideExpression.kt index bb0b03975e25..806540e8712e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/prefixIndexPlusPlusInsideExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/prefixIndexPlusPlusInsideExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNot{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNot{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/prefixIndexPlusPlusInsideExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/prefixIndexPlusPlusInsideExpression.kt.after index 9ff6a313a84b..110a398c8189 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/prefixIndexPlusPlusInsideExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/prefixIndexPlusPlusInsideExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNot{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNot{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/prefixIndexPlusPlusInsideExpression.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/prefixIndexPlusPlusInsideExpression.kt.after2 index d3bd3b5b4466..d5f0bc9fc6d7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/prefixIndexPlusPlusInsideExpression.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/introduceIndex/prefixIndexPlusPlusInsideExpression.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNot{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNot{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/itAlreadyUsed.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/itAlreadyUsed.kt index efcd1d43eeda..e315f113dfd0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/itAlreadyUsed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/itAlreadyUsed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'found' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/itAlreadyUsed.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/itAlreadyUsed.kt.after index aefe1dd8c701..ec777891ebe3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/itAlreadyUsed.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/itAlreadyUsed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'found' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/lastOrNull_ifAssign.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/lastOrNull_ifAssign.kt index cfa20ce9d3f4..e2ec6a2b3cc4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/lastOrNull_ifAssign.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/lastOrNull_ifAssign.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'lastOrNull{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/lastOrNull_ifAssign.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/lastOrNull_ifAssign.kt.after index cf30c5d2d449..ae08814500ea 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/lastOrNull_ifAssign.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/lastOrNull_ifAssign.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'lastOrNull{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/KT18816.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/KT18816.kt index 4312e3143f82..a1a01de6af58 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/KT18816.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/KT18816.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap.kt index 46d5fc0b0c53..0c3360d12a78 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.map{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.map{}.toList()'" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap.kt.after index 7a48353c88ba..66faff98b2ad 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.map{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.map{}.toList()'" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap.kt.after2 index 4964b0eea8b9..903690d912b8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.map{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.map{}.toList()'" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap2.kt index 9a93c3871807..85be2fcfc001 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.map{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.map{}.toList()'" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap2.kt.after index 0c34a2dc3eb0..ec60a1e0a925 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.map{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.map{}.toList()'" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap2.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap2.kt.after2 index f8f7e262d198..fbb98cfbc4e0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap2.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/assignMap2.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.map{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.map{}.toList()'" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map.kt index 9c048c417a02..981b3d9eec97 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map.kt.after index 537187a74555..4f3b2d087520 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map.kt.after2 index a7fc7239e2d0..f181e9b4d156 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapAndFilterIndexed.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapAndFilterIndexed.kt index 7be807c7f536..20ef4ba211f8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapAndFilterIndexed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapAndFilterIndexed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.filterIndexed{}.firstOrNull()'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapAndFilterIndexed.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapAndFilterIndexed.kt.after index 6cac86d00e2d..0c989d729342 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapAndFilterIndexed.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapAndFilterIndexed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.filterIndexed{}.firstOrNull()'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapAndFilterIndexed.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapAndFilterIndexed.kt.after2 index c92a3f9f4ac6..ab2d1b83c4f9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapAndFilterIndexed.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapAndFilterIndexed.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.filterIndexed{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.filterIndexed{}.firstOrNull()'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed.kt index dee2835d67de..8646de459da9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed.kt.after index 017ac7693325..39d659a12ff1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed.kt.after2 index fe80d809a85e..545492a9a2d8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull.kt index 0e91ba1c7938..d9baf214a118 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexedNotNull{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexedNotNull{}.mapTo(){}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull.kt.after index bfd439ea7544..67a827c531c7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexedNotNull{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexedNotNull{}.mapTo(){}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull.kt.after2 index 7cc7f2eee31e..060d6cc71ecc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexedNotNull{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexedNotNull{}.mapTo(){}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNullTo.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNullTo.kt index 0b1bb33746ee..5f54f51bf841 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNullTo.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNullTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexedNotNullTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNullTo.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNullTo.kt.after index 22ac267b9d87..f8539397e091 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNullTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNullTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexedNotNullTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNullTo_elvisContinue.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNullTo_elvisContinue.kt index 094ebc74f0a7..5184f1684a04 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNullTo_elvisContinue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNullTo_elvisContinue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexedNotNullTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNullTo_elvisContinue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNullTo_elvisContinue.kt.after index 22ac267b9d87..f8539397e091 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNullTo_elvisContinue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNullTo_elvisContinue.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexedNotNullTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull_elvisContinue.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull_elvisContinue.kt index 7a7b9f3f1811..f20b48b7a3b3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull_elvisContinue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull_elvisContinue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexedNotNull{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexedNotNull{}.mapTo(){}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull_elvisContinue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull_elvisContinue.kt.after index bfd439ea7544..67a827c531c7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull_elvisContinue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull_elvisContinue.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexedNotNull{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexedNotNull{}.mapTo(){}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull_elvisContinue.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull_elvisContinue.kt.after2 index 7cc7f2eee31e..060d6cc71ecc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull_elvisContinue.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedNotNull_elvisContinue.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexedNotNull{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexedNotNull{}.mapTo(){}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedTo.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedTo.kt index e45443c89b50..0b035051824f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedTo.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexedTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedTo.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedTo.kt.after index 3b7db7dd35c5..f52eda1123d2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexedTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexedTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_afterFilter.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_afterFilter.kt index 511f2bdc8015..f20cc0077467 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_afterFilter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_afterFilter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNot{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNot{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_afterFilter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_afterFilter.kt.after index 30674ab72922..d59ceece922f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_afterFilter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_afterFilter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNot{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNot{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_afterFilter.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_afterFilter.kt.after2 index 76cb9e50ce54..f8d7d8055223 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_afterFilter.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_afterFilter.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNot{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNot{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_twice.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_twice.kt index e7607b789068..6c652c977726 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_twice.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_twice.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_twice.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_twice.kt.after index 187eb5cb7b11..362acbbff729 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_twice.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_twice.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_twice.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_twice.kt.after2 index a62c832739e0..6e28218ebc40 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_twice.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapIndexed_twice.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.mapIndexed{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.mapIndexed{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull.kt index 2b83903eaab3..89e65979bc41 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapNotNull{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapNotNull{}.mapTo(){}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull.kt.after index e889a143d3ce..c01b084be020 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapNotNull{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapNotNull{}.mapTo(){}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull.kt.after2 index bef5d6601277..ecfcb1ac6ded 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapNotNull{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapNotNull{}.mapTo(){}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNullTo.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNullTo.kt index 80fe8fc557cc..5d518ae04eec 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNullTo.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNullTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapNotNullTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNullTo.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNullTo.kt.after index fba2a8060a0e..2540780165bc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNullTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNullTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapNotNullTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNullTo_elvisContinue.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNullTo_elvisContinue.kt index 0dc8b6c25f9e..da4a7e209a16 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNullTo_elvisContinue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNullTo_elvisContinue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapNotNullTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNullTo_elvisContinue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNullTo_elvisContinue.kt.after index fba2a8060a0e..2540780165bc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNullTo_elvisContinue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNullTo_elvisContinue.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapNotNullTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_elvisContinue.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_elvisContinue.kt index f258c86090ac..cfb2031e12e7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_elvisContinue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_elvisContinue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapNotNull{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapNotNull{}.mapTo(){}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_elvisContinue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_elvisContinue.kt.after index e889a143d3ce..c01b084be020 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_elvisContinue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_elvisContinue.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapNotNull{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapNotNull{}.mapTo(){}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_elvisContinue.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_elvisContinue.kt.after2 index bef5d6601277..ecfcb1ac6ded 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_elvisContinue.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_elvisContinue.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapNotNull{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapNotNull{}.mapTo(){}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_nestedLoopElvisContinue.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_nestedLoopElvisContinue.kt index 6be2a905e955..35640e0e830f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_nestedLoopElvisContinue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_nestedLoopElvisContinue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMap{}.mapNotNull{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMap{}.mapNotNull{}.mapTo(){}'" // AFTER-WARNING: Parameter 'p' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_nestedLoopElvisContinue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_nestedLoopElvisContinue.kt.after index f033513b66c2..5ef107bbf5e1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_nestedLoopElvisContinue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_nestedLoopElvisContinue.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMap{}.mapNotNull{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMap{}.mapNotNull{}.mapTo(){}'" // AFTER-WARNING: Parameter 'p' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_nestedLoopElvisContinue.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_nestedLoopElvisContinue.kt.after2 index 499d45c789c9..40c40935c153 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_nestedLoopElvisContinue.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_nestedLoopElvisContinue.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'flatMap{}.mapNotNull{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().flatMap{}.mapNotNull{}.mapTo(){}'" // AFTER-WARNING: Parameter 'p' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_wrongElvisContinue.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_wrongElvisContinue.kt index 24eca8f25c97..920d9f6d29cc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_wrongElvisContinue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapNotNull_wrongElvisContinue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo.kt index f2a5869b4de7..bed15646eacb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.mapTo(){}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo.kt.after index fea6c7e700fb..9967ba082397 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.mapTo(){}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo.kt.after2 index c76483e56cff..7fbba564b20e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.mapTo(){}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo2.kt index a352b01a4aa0..b19e4006346d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo2.kt.after index 0d1379f84a64..7694d0d44047 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo3.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo3.kt index 6b452ba10f34..e3907784205a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.mapTo(){}'" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo3.kt.after index c45c04738ac7..3ece2a0a7631 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.mapTo(){}'" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo3.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo3.kt.after2 index 8a64f7412a94..5c74ad0bb517 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo3.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo3.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.mapTo(){}'" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo4.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo4.kt index 6b7908b2b7bf..08310002793b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.mapTo(){}'" fun foo(list: List): List { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo4.kt.after index 41a9528577c8..e7443b16016f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.mapTo(){}'" fun foo(list: List): List { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo4.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo4.kt.after2 index 3c02e9382343..f21ad2136d4a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo4.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo4.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.mapTo(){}'" fun foo(list: List): List { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo_inputVarNotUsed.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo_inputVarNotUsed.kt index b78bed39ab77..700b8ce0511a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo_inputVarNotUsed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo_inputVarNotUsed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo_inputVarNotUsed.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo_inputVarNotUsed.kt.after index ec3f17df1cb9..2c2b9710fe65 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo_inputVarNotUsed.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo_inputVarNotUsed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo_inputVarNotUsed.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo_inputVarNotUsed.kt.after2 index fecb3d839c1a..0f3bfe47b853 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo_inputVarNotUsed.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapTo_inputVarNotUsed.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapUsesOldIndexAfterFilter.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapUsesOldIndexAfterFilter.kt index 5ccd020ef3d8..886a635277f1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapUsesOldIndexAfterFilter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapUsesOldIndexAfterFilter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapVar.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapVar.kt index dd6565ac4155..f30c53ec9443 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapVar.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapVar.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapVar.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapVar.kt.after index 537187a74555..4f3b2d087520 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapVar.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapVar.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapVar.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapVar.kt.after2 index a7fc7239e2d0..f181e9b4d156 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapVar.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/mapVar.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.firstOrNull{}'" fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map_var.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map_var.kt index 28fa5cff4159..6cc52dc3ebe6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map_var.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map_var.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map_variableStillNeeded.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map_variableStillNeeded.kt index 1fc7931be021..e69626c4d5f9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map_variableStillNeeded.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/map/map_variableStillNeeded.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/KT14210.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/KT14210.kt index 449b28024c96..c473c476f786 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/KT14210.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/KT14210.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.maxOrNull()'" // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/KT14210.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/KT14210.kt.after index 017d4b056099..3271423e96ea 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/KT14210.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/KT14210.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.maxOrNull()'" // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/KT14210.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/KT14210.kt.after2 index 1dfde4f86b02..53901a2d38b4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/KT14210.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/KT14210.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.maxOrNull()'" // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max1.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max1.kt index f0cc08715faa..c9ac60a7f7d3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max1.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max1.kt.after index b1b7fad5d481..0041af755272 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max1.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max1.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max1.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max1.kt.after2 index 9d4af0e769d8..a4fb590cc97b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max1.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max1.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max2.kt index e6e0559c68ea..a6f10a451718 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max2.kt.after index b1b7fad5d481..0041af755272 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max2.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max2.kt.after2 index 9d4af0e769d8..a4fb590cc97b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max2.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max2.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max3.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max3.kt index bfa222167752..61fb72e103bc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max3.kt.after index b1b7fad5d481..0041af755272 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max3.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max3.kt.after2 index 9d4af0e769d8..a4fb590cc97b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max3.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max3.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max4.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max4.kt index ecc985be9387..a2db8b4667b8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'maxOrNull()'" // IS_APPLICABLE_2: false fun getMaxLineWidth(list: List): Float { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max4.kt.after index fc686fdb3677..099e8e440f5e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'maxOrNull()'" // IS_APPLICABLE_2: false fun getMaxLineWidth(list: List): Float { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max5.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max5.kt index 2756ab91cc15..c2c28ef8f4dc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max5.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max5.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max5.kt.after index baf50add50b8..b834956f47d9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max5.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max5.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max5.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max5.kt.after2 index 4f7a7615a834..4142f3a090b3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max5.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max5.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max6.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max6.kt index 76079dc48919..72318e21f1cc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max6.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max6.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.maxOrNull()'" fun getMaxLineWidth(list: List): Double { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max6.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max6.kt.after index 894d6de6c650..3e3c60399bda 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max6.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max6.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.maxOrNull()'" fun getMaxLineWidth(list: List): Double { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max6.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max6.kt.after2 index bc022f8f3f24..31d1d83f7236 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max6.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max6.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.maxOrNull()'" fun getMaxLineWidth(list: List): Double { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max7.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max7.kt index cc450f0853ca..4b30f1cd7b1a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max7.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max7.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max7.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max7.kt.after index 74b74fd8f217..b15fe74ec6ed 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max7.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max7.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max7.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max7.kt.after2 index 8a677f38303b..1cba5120cac2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max7.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/max7.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min1.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min1.kt index 6b292cf8dec9..6c6c6cf01e92 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.minOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min1.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min1.kt.after index 9469d570c365..4f98a19d268b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min1.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min1.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.minOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min1.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min1.kt.after2 index 9a8d6560ad9c..f6df7a9cf468 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min1.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min1.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.minOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min2.kt index 0deb6e797716..c74abaaf867d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.minOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min2.kt.after index 9469d570c365..4f98a19d268b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.minOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min2.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min2.kt.after2 index 9a8d6560ad9c..f6df7a9cf468 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min2.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min2.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.minOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min3.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min3.kt index cbee5c620836..c32390537809 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.minOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min3.kt.after index 9469d570c365..4f98a19d268b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.minOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min3.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min3.kt.after2 index 9a8d6560ad9c..f6df7a9cf468 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min3.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min3.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.minOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min4.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min4.kt index 48c217635725..9770bcba88cb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.minOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min4.kt.after index 9469d570c365..4f98a19d268b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.minOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min4.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min4.kt.after2 index 9a8d6560ad9c..f6df7a9cf468 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min4.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min4.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.minOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min5.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min5.kt index 5e202f0bdad5..e21f483efdd8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min5.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.minOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min5.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min5.kt.after index 9469d570c365..4f98a19d268b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min5.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min5.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.minOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min5.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min5.kt.after2 index 9a8d6560ad9c..f6df7a9cf468 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min5.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/maxMin/min5.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.minOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'" // AFTER-WARNING: Parameter 'i' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/moveInitializationsCloserToLoop.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/moveInitializationsCloserToLoop.kt index 81e88771f98b..e78c7f52e260 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/moveInitializationsCloserToLoop.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/moveInitializationsCloserToLoop.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/moveInitializationsCloserToLoop.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/moveInitializationsCloserToLoop.kt.after index b1bb006b44be..e161564d65de 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/moveInitializationsCloserToLoop.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/moveInitializationsCloserToLoop.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}'" // IS_APPLICABLE_2: false // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/range.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/range.kt index 9da786ec5abc..513b9746d313 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/range.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/range.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}'" // IS_APPLICABLE_2: false import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/range.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/range.kt.after index 2feb9f0c27a0..3ad936349792 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/range.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/range.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}'" // IS_APPLICABLE_2: false import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/errorOutsideLoop.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/errorOutsideLoop.kt index d6f98df49063..537f724c80f8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/errorOutsideLoop.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/errorOutsideLoop.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Unresolved reference: unresolvedFun // INTENTION_TEXT: "Replace with 'map{}.map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.map{}.firstOrNull{}'" diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/errorOutsideLoop.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/errorOutsideLoop.kt.after index 852ee6352610..4adea7f6c6af 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/errorOutsideLoop.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/errorOutsideLoop.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Unresolved reference: unresolvedFun // INTENTION_TEXT: "Replace with 'map{}.map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.map{}.firstOrNull{}'" diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/errorOutsideLoop.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/errorOutsideLoop.kt.after2 index d10baa5860d1..4d2ccae2e0d7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/errorOutsideLoop.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/errorOutsideLoop.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Unresolved reference: unresolvedFun // INTENTION_TEXT: "Replace with 'map{}.map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.map{}.firstOrNull{}'" diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken.kt index 291dcc00c5c1..7f5d4e94d17c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '...filter{}.map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence()...filter{}.map{}.firstOrNull()'" fun foo(list: List, o: Any): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken.kt.after index 33dfcac571c8..000f7dee40ac 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '...filter{}.map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence()...filter{}.map{}.firstOrNull()'" fun foo(list: List, o: Any): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken.kt.after2 index 47b791b6b15e..ff80c0f33560 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '...filter{}.map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence()...filter{}.map{}.firstOrNull()'" fun foo(list: List, o: Any): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken2.kt index b725a33f2eca..2d5cbdfc0452 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.map{}.firstOrNull{}'" fun foo(list: List, o: Any): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken2.kt.after index 9a92fb10ee94..422164983918 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.map{}.firstOrNull{}'" fun foo(list: List, o: Any): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken2.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken2.kt.after2 index a4c86aed81b7..abb0bba7bdd7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken2.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken2.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.map{}.firstOrNull{}'" fun foo(list: List, o: Any): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken3.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken3.kt index a195d4b00326..7db88e8d71fb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.map{}.firstOrNull{}'" // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken3.kt.after index da9e55c0f495..60c9cfb4b5ea 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.map{}.firstOrNull{}'" // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken3.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken3.kt.after2 index 86058be247ef..81266d693eea 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken3.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken3.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.map{}.firstOrNull{}'" // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken4.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken4.kt index 2bd4d59982d7..125307f37e9a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.map{}.firstOrNull{}'" // SKIP_WARNINGS_AFTER diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken4.kt.after index 28db24ec197f..1c59e43a8c26 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.map{}.firstOrNull{}'" // SKIP_WARNINGS_AFTER diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken4.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken4.kt.after2 index 18e1ee0251bb..3902a1295b78 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken4.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken4.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.map{}.firstOrNull{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.map{}.firstOrNull{}'" // SKIP_WARNINGS_AFTER diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken5.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken5.kt index 120018bee441..1e9c2ff40d9a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken5.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.map{}.filterTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.map{}.filterTo(){}'" fun foo(list: List, o: Any, result: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken5.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken5.kt.after index 54e55f126695..5aa3e9356928 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken5.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken5.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.map{}.filterTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.map{}.filterTo(){}'" fun foo(list: List, o: Any, result: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken5.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken5.kt.after2 index 7e75bf34080c..f5362f1fcd92 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken5.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotBroken5.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.map{}.filterTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.map{}.filterTo(){}'" fun foo(list: List, o: Any, result: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotNullRequired.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotNullRequired.kt index 2ca0c8ff12b7..4a4688b7afad 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotNullRequired.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotNullRequired.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List, o: Int?): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotRequired.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotRequired.kt index a90559a535d0..cde8a188451f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotRequired.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotRequired.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '...filter{}.map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence()...filter{}.map{}.firstOrNull()'" fun foo(list: List, o: Any): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotRequired.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotRequired.kt.after index 790f6145690f..003a78f47fb2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotRequired.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotRequired.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '...filter{}.map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence()...filter{}.map{}.firstOrNull()'" fun foo(list: List, o: Any): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotRequired.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotRequired.kt.after2 index 692098e9d1e8..aa256842c7a8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotRequired.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastNotRequired.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '...filter{}.map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence()...filter{}.map{}.firstOrNull()'" fun foo(list: List, o: Any): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired.kt index a8d5de80c9af..ebe8627965dc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List, o: Any): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired2.kt index 079a0abfda2e..e026b2c6ec8b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '...filter{}.map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence()...filter{}.map{}.firstOrNull()'" // AFTER-WARNING: Parameter 'o' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired2.kt.after index af5c37385ba0..e484a552ad48 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '...filter{}.map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence()...filter{}.map{}.firstOrNull()'" // AFTER-WARNING: Parameter 'o' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired2.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired2.kt.after2 index 2dd4124cfa6c..1dc5b737cc6b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired2.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired2.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '...filter{}.map{}.firstOrNull()'" // INTENTION_TEXT_2: "Replace with 'asSequence()...filter{}.map{}.firstOrNull()'" // AFTER-WARNING: Parameter 'o' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired3.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired3.kt index bb78c2535223..e097480ab288 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired4.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired4.kt index bb648eefc9cc..904db5af8188 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List): String? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired5.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired5.kt index e09d2d589e31..eb2b473e8376 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired5.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired5.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List, target: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired6.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired6.kt index c052674e3706..552330f5a23f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired6.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastRequired6.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastThisRequired.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastThisRequired.kt index 205dd23813de..ff2a8f340eea 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastThisRequired.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/smartCasts/smartCastThisRequired.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun Any.foo(list: List): Int? { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/bytes.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/bytes.kt index ffe3319a03f6..6bef528de806 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/bytes.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/bytes.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sum()'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/bytes.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/bytes.kt.after index dd2549c3e29c..b9884321d6a0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/bytes.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/bytes.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sum()'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/doubles.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/doubles.kt index 2f22b905298d..b16af53c5365 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/doubles.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/doubles.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sum()'" // IS_APPLICABLE_2: false fun foo(list: List): Double { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/doubles.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/doubles.kt.after index be8035d4b957..814b93160ed6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/doubles.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/doubles.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sum()'" // IS_APPLICABLE_2: false fun foo(list: List): Double { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/floats.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/floats.kt index 0df1f5984acf..1a06e23f9a56 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/floats.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/floats.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sum()'" // IS_APPLICABLE_2: false fun foo(list: List): Float { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/floats.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/floats.kt.after index 2a9b392c3014..2f397c9e4a7a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/floats.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/floats.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sum()'" // IS_APPLICABLE_2: false fun foo(list: List): Float { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/floatsIntoDouble.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/floatsIntoDouble.kt index 31b4f85e5100..13696fa575d2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/floatsIntoDouble.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/floatsIntoDouble.kt @@ -1,5 +1,5 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sumByDouble{}'" // IS_APPLICABLE_2: false fun foo(list: List): Double { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/floatsIntoDouble.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/floatsIntoDouble.kt.after index 34744986c11a..eb2ffa07fe6a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/floatsIntoDouble.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/floatsIntoDouble.kt.after @@ -1,5 +1,5 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sumByDouble{}'" // IS_APPLICABLE_2: false fun foo(list: List): Double { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed.kt index ebdb56c0706a..d62d81cd65e3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.sum()'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.sum()'" fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed.kt.after index 1ea31942c367..b5d5c6a4170f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.sum()'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.sum()'" fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed.kt.after2 index 531be125948c..adca86bb1361 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.sum()'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.sum()'" fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed2.kt index b3efe9a59e08..3b7f1769cb9b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.sum()'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.sum()'" // AFTER-WARNING: Parameter 'index' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed2.kt.after index d188b3426850..66b541b32c7e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.sum()'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.sum()'" // AFTER-WARNING: Parameter 'index' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed2.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed2.kt.after2 index f2702f67c9cd..0cac25670ecf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed2.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/indexUsed2.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapIndexed{}.sum()'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.sum()'" // AFTER-WARNING: Parameter 'index' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/ints.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/ints.kt index 6a22a5fc9e69..9f6ae7410d61 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/ints.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/ints.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sum()'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/ints.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/ints.kt.after index 87a223018483..7648aae75bf3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/ints.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/ints.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sum()'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/longs.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/longs.kt index b760b170d454..d48d2207ba65 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/longs.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/longs.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sum()'" // IS_APPLICABLE_2: false fun foo(list: List): Long { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/longs.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/longs.kt.after index d2edbe1f1ab0..f61817706aae 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/longs.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/longs.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sum()'" // IS_APPLICABLE_2: false fun foo(list: List): Long { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/nonNumbers.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/nonNumbers.kt index c9b04019aee5..8ad6199b88ad 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/nonNumbers.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/nonNumbers.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false class C diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/nonZeroInitial.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/nonZeroInitial.kt index b69b11e7e02c..234667f953cb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/nonZeroInitial.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/nonZeroInitial.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sum()'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/nonZeroInitial.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/nonZeroInitial.kt.after index 8c9894a00446..a500304e027d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/nonZeroInitial.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/nonZeroInitial.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sum()'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/short.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/short.kt index 6de16a9daf70..449b7edcb08b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/short.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/short.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sum()'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/short.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/short.kt.after index a57a1f9adc07..26eb70b45561 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/short.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/short.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sum()'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCast.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCast.kt index a2a60024c7eb..17a1093e9654 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCast.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCast.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIsInstance<>().sum()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIsInstance<>().sum()'" // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCast.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCast.kt.after index d7f81fd4b49c..3786aff89446 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCast.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCast.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIsInstance<>().sum()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIsInstance<>().sum()'" // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCast.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCast.kt.after2 index cf9eb6bd65af..65dfdd180127 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCast.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCast.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIsInstance<>().sum()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIsInstance<>().sum()'" // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCastNotNull.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCastNotNull.kt index 9bbe16529d24..51de9f9d43a6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCastNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCastNotNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull().sum()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNotNull().sum()'" // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCastNotNull.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCastNotNull.kt.after index 15220bab1830..a1a0261c26e8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCastNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCastNotNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull().sum()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNotNull().sum()'" // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCastNotNull.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCastNotNull.kt.after2 index fa1effa995c2..b3e01c721ef2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCastNotNull.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/smartCastNotNull.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterNotNull().sum()'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterNotNull().sum()'" // AFTER-WARNING: Variable 'result' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByDouble.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByDouble.kt index be7d8dd75f66..7c25eb42b30f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByDouble.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByDouble.kt @@ -1,5 +1,5 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sumByDouble{}'" // IS_APPLICABLE_2: false fun foo(list: List): Double { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByDouble.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByDouble.kt.after index 19c5b9dc4892..440126e1a9be 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByDouble.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByDouble.kt.after @@ -1,5 +1,5 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sumByDouble{}'" // IS_APPLICABLE_2: false fun foo(list: List): Double { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByInts.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByInts.kt index 6a25694c5837..d0e0af746a2d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByInts.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByInts.kt @@ -1,5 +1,5 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sumBy{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByInts.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByInts.kt.after index 1d5b37fbfbe4..0b804c3a0c3c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByInts.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByInts.kt.after @@ -1,5 +1,5 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sumBy{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByIntsIntoLong.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByIntsIntoLong.kt index 206f114ccc68..85b670f7fa1d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByIntsIntoLong.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByIntsIntoLong.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.sum()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.sum()'" fun foo(list: List): Long { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByIntsIntoLong.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByIntsIntoLong.kt.after index 12071ac4d8ae..08c3248b557b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByIntsIntoLong.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByIntsIntoLong.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.sum()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.sum()'" fun foo(list: List): Long { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByIntsIntoLong.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByIntsIntoLong.kt.after2 index 65c99c7d2c65..d4d948eabb18 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByIntsIntoLong.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByIntsIntoLong.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.sum()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.sum()'" fun foo(list: List): Long { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByShorts.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByShorts.kt index ccb353a3751a..b45288d2acae 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByShorts.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByShorts.kt @@ -1,5 +1,5 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sumBy{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByShorts.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByShorts.kt.after index 4be89119f958..a8a794e850f0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByShorts.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumByShorts.kt.after @@ -1,5 +1,5 @@ // API_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sumBy{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumOfDouble.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumOfDouble.kt index 593e59bed0cd..0737dec78028 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumOfDouble.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumOfDouble.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sumOf{}'" // IS_APPLICABLE_2: false fun foo(list: List): Double { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumOfDouble.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumOfDouble.kt.after index 424559fbe7be..06e72b51eda3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumOfDouble.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumOfDouble.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sumOf{}'" // IS_APPLICABLE_2: false fun foo(list: List): Double { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumOfInts.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumOfInts.kt index 29af250c3064..f5b327db4217 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumOfInts.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumOfInts.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sumOf{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumOfInts.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumOfInts.kt.after index fb833c14fa21..74bdb7f87af0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumOfInts.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/sum/sumOfInts.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'sumOf{}'" // IS_APPLICABLE_2: false fun foo(list: List): Int { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/ifElse1.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/ifElse1.kt index de9ce1ca014a..c6e52b6c132a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/ifElse1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/ifElse1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'takeWhile{}'" // IS_APPLICABLE_2: false fun foo(n: Int, list: List): List{ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/ifElse1.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/ifElse1.kt.after index a201ff39b1ea..a36f95485805 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/ifElse1.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/ifElse1.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'takeWhile{}'" // IS_APPLICABLE_2: false fun foo(n: Int, list: List): List{ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/ifElse2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/ifElse2.kt index 2803e8301af2..3100600e5b49 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/ifElse2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/ifElse2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'takeWhile{}'" // IS_APPLICABLE_2: false fun foo(n: Int, list: List): List{ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/ifElse2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/ifElse2.kt.after index a201ff39b1ea..a36f95485805 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/ifElse2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/ifElse2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'takeWhile{}'" // IS_APPLICABLE_2: false fun foo(n: Int, list: List): List{ diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/nestedLoop.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/nestedLoop.kt index b8d212016c5d..cef205bb507c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/nestedLoop.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/nestedLoop.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '+= flatMap{}.takeWhile{}'" // INTENTION_TEXT_2: "Replace with '+= asSequence().flatMap{}.takeWhile{}'" fun foo(list: List, target: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/nestedLoop.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/nestedLoop.kt.after index 3ddd5cfc91ca..6bb8d3ad565b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/nestedLoop.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/nestedLoop.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '+= flatMap{}.takeWhile{}'" // INTENTION_TEXT_2: "Replace with '+= asSequence().flatMap{}.takeWhile{}'" fun foo(list: List, target: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/nestedLoop.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/nestedLoop.kt.after2 index 436452ab148f..1b9f88a9f101 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/nestedLoop.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/nestedLoop.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '+= flatMap{}.takeWhile{}'" // INTENTION_TEXT_2: "Replace with '+= asSequence().flatMap{}.takeWhile{}'" fun foo(list: List, target: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/simple.kt index 0ccb95891ab7..4346c025c11c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '+= takeWhile{}'" // INTENTION_TEXT_2: "Replace with '+= asSequence().takeWhile{}'" fun foo(list: List, target: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/simple.kt.after index cdefe2ba3582..e465e6801f8b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '+= takeWhile{}'" // INTENTION_TEXT_2: "Replace with '+= asSequence().takeWhile{}'" fun foo(list: List, target: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/simple.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/simple.kt.after2 index 723f142bc6ac..16152ca9c6eb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/simple.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/simple.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '+= takeWhile{}'" // INTENTION_TEXT_2: "Replace with '+= asSequence().takeWhile{}'" fun foo(list: List, target: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/wrongBreak.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/wrongBreak.kt index 1de8339c66df..bc2c4e26a9e1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/wrongBreak.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/takeWhile/wrongBreak.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List, target: MutableCollection) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/KT18881.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/KT18881.kt index 28814d4aa6a3..6b259bb40dfd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/KT18881.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/KT18881.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false data class Node(private val data: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/addAfterLoop.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/addAfterLoop.kt index 00fe4da81f23..4e5c7cd615b5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/addAfterLoop.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/addAfterLoop.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'toMutableList()'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/addAfterLoop.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/addAfterLoop.kt.after index 9da61bd02b51..f55be09dc618 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/addAfterLoop.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/addAfterLoop.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'toMutableList()'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/addToCollection.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/addToCollection.kt index 2271cd0fec98..c1ac7591382f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/addToCollection.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/addToCollection.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '+='" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/addToCollection.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/addToCollection.kt.after index f2213239a51c..78fae2c5c0d4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/addToCollection.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/addToCollection.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '+='" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/badReceiver1.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/badReceiver1.kt index 2d051ed77124..7fe13837d9d0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/badReceiver1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/badReceiver1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List>) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/badReceiver2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/badReceiver2.kt index 11eecb7356d5..950f5ef74a56 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/badReceiver2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/badReceiver2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/explicitValType.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/explicitValType.kt index 1814ed4a00d7..249565dd71ed 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/explicitValType.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/explicitValType.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '+='" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/explicitValType.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/explicitValType.kt.after index 5ed2bd09c756..bea2bfbaf919 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/explicitValType.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/explicitValType.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with '+='" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/goodReceiver.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/goodReceiver.kt index f723772e6a65..f9a07051156a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/goodReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/goodReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapTo(){}'" // IS_APPLICABLE_2: false // AFTER-WARNING: The value 'ArrayList()' assigned to 'var target: MutableCollection defined in foo' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/goodReceiver.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/goodReceiver.kt.after index ce52dd8ac383..2612ea8cfa9a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/goodReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/goodReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'mapTo(){}'" // IS_APPLICABLE_2: false // AFTER-WARNING: The value 'ArrayList()' assigned to 'var target: MutableCollection defined in foo' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/resultCollectionUsedInsideLoop.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/resultCollectionUsedInsideLoop.kt index 3275ab43a80c..a01dcf6ed4a0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/resultCollectionUsedInsideLoop.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/resultCollectionUsedInsideLoop.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/resultCollectionUsedInsideLoop.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/resultCollectionUsedInsideLoop.kt.after index edaf81b25a50..c20ba22c1265 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/resultCollectionUsedInsideLoop.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/resultCollectionUsedInsideLoop.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/resultCollectionUsedInsideLoop.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/resultCollectionUsedInsideLoop.kt.after2 index 3e4a93792df8..9097d3024b86 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/resultCollectionUsedInsideLoop.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/resultCollectionUsedInsideLoop.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filter{}.forEach{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList.kt index 47c997a3fcc1..08da1212bae6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'toList()'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList.kt.after index 968bd9581413..4fd60b10fb61 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'toList()'" // IS_APPLICABLE_2: false import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList2.kt index a5678d1d6999..a2894a107789 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'toList()'" // IS_APPLICABLE_2: false fun foo(map: Map): List { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList2.kt.after index 4625051cac91..6eb744adb61a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'toList()'" // IS_APPLICABLE_2: false fun foo(map: Map): List { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList3.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList3.kt index cf919d786e63..0a92752dd644 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'toList()'" // IS_APPLICABLE_2: false fun foo(map: Map): List { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList3.kt.after index 4625051cac91..6eb744adb61a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toList3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'toList()'" // IS_APPLICABLE_2: false fun foo(map: Map): List { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet.kt index 07090ae19b59..776ba5c290fb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'toMutableSet()'" // IS_APPLICABLE_2: false import java.util.HashSet diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet.kt.after index f89dfb126701..38cbe2ad16c8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'toMutableSet()'" // IS_APPLICABLE_2: false import java.util.HashSet diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet2.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet2.kt index a0422f564f61..f2be4fd9e4db 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'toMutableSet()'" // IS_APPLICABLE_2: false fun foo(map: Map): MutableCollection { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet2.kt.after index 712bf84a06f7..eb0c1efa36ae 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'toMutableSet()'" // IS_APPLICABLE_2: false fun foo(map: Map): MutableCollection { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet3.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet3.kt index 7ed2fe38d06f..3944f496b21f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'toMutableSet()'" // IS_APPLICABLE_2: false fun foo(map: Map): MutableCollection { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet3.kt.after index 712bf84a06f7..eb0c1efa36ae 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toMutableSet3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'toMutableSet()'" // IS_APPLICABLE_2: false fun foo(map: Map): MutableCollection { diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSet.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSet.kt index 01c1cc6f333f..eb64d6a64e19 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSet.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSet.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'toSet()'" // IS_APPLICABLE_2: false import java.util.HashSet diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSet.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSet.kt.after index b70b77a05962..e33f12548f3b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSet.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSet.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'toSet()'" // IS_APPLICABLE_2: false import java.util.HashSet diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSetWithMap.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSetWithMap.kt index 22ce78d7c563..3f60acbdcef8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSetWithMap.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSetWithMap.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.toSet()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.toSet()'" import java.util.HashSet diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSetWithMap.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSetWithMap.kt.after index 32575c5cbe48..edad0f741eb8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSetWithMap.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSetWithMap.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.toSet()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.toSet()'" import java.util.HashSet diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSetWithMap.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSetWithMap.kt.after2 index e33687a2d1a4..c006ec1bcad2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSetWithMap.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/toCollection/toSetWithMap.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'map{}.toSet()'" // INTENTION_TEXT_2: "Replace with 'asSequence().map{}.toSet()'" import java.util.HashSet diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/twoInitializationsBeforeLoop.kt b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/twoInitializationsBeforeLoop.kt index b8c407c54257..21607f516748 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/twoInitializationsBeforeLoop.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/twoInitializationsBeforeLoop.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.map{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.map{}.toList()'" import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/twoInitializationsBeforeLoop.kt.after b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/twoInitializationsBeforeLoop.kt.after index 40edffeb8b7e..7c3aa2932f4a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/twoInitializationsBeforeLoop.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/twoInitializationsBeforeLoop.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.map{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.map{}.toList()'" import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/twoInitializationsBeforeLoop.kt.after2 b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/twoInitializationsBeforeLoop.kt.after2 index ffe68d50b7ef..3143d2c4ec1a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/twoInitializationsBeforeLoop.kt.after2 +++ b/plugins/kotlin/idea/tests/testData/intentions/loopToCallChain/twoInitializationsBeforeLoop.kt.after2 @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Replace with 'filterIndexed{}.map{}'" // INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.map{}.toList()'" import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/function.kt b/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/function.kt index 0a2e6c622711..a5d73bc1a931 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/function.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/function.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB object A { private fun foo() = 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/function.kt.after b/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/function.kt.after index d7707d28b1f2..1ee9d810fa7d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/function.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/function.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB private fun foo() = 1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/functionInCompanion.kt b/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/functionInCompanion.kt index 41c2b06c4c43..27d1c41d9512 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/functionInCompanion.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/functionInCompanion.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A { companion object { diff --git a/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/functionInCompanion.kt.after b/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/functionInCompanion.kt.after index e9b5998ecedc..7b432c178162 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/functionInCompanion.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/functionInCompanion.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A { } diff --git a/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/property.kt b/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/property.kt index f04472954b86..41ea2e3ef8b4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/property.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/property.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB object A { val foo: Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/property.kt.after b/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/property.kt.after index 9cb9f19b3a16..e9586cc5cec1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/property.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/property.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo: Int = 1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/propertyInCompanion.kt b/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/propertyInCompanion.kt index d45e603d9d96..7b1ade831644 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/propertyInCompanion.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/propertyInCompanion.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A { companion object { diff --git a/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/propertyInCompanion.kt.after b/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/propertyInCompanion.kt.after index bd1139da7e01..7ee3abd1f7e2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/propertyInCompanion.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/moveMemberToTopLevel/propertyInCompanion.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A { } diff --git a/plugins/kotlin/idea/tests/testData/intentions/moveOutOfCompanion/companionAsImplicitReceiver.kt b/plugins/kotlin/idea/tests/testData/intentions/moveOutOfCompanion/companionAsImplicitReceiver.kt index 84c2394af334..07bcce6fc9a8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/moveOutOfCompanion/companionAsImplicitReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/moveOutOfCompanion/companionAsImplicitReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_FAIL_WITH: 'FOO' in property bar2 will require class instance, 'FOO' in property bar4 will require class instance, 'FOO' in property bar6 will require class instance, 'FOO' in variable bar7 will require class instance, 'FOO' in variable bar8 will require class instance // AFTER-WARNING: Variable 'bar7' is never used // AFTER-WARNING: Variable 'bar8' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/moveOutOfCompanion/hasJvmFieldInInterface.kt b/plugins/kotlin/idea/tests/testData/intentions/moveOutOfCompanion/hasJvmFieldInInterface.kt index e4b9ad7a934f..ed8fab4c3486 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/moveOutOfCompanion/hasJvmFieldInInterface.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/moveOutOfCompanion/hasJvmFieldInInterface.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB interface KotlinInterface { companion object { diff --git a/plugins/kotlin/idea/tests/testData/intentions/moveOutOfCompanion/moveFunctionWithExternalRefs.kt b/plugins/kotlin/idea/tests/testData/intentions/moveOutOfCompanion/moveFunctionWithExternalRefs.kt index 1f289152f1fd..c98ed1086d72 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/moveOutOfCompanion/moveFunctionWithExternalRefs.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/moveOutOfCompanion/moveFunctionWithExternalRefs.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_FAIL_WITH: 'foo' in class B will require class instance, 'foo' in function test() will require class instance, 'foo' in function test() will require class instance, 'foo' in function test() will require class instance class A { companion object { diff --git a/plugins/kotlin/idea/tests/testData/intentions/moveOutOfCompanion/movePropertyWithExternalRefs.kt b/plugins/kotlin/idea/tests/testData/intentions/moveOutOfCompanion/movePropertyWithExternalRefs.kt index 6b57efdd7b56..80680b59876c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/moveOutOfCompanion/movePropertyWithExternalRefs.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/moveOutOfCompanion/movePropertyWithExternalRefs.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_FAIL_WITH: 'foo' in class B will require class instance, 'foo' in function test() will require class instance, 'foo' in function test() will require class instance, 'foo' in function test() will require class instance class A { companion object { diff --git a/plugins/kotlin/idea/tests/testData/intentions/movePropertyToConstructor/delegated.kt b/plugins/kotlin/idea/tests/testData/intentions/movePropertyToConstructor/delegated.kt index 8fdc93e18561..e098cf9f193f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/movePropertyToConstructor/delegated.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/movePropertyToConstructor/delegated.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB class TestClass { private val text: String by lazy { "Lorem Ipsum" } diff --git a/plugins/kotlin/idea/tests/testData/intentions/movePropertyToConstructor/map.kt b/plugins/kotlin/idea/tests/testData/intentions/movePropertyToConstructor/map.kt index 1e279e0097f9..371c58bac0d2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/movePropertyToConstructor/map.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/movePropertyToConstructor/map.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Baz diff --git a/plugins/kotlin/idea/tests/testData/intentions/movePropertyToConstructor/map.kt.after b/plugins/kotlin/idea/tests/testData/intentions/movePropertyToConstructor/map.kt.after index 5c4935f64c8a..6f14b2d02018 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/movePropertyToConstructor/map.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/movePropertyToConstructor/map.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Baz diff --git a/plugins/kotlin/idea/tests/testData/intentions/moveToCompanion/doNotQualifyThisLabel.kt b/plugins/kotlin/idea/tests/testData/intentions/moveToCompanion/doNotQualifyThisLabel.kt index e612466fbd83..2da1c2cdc8de 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/moveToCompanion/doNotQualifyThisLabel.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/moveToCompanion/doNotQualifyThisLabel.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package foo class InsertThis { diff --git a/plugins/kotlin/idea/tests/testData/intentions/moveToCompanion/doNotQualifyThisLabel.kt.after b/plugins/kotlin/idea/tests/testData/intentions/moveToCompanion/doNotQualifyThisLabel.kt.after index 04165ea83cb8..1a91c55999d0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/moveToCompanion/doNotQualifyThisLabel.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/moveToCompanion/doNotQualifyThisLabel.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package foo class InsertThis { diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/EmptyBody.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/EmptyBody.kt index 7e0554b3897b..24cdc6aed5a8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/EmptyBody.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/EmptyBody.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'runnable' is never used fun foo(runnable: Runnable) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/EmptyBody.kt.after b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/EmptyBody.kt.after index 092278739c27..64cf7b883659 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/EmptyBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/EmptyBody.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'runnable' is never used fun foo(runnable: Runnable) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ExplicitThis.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ExplicitThis.kt index 25f8efaec744..1febf295d3e9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ExplicitThis.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ExplicitThis.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo() { object : Runnable { diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ExpressionBody.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ExpressionBody.kt index cbb4530c7d34..451901d35919 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ExpressionBody.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ExpressionBody.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'filter' is never used import java.io.File import java.io.FileFilter diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ExpressionBody.kt.after b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ExpressionBody.kt.after index 5b78807b1697..fd4d652077a0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ExpressionBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ExpressionBody.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'filter' is never used import java.io.File import java.io.FileFilter diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/HasData.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/HasData.kt index 67cd0cfeb335..fdf0c09c4793 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/HasData.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/HasData.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo(runnable: Runnable) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ImplicitThis.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ImplicitThis.kt index f2d1ae7421c6..07c9af0a8efb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ImplicitThis.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ImplicitThis.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo() { object : Runnable { diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/MultipleBases.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/MultipleBases.kt index 297adeef966b..01f379aca425 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/MultipleBases.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/MultipleBases.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB interface I diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/MultipleParameters.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/MultipleParameters.kt index e3d02827da88..bc00cc66e6f0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/MultipleParameters.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/MultipleParameters.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'file' is never used, could be renamed to _ // AFTER-WARNING: Parameter 'filter' is never used import java.io.File diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/MultipleParameters.kt.after b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/MultipleParameters.kt.after index 6e8f6fa3668f..8c959f67cef8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/MultipleParameters.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/MultipleParameters.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'file' is never used, could be renamed to _ // AFTER-WARNING: Parameter 'filter' is never used import java.io.File diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/NoSamAdapterNeeded.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/NoSamAdapterNeeded.kt index 070f2ee69a41..1bf05e6b401b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/NoSamAdapterNeeded.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/NoSamAdapterNeeded.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun bar() { Thread(object: Runnable { diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/NoSamAdapterNeeded.kt.after b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/NoSamAdapterNeeded.kt.after index 837d3bfd1840..76c49cdd0837 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/NoSamAdapterNeeded.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/NoSamAdapterNeeded.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun bar() { Thread { throw UnsupportedOperationException() } diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/NotInRange1.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/NotInRange1.kt index 1986e95554ea..64664c96b111 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/NotInRange1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/NotInRange1.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo(runnable: Runnable) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/NotInRange2.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/NotInRange2.kt index 8f439ea9dbc5..ebd98a1d3280 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/NotInRange2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/NotInRange2.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo(runnable: Runnable) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ParametersNotUsed.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ParametersNotUsed.kt index 6fa455f8da0d..9db60d1bd63a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ParametersNotUsed.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ParametersNotUsed.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'filter' is never used import java.io.File import java.io.FileFilter diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ParametersNotUsed.kt.after b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ParametersNotUsed.kt.after index 0251b7327ceb..46aafb7323dc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ParametersNotUsed.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ParametersNotUsed.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'filter' is never used import java.io.File import java.io.FileFilter diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ParametersNotUsedMoreThanOne.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ParametersNotUsedMoreThanOne.kt index 25657b967fae..3932ef5033ff 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ParametersNotUsedMoreThanOne.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ParametersNotUsedMoreThanOne.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'file' is never used, could be renamed to _ // AFTER-WARNING: Parameter 'filter' is never used // AFTER-WARNING: Parameter 'name' is never used, could be renamed to _ diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ParametersNotUsedMoreThanOne.kt.after b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ParametersNotUsedMoreThanOne.kt.after index 4c3796c557d3..0bda82a85bd9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ParametersNotUsedMoreThanOne.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ParametersNotUsedMoreThanOne.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'file' is never used, could be renamed to _ // AFTER-WARNING: Parameter 'filter' is never used // AFTER-WARNING: Parameter 'name' is never used, could be renamed to _ diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/QualifiedReturn.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/QualifiedReturn.kt index af7d3113cbe0..50a76db87e06 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/QualifiedReturn.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/QualifiedReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'runnable' is never used fun foo(runnable: Runnable) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/QualifiedReturn.kt.after b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/QualifiedReturn.kt.after index b69dc8929b13..9607240de4e0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/QualifiedReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/QualifiedReturn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'runnable' is never used fun foo(runnable: Runnable) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/Recursive.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/Recursive.kt index da2e985418da..6ab4bd731b4b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/Recursive.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/Recursive.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo(runnable: Runnable) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnNoValue.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnNoValue.kt index 5e2359600f74..2945d53d96c8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnNoValue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnNoValue.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'runnable' is never used fun foo(runnable: Runnable) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnNoValue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnNoValue.kt.after index 6eb036c8acaf..31eff25698fa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnNoValue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnNoValue.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'runnable' is never used fun foo(runnable: Runnable) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnNotLast.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnNotLast.kt index 6618f8ffe25c..919b0320cb07 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnNotLast.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnNotLast.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'filter' is never used import java.io.File import java.io.FilenameFilter diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnNotLast.kt.after b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnNotLast.kt.after index 8c33046f02f4..7d2ff57e2767 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnNotLast.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnNotLast.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'filter' is never used import java.io.File import java.io.FilenameFilter diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnsInIf.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnsInIf.kt index 91786945db85..9fc8e7a496cb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnsInIf.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnsInIf.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'filter' is never used import java.io.File import java.io.FileFilter diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnsInIf.kt.after b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnsInIf.kt.after index fc9f8b09cd6a..36d4bc67e402 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnsInIf.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnsInIf.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'filter' is never used import java.io.File import java.io.FileFilter diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnsInWhen.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnsInWhen.kt index 527b8422d658..432681dd4ddb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnsInWhen.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnsInWhen.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'filter' is never used import java.io.File import java.io.FileFilter diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnsInWhen.kt.after b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnsInWhen.kt.after index 54d1530f08e7..30cc4fa4fe25 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnsInWhen.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ReturnsInWhen.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'filter' is never used import java.io.File import java.io.FileFilter diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/SamAdapterNeededBecauseOfLabeledReturn.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/SamAdapterNeededBecauseOfLabeledReturn.kt index 6349809c8cfd..e8bed78326c6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/SamAdapterNeededBecauseOfLabeledReturn.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/SamAdapterNeededBecauseOfLabeledReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun bar(p: Int) { Thread(object: Runnable { diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/SamAdapterNeededBecauseOfLabeledReturn.kt.after b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/SamAdapterNeededBecauseOfLabeledReturn.kt.after index f0e85fe5a58b..4c5378e32fcf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/SamAdapterNeededBecauseOfLabeledReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/SamAdapterNeededBecauseOfLabeledReturn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun bar(p: Int) { Thread(Runnable { diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/Simple.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/Simple.kt index 336a93e9622f..cf71bdff8b2f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/Simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/Simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'runnable' is never used fun foo(runnable: Runnable) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/Simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/Simple.kt.after index 23e1326199b0..176460d29a6f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/Simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/Simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'runnable' is never used fun foo(runnable: Runnable) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/SingleReturn.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/SingleReturn.kt index 7033463b59bf..946ed6180ab6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/SingleReturn.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/SingleReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'filter' is never used import java.io.File import java.io.FileFilter diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/SingleReturn.kt.after b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/SingleReturn.kt.after index 5b78807b1697..fd4d652077a0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/SingleReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/SingleReturn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'filter' is never used import java.io.File import java.io.FileFilter diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/StatementAndReturn.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/StatementAndReturn.kt index 34259b3702fe..fcb4c6c3f937 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/StatementAndReturn.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/StatementAndReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'filter' is never used import java.io.File import java.io.FileFilter diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/StatementAndReturn.kt.after b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/StatementAndReturn.kt.after index b6534a6f0b0b..35a89b08dc6c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/StatementAndReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/StatementAndReturn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'filter' is never used import java.io.File import java.io.FileFilter diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ThisReference.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ThisReference.kt index ded3c0efd063..af21f8d675c9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ThisReference.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ThisReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'b' is never used class Test { diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ThisReference.kt.after b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ThisReference.kt.after index 59dabfe7caba..6de15065e08a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ThisReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/ThisReference.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'b' is never used class Test { diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/TwoFunctions.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/TwoFunctions.kt index 709ee6991824..a16604c0c324 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/TwoFunctions.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/TwoFunctions.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo(runnable: Runnable) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/WithComment.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/WithComment.kt index cc12577974b9..caf72ee58176 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/WithComment.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/WithComment.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val r = object: Runnable { override fun run() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/WithComment.kt.after b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/WithComment.kt.after index 5ade78009efd..877536b1a9bc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/WithComment.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/WithComment.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val r = Runnable { TODO("not implemented") //To change body ... diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/WithCommentAfterExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/WithCommentAfterExpression.kt index 4c32f6c87e2e..8e9b0847709c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/WithCommentAfterExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/WithCommentAfterExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val r = object: Runnable { override fun run() = TODO("not implemented") //To change body ... diff --git a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/WithCommentAfterExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/WithCommentAfterExpression.kt.after index 5ade78009efd..877536b1a9bc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/WithCommentAfterExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/objectLiteralToLambda/WithCommentAfterExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val r = Runnable { TODO("not implemented") //To change body ... diff --git a/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/binaryNotIn.kt b/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/binaryNotIn.kt index 060c1db8eb32..e901f2788614 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/binaryNotIn.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/binaryNotIn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Int, b: Array) { a !in b } diff --git a/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/binaryNotIn.kt.after b/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/binaryNotIn.kt.after index d417392efffd..9dd9b514f796 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/binaryNotIn.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/binaryNotIn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Int, b: Array) { !b.contains(a) } diff --git a/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/compoundAssignment2.kt b/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/compoundAssignment2.kt index d59d720291a4..7e86ef720b71 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/compoundAssignment2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/compoundAssignment2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface C { operator fun get(p: String): MutableList } diff --git a/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/compoundAssignment2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/compoundAssignment2.kt.after index 170f13a07ba1..fa67f51ad3e8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/compoundAssignment2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/compoundAssignment2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface C { operator fun get(p: String): MutableList } diff --git a/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/invokeOnAnonymousFunctionWithReceiver2.kt b/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/invokeOnAnonymousFunctionWithReceiver2.kt index 99f92e9be535..97a8b2790e19 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/invokeOnAnonymousFunctionWithReceiver2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/invokeOnAnonymousFunctionWithReceiver2.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val xx = 1.also { }.(fun Int.(x: Int, y: Int) = this + x + y)(2, 3) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/invokeOnAnonymousFunctionWithReceiver2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/invokeOnAnonymousFunctionWithReceiver2.kt.after index 58bf10e93abc..f52403c2ae6c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/invokeOnAnonymousFunctionWithReceiver2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/invokeOnAnonymousFunctionWithReceiver2.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val xx = (fun Int.(x: Int, y: Int) = this + x + y).invoke(1.also { }, 2, 3) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/notApplicableFunctionCallWithCallableReference.kt b/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/notApplicableFunctionCallWithCallableReference.kt index d643ba974162..531f1970264e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/notApplicableFunctionCallWithCallableReference.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/operatorToFunction/notApplicableFunctionCallWithCallableReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun foo() { val bar = { x: Int -> x + 1 } diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeBraces/elseInDotQualifiedExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/removeBraces/elseInDotQualifiedExpression.kt index e81f4a53ee5c..358b33e546a9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeBraces/elseInDotQualifiedExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeBraces/elseInDotQualifiedExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { val list1 = mutableListOf(1) val list2 = mutableListOf(2) diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeBraces/elseInDotQualifiedExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeBraces/elseInDotQualifiedExpression.kt.after index 43d560f8031a..ee5271d33b46 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeBraces/elseInDotQualifiedExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeBraces/elseInDotQualifiedExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { val list1 = mutableListOf(1) val list2 = mutableListOf(2) diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeBraces/elseInPlusAssignExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/removeBraces/elseInPlusAssignExpression.kt index ea4b5cd42d0a..8f6c8a03001f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeBraces/elseInPlusAssignExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeBraces/elseInPlusAssignExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { val list1 = mutableListOf(1) val list2 = mutableListOf(2) diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeBraces/elseInPlusAssignExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeBraces/elseInPlusAssignExpression.kt.after index 76faadf529fb..75c76c7f3ba8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeBraces/elseInPlusAssignExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeBraces/elseInPlusAssignExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { val list1 = mutableListOf(1) val list2 = mutableListOf(2) diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeBraces/ifInDotQualifiedExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/removeBraces/ifInDotQualifiedExpression.kt index f43b5e726a2f..23c210babd92 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeBraces/ifInDotQualifiedExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeBraces/ifInDotQualifiedExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { val list1 = mutableListOf(1) val list2 = mutableListOf(2) diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeBraces/ifInDotQualifiedExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeBraces/ifInDotQualifiedExpression.kt.after index 2cca5accd18a..f728deea631a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeBraces/ifInDotQualifiedExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeBraces/ifInDotQualifiedExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { val list1 = mutableListOf(1) val list2 = mutableListOf(2) diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeBraces/whenInDotQualifiedExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/removeBraces/whenInDotQualifiedExpression.kt index d9baa44c46a9..5eb7e2e0108d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeBraces/whenInDotQualifiedExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeBraces/whenInDotQualifiedExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { val list1 = mutableListOf(1) val list2 = mutableListOf(2) diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeBraces/whenInDotQualifiedExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeBraces/whenInDotQualifiedExpression.kt.after index c53b5bcbf294..7cb05f83f294 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeBraces/whenInDotQualifiedExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeBraces/whenInDotQualifiedExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test(b: Boolean) { val list1 = mutableListOf(1) val list2 = mutableListOf(2) diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeEmptyParenthesesFromLambdaCall/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/removeEmptyParenthesesFromLambdaCall/simple.kt index 7951e6718ae8..ebd5eb199905 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeEmptyParenthesesFromLambdaCall/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeEmptyParenthesesFromLambdaCall/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1).forEach() { } diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeEmptyParenthesesFromLambdaCall/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeEmptyParenthesesFromLambdaCall/simple.kt.after index 683d78a6bf91..d0c7a80bbcb1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeEmptyParenthesesFromLambdaCall/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeEmptyParenthesesFromLambdaCall/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1).forEach { } diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/lambdaInitializer5.kt b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/lambdaInitializer5.kt index 62171cfbada2..cc94e62f4255 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/lambdaInitializer5.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/lambdaInitializer5.kt @@ -1,3 +1,3 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB val foo: (Pair) -> String = { (i: Int, j: Int) -> (i + j).toString() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/needTypeArgument.kt b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/needTypeArgument.kt index 05b0f655f52c..95c89623a8d4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/needTypeArgument.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/needTypeArgument.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val x: Set = setOf() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/needTypeArgument.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/needTypeArgument.kt.after index 55344e969abf..26995b25049d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/needTypeArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/needTypeArgument.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = setOf() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/removeUnresolvedType.kt b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/removeUnresolvedType.kt index 8366f2a4f282..102d604cbead 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/removeUnresolvedType.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/removeUnresolvedType.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SKIP_ERRORS_BEFORE package testing diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/removeUnresolvedType.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/removeUnresolvedType.kt.after index fd15aaa5d0d2..53c5d3e06dce 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/removeUnresolvedType.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitType/removeUnresolvedType.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SKIP_ERRORS_BEFORE package testing diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/blockValue.kt b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/blockValue.kt index d5b08bfcd157..d3ef4ae7ea79 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/blockValue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/blockValue.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB fun f(p: Int): List? { return if (p > 0) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/blockValue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/blockValue.kt.after index 6e76365ffaf8..71c39c3329ee 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/blockValue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/blockValue.kt.after @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB fun f(p: Int): List? { return if (p > 0) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/defaultParamValue.kt b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/defaultParamValue.kt index 432e5396895a..4b2a398f0cfb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/defaultParamValue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/defaultParamValue.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'p' is never used fun foo(p: List = listOf()) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/defaultParamValue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/defaultParamValue.kt.after index b6c632e6df46..da62af1b7843 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/defaultParamValue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/defaultParamValue.kt.after @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'p' is never used fun foo(p: List = listOf()) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/getterBody.kt b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/getterBody.kt index 43075ad51ff5..02a0098daaed 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/getterBody.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/getterBody.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB val x: List get() = listOf() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/getterBody.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/getterBody.kt.after index 75e36d3f1da6..522540f562b6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/getterBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/getterBody.kt.after @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB val x: List get() = listOf() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/hasAnnotation.kt b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/hasAnnotation.kt index 035d153b97fd..d7d58f64984f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/hasAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/hasAnnotation.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB annotation class Foo(val value: String) fun main() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideDeepOtherCall.kt b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideDeepOtherCall.kt index cbf84b4ff8e6..9159dff06643 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideDeepOtherCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideDeepOtherCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used fun foo(f: ListWrapper) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideDeepOtherCall.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideDeepOtherCall.kt.after index 71c751fcfbfa..c8964b7b117b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideDeepOtherCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideDeepOtherCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'f' is never used fun foo(f: ListWrapper) {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideGenericCall.kt b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideGenericCall.kt index ab154414f1d0..d1e57bc6b137 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideGenericCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideGenericCall.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List): Int = 0 diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideOtherCall.kt b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideOtherCall.kt index 38505744f510..ecf52ef5f8a6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideOtherCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideOtherCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class ListWrapper(val x: List) diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideOtherCall.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideOtherCall.kt.after index 1faf152414fa..4d9ebb9ba793 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideOtherCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/insideOtherCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class ListWrapper(val x: List) diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/inspectionData/inspections.test b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/inspectionData/inspections.test index e933c84dff29..47e35b86610e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/inspectionData/inspections.test +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/inspectionData/inspections.test @@ -1,2 +1,2 @@ // INSPECTION_CLASS: org.jetbrains.kotlin.idea.intentions.RemoveExplicitTypeArgumentsInspection -// WITH_RUNTIME \ No newline at end of file +// WITH_STDLIB \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/kt29735.kt b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/kt29735.kt index bf428cbd618a..adf3ff804baf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/kt29735.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/kt29735.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB enum class A(val strings: List) { B(listOfing>("")) diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/kt29735.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/kt29735.kt.after index e4a665da99f7..2c4995855779 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/kt29735.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/kt29735.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB enum class A(val strings: List) { B(listOf("")) diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/lambdaValue.kt b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/lambdaValue.kt index cc4f8b053224..9cb9335a9862 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/lambdaValue.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/lambdaValue.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB fun foo(): List = run { listOf() diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/lambdaValue.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/lambdaValue.kt.after index 5ba4290e9ade..1a2d72934ddf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/lambdaValue.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/lambdaValue.kt.after @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB fun foo(): List = run { listOf() diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/platforrmType1.kt b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/platforrmType1.kt index cd41d18f955d..dc361d3e0ba3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/platforrmType1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/platforrmType1.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo() { JavaClass.method().toTypedArray() diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/platforrmType2.kt b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/platforrmType2.kt index 475eeec64859..d5c39a10b106 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/platforrmType2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/platforrmType2.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo() { JavaClass.method().toTypedArray() diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/twoArguments.kt b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/twoArguments.kt index fcba3af4adda..9e58e7d6aade 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/twoArguments.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/twoArguments.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'p1' is never used // AFTER-WARNING: Parameter 'p2' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/twoArguments.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/twoArguments.kt.after index 935def0e3fe1..18d48cae5239 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/twoArguments.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeExplicitTypeArguments/twoArguments.kt.after @@ -1,5 +1,5 @@ // IS_APPLICABLE: true -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'p1' is never used // AFTER-WARNING: Parameter 'p2' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/inapplicableIndexUse.kt b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/inapplicableIndexUse.kt index 689db8843fb4..d96ed81aca1a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/inapplicableIndexUse.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/inapplicableIndexUse.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: FALSE -// WITH_RUNTIME +// WITH_STDLIB fun foo(b: List) : Int { for ((i, c) in b.withIndex()) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/inapplicableOverridenFunction.kt b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/inapplicableOverridenFunction.kt index ea114ec7840e..1909f6d4514c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/inapplicableOverridenFunction.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/inapplicableOverridenFunction.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: FALSE fun Int.withIndex(): List> = listOf>() diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/loopWithType.kt b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/loopWithType.kt index 1c055d425a64..4c0b20610722 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/loopWithType.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/loopWithType.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: List) { for ((i : Int, b: Int) in bar.withIndex()) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/loopWithType.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/loopWithType.kt.after index 918d3ab32f8b..923db2719515 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/loopWithType.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/loopWithType.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: List) { for (b: Int in bar) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndices.kt b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndices.kt index e907ccc131b7..ec9223607b91 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndices.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndices.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: List) { for ((i,a) in bar.withIndex()) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndices.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndices.kt.after index 8b1907b3c3d0..a2f4493a4f2e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndices.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndices.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: List) { for (a in bar) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndicesOverCharSequence.kt b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndicesOverCharSequence.kt index 4d777f5bb875..2e4bb6bedab5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndicesOverCharSequence.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndicesOverCharSequence.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: CharSequence) { for ((i,a) in bar.withIndex()) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndicesOverCharSequence.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndicesOverCharSequence.kt.after index c87a0a9ce8c8..0d1216a773ac 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndicesOverCharSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndicesOverCharSequence.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: CharSequence) { for (a in bar) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndicesOverSequence.kt b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndicesOverSequence.kt index 5107e31cc734..6feb48553951 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndicesOverSequence.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndicesOverSequence.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Sequence) { for ((i,a) in bar.withIndex()) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndicesOverSequence.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndicesOverSequence.kt.after index 31f7622c51e9..55efa90fb24f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndicesOverSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeForLoopIndices/simpleLoopWithIndicesOverSequence.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Sequence) { for (a in bar) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/labeledLambda.kt b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/labeledLambda.kt index 4adb08a05d73..8a9658d2c9f1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/labeledLambda.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/labeledLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Remove return@label" fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/labeledLambda.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/labeledLambda.kt.after index 9e38c36ca9c5..c8d061c67598 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/labeledLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/labeledLambda.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Remove return@label" fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/multipleBlocks.kt b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/multipleBlocks.kt index fcbd4f86f993..ab84b7e91fcf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/multipleBlocks.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/multipleBlocks.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).find { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/multipleBlocks.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/multipleBlocks.kt.after index 046e402b151b..7990e9f79476 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/multipleBlocks.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/multipleBlocks.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).find { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/normal.kt b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/normal.kt index 4770218534f0..c4c55838536a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/normal.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/normal.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Remove return@find" fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/normal.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/normal.kt.after index 864641b84525..03aa52373bb4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/normal.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/normal.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Remove return@find" fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/notInsideLabeled.kt b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/notInsideLabeled.kt index 910445d41348..bb2ddf8aa242 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/notInsideLabeled.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/notInsideLabeled.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: FALSE fun foo(): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/notLabeled.kt b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/notLabeled.kt index b98d5aa2ba4a..f2b7b8c07653 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/notLabeled.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/notLabeled.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: FALSE fun foo(): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/notLastLine.kt b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/notLastLine.kt index 8f4c1d7b0984..16557c89b8b6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/notLastLine.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/notLastLine.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: FALSE fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/outerLambda.kt b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/outerLambda.kt index 47beb1f1d36e..6aaee20be4ad 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/outerLambda.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/outerLambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: FALSE fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/unit.kt b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/unit.kt index 6db30593a839..8cb2f305d1e3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/unit.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/unit.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Remove return@forEach" fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/unit.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/unit.kt.after index c419f84bf897..92fd3396ff60 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/unit.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeLabeledReturnInLambda/unit.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: "Remove return@forEach" fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/byte.kt b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/byte.kt index b59e03d2e950..c72043372fa2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/byte.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/byte.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = Byte.MAX_VALUE.toByte() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/byte.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/byte.kt.after index 7cc039fc888a..dab70ed993b0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/byte.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/byte.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = Byte.MAX_VALUE \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/char.kt b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/char.kt index afcfad49d591..53cd525d5d18 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/char.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/char.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = 'a'.toChar() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/char.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/char.kt.after index cfe7594df444..e35d5bd1f957 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/char.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/char.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = 'a' \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/double.kt b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/double.kt index 3ec6609f7947..3e5f51194e38 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/double.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/double.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = 1.1.toDouble() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/double.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/double.kt.after index 736838a6af7a..613089f95d74 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/double.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/double.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = 1.1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/float.kt b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/float.kt index 4e0987518091..df387196d6f2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/float.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/float.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = 1.1f.toFloat() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/float.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/float.kt.after index 94b0cae0cfd8..60227fb4dc24 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/float.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/float.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = 1.1f \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/int.kt b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/int.kt index 0e4e87891aa0..e9da8d138a1d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/int.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/int.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = 1.toInt() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/int.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/int.kt.after index 75a6b387fb09..e784b0fd27d3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/int.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/int.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = 1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/long.kt b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/long.kt index 7d6e0ff4705f..6860d7df9860 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/long.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/long.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = Long.MAX_VALUE.toLong() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/long.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/long.kt.after index 2d436fe71c11..93c696f3951f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/long.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/long.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = Long.MAX_VALUE \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/nullable.kt b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/nullable.kt index 4ed689402f77..934bc8a934dc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/nullable.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/nullable.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun foo(s: String?) { val t: String = s.toString() diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/nullable2.kt b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/nullable2.kt index b6f2abdb6a99..ac1503ba13cc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/nullable2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/nullable2.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB data class Foo(val name: String) fun nullable2(foo: Foo?) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/safeString.kt b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/safeString.kt index 02add092b738..aa3b8de828a3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/safeString.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/safeString.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/safeString.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/safeString.kt.after index 4b7ad4cf143c..2d4dff991c22 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/safeString.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/safeString.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: The expression is unused fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/safeString2.kt b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/safeString2.kt index 899ce5b39c39..0259973a0dce 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/safeString2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/safeString2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used data class Foo(val name: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/safeString2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/safeString2.kt.after index 6bcc79584c19..32c0f60c6908 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/safeString2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/safeString2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used data class Foo(val name: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/short.kt b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/short.kt index a5cdaa58cf0e..ea42f3bea38e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/short.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/short.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = Short.MAX_VALUE.toShort() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/short.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/short.kt.after index a260412dee6f..c218f59632d0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/short.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/short.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = Short.MAX_VALUE \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/string.kt b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/string.kt index d6c84e18a415..a5e1e34e61e0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/string.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/string.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = "".toString() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/string.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/string.kt.after index d2e2207b194d..99e8650cc4ea 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/string.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/string.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = "" \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/toOtherType.kt b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/toOtherType.kt index c3e45a9dfa07..1647edf6b1d7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/toOtherType.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/toOtherType.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false val foo = 1.toLong() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uByte.kt b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uByte.kt index 0e804a3e7cae..e74b077f916f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uByte.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uByte.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'foo' is never used fun test(i: UByte) { val foo = i.toUByte() diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uByte.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uByte.kt.after index 7c28f0e2fc38..dcbe84d58227 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uByte.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uByte.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'foo' is never used fun test(i: UByte) { val foo = i diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uInt.kt b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uInt.kt index e6b30c595e9f..8a7b1dd6a111 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uInt.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uInt.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'foo' is never used fun test(i: UInt) { val foo = i.toUInt() diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uInt.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uInt.kt.after index 91ad45be7196..56dd525d7861 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uInt.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'foo' is never used fun test(i: UInt) { val foo = i diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uLong.kt b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uLong.kt index 8115cd99a1ae..5db25d5de721 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uLong.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uLong.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'foo' is never used fun test(i: ULong) { val foo = i.toULong() diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uLong.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uLong.kt.after index 74d82fe7ded1..32b18b5c02e2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uLong.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uLong.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'foo' is never used fun test(i: ULong) { val foo = i diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uShort.kt b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uShort.kt index fd7de985a56d..c7e22d331fe0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uShort.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uShort.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'foo' is never used fun test(i: UShort) { val foo = i.toUShort() diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uShort.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uShort.kt.after index e3b298403de2..bea0d8aee55a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uShort.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/uShort.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'foo' is never used fun test(i: UShort) { val foo = i diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/variable.kt b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/variable.kt index 6156f3cf0114..f47cd613a1f5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/variable.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/variable.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = "" val bar = foo.toString() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/variable.kt.after b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/variable.kt.after index 5d5172329796..13c808c1229d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/variable.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/removeRedundantCallsOfConversionMethods/variable.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val foo = "" val bar = foo \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeUnnecessaryParentheses/elvisRhs.kt b/plugins/kotlin/idea/tests/testData/intentions/removeUnnecessaryParentheses/elvisRhs.kt index de82156154f9..d76076be6832 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeUnnecessaryParentheses/elvisRhs.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeUnnecessaryParentheses/elvisRhs.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo(): Boolean { return ("" ?: return false) in listOf("") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/removeUnnecessaryParentheses/elvisRhsEmptyReturn.kt b/plugins/kotlin/idea/tests/testData/intentions/removeUnnecessaryParentheses/elvisRhsEmptyReturn.kt index bd5b43a3a0a3..1888d7fde5e4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/removeUnnecessaryParentheses/elvisRhsEmptyReturn.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/removeUnnecessaryParentheses/elvisRhsEmptyReturn.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Elvis operator (?:) always returns the left operand of non-nullable type String fun foo() { bar(("" ?: return) in listOf("")) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/add.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/add.kt index 53a0357ad045..1f4048fbd8a9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/add.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/add.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: Replace 'add()' with '+=' fun foo() { val a = arrayListOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/add.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/add.kt.after index caef267e1d86..ed9fbef47052 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/add.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/add.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: Replace 'add()' with '+=' fun foo() { val a = arrayListOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAll.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAll.kt index 154f4dffcda0..365f6200fe79 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAll.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAll.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: Replace 'addAll()' with '+=' fun foo() { val a = arrayListOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAll.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAll.kt.after index 139654026bed..72f9cfb53782 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAll.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAll.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // INTENTION_TEXT: Replace 'addAll()' with '+=' fun foo() { val a = arrayListOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAllAtIndex.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAllAtIndex.kt index b78f80913bc5..2fa4c3d24570 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAllAtIndex.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAllAtIndex.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val a = arrayListOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAllToVar.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAllToVar.kt index 18b489f7b531..42ceb36f1f23 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAllToVar.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAllToVar.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var a = arrayListOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAtIndex.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAtIndex.kt index 4f224a5de025..4ca017670bd7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAtIndex.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addAtIndex.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val a = arrayListOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addToVar.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addToVar.kt index 66ddabdc8f7a..11bb2e4ca11b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addToVar.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceAddWithPlusAssign/addToVar.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var a = arrayListOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceExplicitFunctionLiteralParamWithIt/notApplicable_hasDestructuringDeclaration.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceExplicitFunctionLiteralParamWithIt/notApplicable_hasDestructuringDeclaration.kt index b039ad119064..17072ef40e86 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceExplicitFunctionLiteralParamWithIt/notApplicable_hasDestructuringDeclaration.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceExplicitFunctionLiteralParamWithIt/notApplicable_hasDestructuringDeclaration.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false val list = listOf(Pair(1, 2), Pair(3, 4)).map { (f, s) -> f + s } diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/array.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/array.kt index 1ee9b6741d09..1a22dac50f32 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/array.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/array.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val arrayOf = arrayOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/array.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/array.kt.after index c38808be30ce..fe5cc60b4e94 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/array.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/array.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val arrayOf = arrayOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/array2.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/array2.kt index 8330fc27f02b..946b0e88ca1b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/array2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/array2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val arrayOf = arrayOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/array2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/array2.kt.after index c38808be30ce..fe5cc60b4e94 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/array2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/array2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val arrayOf = arrayOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/collection.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/collection.kt index 345407601197..240cce64fa49 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/collection.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/collection.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val c: Collection = listOf("") diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/collection.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/collection.kt.after index a38fb194500b..0a69f6c1c7cf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/collection.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/collection.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val c: Collection = listOf("") diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/gt.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/gt.kt index 5f305cc444eb..b4409c48f3b7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/gt.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/gt.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/gt.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/gt.kt.after index b98a28ec9769..0f7f2b7bca08 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/gt.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/gt.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/gteq.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/gteq.kt index 3d1a6a48f787..26a7dc94ed9f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/gteq.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/gteq.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/gteq.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/gteq.kt.after index b98a28ec9769..0f7f2b7bca08 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/gteq.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/gteq.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/list.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/list.kt index 5f305cc444eb..b4409c48f3b7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/list.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/list.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/list.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/list.kt.after index b98a28ec9769..0f7f2b7bca08 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/list.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/list.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/list2.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/list2.kt index 3002acc34843..33563b796e0d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/list2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/list2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/list2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/list2.kt.after index b98a28ec9769..0f7f2b7bca08 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/list2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/list2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/listCount.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/listCount.kt index 0cb4885fa1f3..ff2cda5c2c2d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/listCount.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/listCount.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used fun test(list: List) { val x = list.count() > 0 diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/listCount.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/listCount.kt.after index ba1c571ea16d..36a4f3b2029b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/listCount.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/listCount.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used fun test(list: List) { val x = list.isNotEmpty() diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/listCountWithPredicate.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/listCountWithPredicate.kt index c2a324f4a1bf..3c7e62065235 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/listCountWithPredicate.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/listCountWithPredicate.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val x = list.count { it.startsWith("prefix_") } > 0 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/lt.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/lt.kt index 3002acc34843..33563b796e0d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/lt.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/lt.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/lt.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/lt.kt.after index b98a28ec9769..0f7f2b7bca08 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/lt.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/lt.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/lteq.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/lteq.kt index 78b9a348f86e..d6e6b1fd5eb8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/lteq.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/lteq.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/lteq.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/lteq.kt.after index b98a28ec9769..0f7f2b7bca08 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/lteq.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/lteq.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/map.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/map.kt index ce8028c9f8c2..f5cf05d9f236 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/map.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/map.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val m = mapOf("" to 1) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/map.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/map.kt.after index a6f7522ce9a5..c8fa17965e4b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/map.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/map.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val m = mapOf("" to 1) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/oppositeSign.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/oppositeSign.kt index f10338960e6e..82fbb0c638d0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/oppositeSign.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/oppositeSign.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/oppositeSign2.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/oppositeSign2.kt index 1c56cfecc732..0c9431dcfc56 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/oppositeSign2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/oppositeSign2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/primitiveArray.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/primitiveArray.kt index 35fa64f1950e..96d8328c1321 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/primitiveArray.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/primitiveArray.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val a = intArrayOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/primitiveArray.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/primitiveArray.kt.after index c39a781f8fea..5f8c00cf761f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/primitiveArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/primitiveArray.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val a = intArrayOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/set.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/set.kt index c39ebbaeb0f2..c1d232fc3315 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/set.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/set.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val setOf = setOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/set.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/set.kt.after index fb324270444a..000950b3cc6e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/set.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/set.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val setOf = setOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/sizeCheck.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/sizeCheck.kt index 60a420998dde..13f1b9cbf7d5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/sizeCheck.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/sizeCheck.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class List { diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/string.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/string.kt index 4720cc65e2cf..5a1b92dd1c3d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/string.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/string.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val text = "123" diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/string.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/string.kt.after index eaf3be673799..9070524e8269 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/string.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/string.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val text = "123" diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/string2.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/string2.kt index 41dbd54f199c..11b6ae0937a8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/string2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/string2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val text = "123" diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/string2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/string2.kt.after index eaf3be673799..9070524e8269 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/string2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/string2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val text = "123" diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/stringCount.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/stringCount.kt index 1dc792a865ba..c3784ae95102 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/stringCount.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/stringCount.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used fun test(s: String) { val x = s.count() > 0 diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/stringCount.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/stringCount.kt.after index 607e76b86376..6bd8250f23fe 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/stringCount.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeCheckWithIsNotEmpty/stringCount.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used fun test(s: String) { val x = s.isNotEmpty() diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/array.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/array.kt index 9bba07ab75a7..171debbc0a4b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/array.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/array.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val arrayOf = arrayOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/array.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/array.kt.after index 463cb615e3c7..9b3c781ddfd4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/array.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/array.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val arrayOf = arrayOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/array2.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/array2.kt index cda1e08b3a84..cbbd0072fe18 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/array2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/array2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val arrayOf = arrayOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/array2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/array2.kt.after index 463cb615e3c7..9b3c781ddfd4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/array2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/array2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val arrayOf = arrayOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/gt.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/gt.kt index ebf197ca3548..8f6dbcde9c16 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/gt.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/gt.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/gt.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/gt.kt.after index b5d00e6e2cca..48617105ae18 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/gt.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/gt.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/gteq.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/gteq.kt index 658ce6739f0b..fb8137fa1069 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/gteq.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/gteq.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/gteq.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/gteq.kt.after index b5d00e6e2cca..48617105ae18 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/gteq.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/gteq.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/list.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/list.kt index 93afec7f6e76..a513106abf7a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/list.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/list.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/list.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/list.kt.after index b5d00e6e2cca..48617105ae18 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/list.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/list.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/list2.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/list2.kt index cdf8f0f50736..69c611a52e6c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/list2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/list2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/list2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/list2.kt.after index b5d00e6e2cca..48617105ae18 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/list2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/list2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/listCount.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/listCount.kt index a5f5db9320b0..3a9e1346963f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/listCount.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/listCount.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used fun test(list: List) { val x = list.count() == 0 diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/listCount.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/listCount.kt.after index 6e4f76ee0456..da42ff7fe2a4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/listCount.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/listCount.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used fun test(list: List) { val x = list.isEmpty() diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/listCountWithPredicate.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/listCountWithPredicate.kt index 939719362977..f092bb0c171d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/listCountWithPredicate.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/listCountWithPredicate.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { val x = list.count { it.startsWith("prefix_") } == 0 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/lt.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/lt.kt index aa8a826e025e..5ad952ac48ad 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/lt.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/lt.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/lt.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/lt.kt.after index b5d00e6e2cca..48617105ae18 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/lt.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/lt.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/lteq.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/lteq.kt index 4df8bd382701..b9e0bd7b83cd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/lteq.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/lteq.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/lteq.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/lteq.kt.after index b5d00e6e2cca..48617105ae18 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/lteq.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/lteq.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/set.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/set.kt index 17b501a75f24..7925feb4c449 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/set.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/set.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val setOf = setOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/set.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/set.kt.after index 3811a8edd4a2..de0cedf514c5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/set.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/set.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val setOf = setOf(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/sizeCheck.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/sizeCheck.kt index db762023317b..7e2428974a5d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/sizeCheck.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/sizeCheck.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false class List { diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/string.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/string.kt index ca3715340b2d..22dd75bac42d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/string.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/string.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val text = "123" diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/string.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/string.kt.after index e2b0c81a2ddc..091be963b2f6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/string.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/string.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val text = "123" diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/string2.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/string2.kt index f889bcdd41b8..47160dab46b9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/string2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/string2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val text = "123" diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/string2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/string2.kt.after index e2b0c81a2ddc..091be963b2f6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/string2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/string2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val text = "123" diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/stringCount.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/stringCount.kt index aa61d6fcca6c..e5373d4d30cc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/stringCount.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/stringCount.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used fun test(s: String) { val x = s.count() == 0 diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/stringCount.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/stringCount.kt.after index f22a5a94b793..bd9a6a87b23f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/stringCount.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceSizeZeroCheckWithIsEmpty/stringCount.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used fun test(s: String) { val x = s.isEmpty() diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/conflict.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/conflict.kt index cabb0e8571ae..8adb7f332b1e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/conflict.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/conflict.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'first' is never used // AFTER-WARNING: Variable 'first1' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/conflict.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/conflict.kt.after index 7352d52a4c33..15cd87c9522f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/conflict.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/conflict.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'first' is never used // AFTER-WARNING: Variable 'first1' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/map.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/map.kt index 788845230e1e..929584665fe0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/map.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/map.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'key' is never used fun foo(map: Map) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/map.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/map.kt.after index e05c5e7102db..86ea01e306c1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/map.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/map.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'key' is never used fun foo(map: Map) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/triple.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/triple.kt index abd759dcd714..d8255faabb8b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/triple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/triple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'third' is never used fun foo(t: Triple) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/triple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/triple.kt.after index a7c15b0fcd6a..dd2741841947 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/triple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceUnderscoreWithParameterName/triple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'third' is never used fun foo(t: Triple) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceUntilWithRangeTo/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceUntilWithRangeTo/simple.kt index 6109f8b93bd9..cba405cb52d4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceUntilWithRangeTo/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceUntilWithRangeTo/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Int) { for (i in 0 until a) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceUntilWithRangeTo/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/replaceUntilWithRangeTo/simple.kt.after index fb00b189ad2e..f45c9c484105 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceUntilWithRangeTo/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceUntilWithRangeTo/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Int) { for (i in 0..a - 1) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/replaceWithOrdinaryAssignment/mutableList.kt b/plugins/kotlin/idea/tests/testData/intentions/replaceWithOrdinaryAssignment/mutableList.kt index 792fda02f335..b54a4a428d6d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/replaceWithOrdinaryAssignment/mutableList.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/replaceWithOrdinaryAssignment/mutableList.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun main() { val mutableList = mutableListOf(4, 5, 6, 7, 8) mutableList += 9 diff --git a/plugins/kotlin/idea/tests/testData/intentions/samConversionToAnonymousObject/typeArgument3.kt b/plugins/kotlin/idea/tests/testData/intentions/samConversionToAnonymousObject/typeArgument3.kt index afca6ada4bbf..3534300c9cbf 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/samConversionToAnonymousObject/typeArgument3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/samConversionToAnonymousObject/typeArgument3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used fun interface I { fun method(x: Pair): Pair diff --git a/plugins/kotlin/idea/tests/testData/intentions/samConversionToAnonymousObject/typeArgument3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/samConversionToAnonymousObject/typeArgument3.kt.after index d18e1414b984..89747d7c995b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/samConversionToAnonymousObject/typeArgument3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/samConversionToAnonymousObject/typeArgument3.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used fun interface I { fun method(x: Pair): Pair diff --git a/plugins/kotlin/idea/tests/testData/intentions/samConversionToAnonymousObject/typeArgument4.kt b/plugins/kotlin/idea/tests/testData/intentions/samConversionToAnonymousObject/typeArgument4.kt index 42a460db0b1a..96dd2c689193 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/samConversionToAnonymousObject/typeArgument4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/samConversionToAnonymousObject/typeArgument4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used fun interface I { fun method(x: List>>): List, D>> diff --git a/plugins/kotlin/idea/tests/testData/intentions/samConversionToAnonymousObject/typeArgument4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/samConversionToAnonymousObject/typeArgument4.kt.after index 0ff138760c7d..8d8e9c702f23 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/samConversionToAnonymousObject/typeArgument4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/samConversionToAnonymousObject/typeArgument4.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'x' is never used fun interface I { fun method(x: List>>): List, D>> diff --git a/plugins/kotlin/idea/tests/testData/intentions/simplifyBooleanWithConstants/assert.kt b/plugins/kotlin/idea/tests/testData/intentions/simplifyBooleanWithConstants/assert.kt index 6d484a390850..dcd5f4fd46a8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/simplifyBooleanWithConstants/assert.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/simplifyBooleanWithConstants/assert.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { assert(true || false) diff --git a/plugins/kotlin/idea/tests/testData/intentions/simplifyBooleanWithConstants/assert.kt.after b/plugins/kotlin/idea/tests/testData/intentions/simplifyBooleanWithConstants/assert.kt.after index f6a597af433d..f6d37bf2c4d0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/simplifyBooleanWithConstants/assert.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/simplifyBooleanWithConstants/assert.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/simplifyBooleanWithConstants/flexibleBoolean.kt b/plugins/kotlin/idea/tests/testData/intentions/simplifyBooleanWithConstants/flexibleBoolean.kt index 9f0757ba55e1..237a698c7170 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/simplifyBooleanWithConstants/flexibleBoolean.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/simplifyBooleanWithConstants/flexibleBoolean.kt @@ -1,4 +1,4 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun bar() = FromJava.foo() == true \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyExplicitLambdaSignature/noParameters.kt b/plugins/kotlin/idea/tests/testData/intentions/specifyExplicitLambdaSignature/noParameters.kt index a31a844d2b03..1a7a82afa495 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyExplicitLambdaSignature/noParameters.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyExplicitLambdaSignature/noParameters.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun bar() {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyExplicitLambdaSignature/noParameters.kt.after b/plugins/kotlin/idea/tests/testData/intentions/specifyExplicitLambdaSignature/noParameters.kt.after index c41bf988b8f9..1f66687a2469 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyExplicitLambdaSignature/noParameters.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyExplicitLambdaSignature/noParameters.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun bar() {} diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyExplicitLambdaSignature/shortenReferencesForParams.kt b/plugins/kotlin/idea/tests/testData/intentions/specifyExplicitLambdaSignature/shortenReferencesForParams.kt index fad5f820cc2a..5fd7181a8237 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyExplicitLambdaSignature/shortenReferencesForParams.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyExplicitLambdaSignature/shortenReferencesForParams.kt @@ -2,6 +2,6 @@ fun main() { val randomFunction: (x: kotlin.properties.ObservableProperty, y: kotlin.String) -> kotlin.String = { x, str -> str} } -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'x' is never used, could be renamed to _ // AFTER-WARNING: Variable 'randomFunction' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyExplicitLambdaSignature/shortenReferencesForParams.kt.after b/plugins/kotlin/idea/tests/testData/intentions/specifyExplicitLambdaSignature/shortenReferencesForParams.kt.after index bd6a6877533c..00f0f5c762d0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyExplicitLambdaSignature/shortenReferencesForParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyExplicitLambdaSignature/shortenReferencesForParams.kt.after @@ -4,6 +4,6 @@ fun main() { val randomFunction: (x: kotlin.properties.ObservableProperty, y: kotlin.String) -> kotlin.String = { x: ObservableProperty, str: String -> str} } -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'x' is never used, could be renamed to _ // AFTER-WARNING: Variable 'randomFunction' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/classNameClashing.kt b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/classNameClashing.kt index 3c1116959ed2..3b0b6772357e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/classNameClashing.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/classNameClashing.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB object Holder { class Array diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/classNameClashing.kt.after b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/classNameClashing.kt.after index f7a67a94bacf..52a447fb044d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/classNameClashing.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/classNameClashing.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB object Holder { class Array diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/genericClassWithTypeParameters.kt b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/genericClassWithTypeParameters.kt index f9d84f8de39a..b40c9c9e11d6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/genericClassWithTypeParameters.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/genericClassWithTypeParameters.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'c' is never used inline fun foo() = of(T::class.java) diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/genericClassWithTypeParameters.kt.after b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/genericClassWithTypeParameters.kt.after index 167fc6820547..c152c77d6d66 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/genericClassWithTypeParameters.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/genericClassWithTypeParameters.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'c' is never used inline fun foo(): Foo> = of(T::class.java) diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/genericClassWithTypeParameters2.kt b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/genericClassWithTypeParameters2.kt index 75dce9d170c2..d1778d8933fb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/genericClassWithTypeParameters2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/genericClassWithTypeParameters2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'c' is never used inline fun foo() = of(T::class.java) diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/genericClassWithTypeParameters2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/genericClassWithTypeParameters2.kt.after index 0b5eafb58745..57978b8b3281 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/genericClassWithTypeParameters2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/genericClassWithTypeParameters2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Parameter 'c' is never used inline fun foo(): Foo = of(T::class.java) diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/loopParameter.kt b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/loopParameter.kt index 3186d98f2035..cabd3f0fc444 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/loopParameter.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/loopParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.HashMap diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/loopParameter.kt.after b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/loopParameter.kt.after index afda0d44a706..28cec93c3219 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/loopParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/loopParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.HashMap diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNotNullFunction.kt b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNotNullFunction.kt index aca4df68dd08..eece1a874a15 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNotNullFunction.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNotNullFunction.kt @@ -1,5 +1,5 @@ // CHOOSE_NULLABLE_TYPE_IF_EXISTS -// WITH_RUNTIME +// WITH_STDLIB interface Base { fun notNullFun(): String } diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNotNullFunction.kt.after b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNotNullFunction.kt.after index 0cafd2726340..4eb3ba50bbd9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNotNullFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNotNullFunction.kt.after @@ -1,5 +1,5 @@ // CHOOSE_NULLABLE_TYPE_IF_EXISTS -// WITH_RUNTIME +// WITH_STDLIB interface Base { fun notNullFun(): String } diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNotNullProperty.kt b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNotNullProperty.kt index 1eeb24880ce9..0e5e1cf9a0c6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNotNullProperty.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNotNullProperty.kt @@ -1,5 +1,5 @@ // CHOOSE_NULLABLE_TYPE_IF_EXISTS -// WITH_RUNTIME +// WITH_STDLIB interface Base { val notNull: String } diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNotNullProperty.kt.after b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNotNullProperty.kt.after index 37db9e8a0e25..7125ba614ae8 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNotNullProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNotNullProperty.kt.after @@ -1,5 +1,5 @@ // CHOOSE_NULLABLE_TYPE_IF_EXISTS -// WITH_RUNTIME +// WITH_STDLIB interface Base { val notNull: String } diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNullableFunction.kt b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNullableFunction.kt index c7521ce821be..1e86005abd5a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNullableFunction.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNullableFunction.kt @@ -1,5 +1,5 @@ // CHOOSE_NULLABLE_TYPE_IF_EXISTS -// WITH_RUNTIME +// WITH_STDLIB interface Base { fun nullableFun(): String? } diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNullableFunction.kt.after b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNullableFunction.kt.after index a51feae77e75..81a5c1a2cc46 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNullableFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNullableFunction.kt.after @@ -1,5 +1,5 @@ // CHOOSE_NULLABLE_TYPE_IF_EXISTS -// WITH_RUNTIME +// WITH_STDLIB interface Base { fun nullableFun(): String? } diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNullableProperty.kt b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNullableProperty.kt index fa3b9446e938..52cc321b641d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNullableProperty.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNullableProperty.kt @@ -1,5 +1,5 @@ // CHOOSE_NULLABLE_TYPE_IF_EXISTS -// WITH_RUNTIME +// WITH_STDLIB interface Base { val nullable: String? } diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNullableProperty.kt.after b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNullableProperty.kt.after index f871cebc66ab..1e1418073ec3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNullableProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/overrideNullableProperty.kt.after @@ -1,5 +1,5 @@ // CHOOSE_NULLABLE_TYPE_IF_EXISTS -// WITH_RUNTIME +// WITH_STDLIB interface Base { val nullable: String? } diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/publicMember.kt b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/publicMember.kt index a28db834f7b7..a82a3bfc92a1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/publicMember.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/publicMember.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Type mismatch: inferred type is String but Unit was expected class A { diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/in.kt b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/in.kt index 83a8efd23d61..f724051e927e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/in.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/in.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'key' is never used // AFTER-WARNING: Variable 'value' is never used fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/in.kt.after b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/in.kt.after index 42b6f02a793e..36172fdd9fc2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/in.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/in.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'key' is never used // AFTER-WARNING: Variable 'value' is never used fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/lambda.kt b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/lambda.kt index 45fd0f02ea70..62600dc16eaa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/lambda.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/lambda.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Destructured parameter 'i' is never used // AFTER-WARNING: Destructured parameter 's' is never used fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/lambda.kt.after b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/lambda.kt.after index b15ead86eb22..a7b6bb017a4d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/lambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/lambda.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Destructured parameter 'i' is never used // AFTER-WARNING: Destructured parameter 's' is never used fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/lambdaHasSignature.kt b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/lambdaHasSignature.kt index 41464d3aa360..6f536d1af272 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/lambdaHasSignature.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/lambdaHasSignature.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Destructured parameter 'i' is never used // AFTER-WARNING: Destructured parameter 's' is never used fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/lambdaHasSignature.kt.after b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/lambdaHasSignature.kt.after index d836c1f6f4f9..b66788c44f76 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/lambdaHasSignature.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/lambdaHasSignature.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Destructured parameter 'i' is never used // AFTER-WARNING: Destructured parameter 's' is never used fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasAllTypes.kt b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasAllTypes.kt index b7748eec1fbf..c658ae18ec9c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasAllTypes.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasAllTypes.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun test() { val (i: Int, s: String) = Pair(1, "s") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasNoTypes.kt b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasNoTypes.kt index e8611f2534bb..73ca4292c1cc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasNoTypes.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasNoTypes.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'i' is never used // AFTER-WARNING: Variable 's' is never used fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasNoTypes.kt.after b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasNoTypes.kt.after index 1788934fb441..50df3ffcb4fe 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasNoTypes.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasNoTypes.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'i' is never used // AFTER-WARNING: Variable 's' is never used fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasTypes.kt b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasTypes.kt index b893a6dee58b..6e7a9d9aedf9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasTypes.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasTypes.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'i' is never used // AFTER-WARNING: Variable 's' is never used fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasTypes.kt.after b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasTypes.kt.after index 1788934fb441..50df3ffcb4fe 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasTypes.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasTypes.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'i' is never used // AFTER-WARNING: Variable 's' is never used fun test() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasUnderscore.kt b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasUnderscore.kt index ec185eeed702..1a03627c38b3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasUnderscore.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasUnderscore.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used fun test() { val (_, s) = Pair(1, "s") diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasUnderscore.kt.after b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasUnderscore.kt.after index a4f176e0229e..b0327615bf84 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasUnderscore.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitlyInDestructuringAssignment/variableHasUnderscore.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used fun test() { val (_: Int, s: String) = Pair(1, "s") diff --git a/plugins/kotlin/idea/tests/testData/intentions/swapStringEqualsIgnoreCase/equalsIgnoreCase.kt b/plugins/kotlin/idea/tests/testData/intentions/swapStringEqualsIgnoreCase/equalsIgnoreCase.kt index 15a1b20f65f8..2ae7c25ea9c0 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/swapStringEqualsIgnoreCase/equalsIgnoreCase.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/swapStringEqualsIgnoreCase/equalsIgnoreCase.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { "ABC".equals(Foo().bar(), ignoreCase = true) } diff --git a/plugins/kotlin/idea/tests/testData/intentions/swapStringEqualsIgnoreCase/equalsIgnoreCase.kt.after b/plugins/kotlin/idea/tests/testData/intentions/swapStringEqualsIgnoreCase/equalsIgnoreCase.kt.after index 6815bfae893c..aeff2cfa196c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/swapStringEqualsIgnoreCase/equalsIgnoreCase.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/swapStringEqualsIgnoreCase/equalsIgnoreCase.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { Foo().bar().equals("ABC", ignoreCase = true) } diff --git a/plugins/kotlin/idea/tests/testData/intentions/swapStringEqualsIgnoreCase/nullableReceiver.kt b/plugins/kotlin/idea/tests/testData/intentions/swapStringEqualsIgnoreCase/nullableReceiver.kt index 1e86414c3d2e..f5472e2f5046 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/swapStringEqualsIgnoreCase/nullableReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/swapStringEqualsIgnoreCase/nullableReceiver.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String?) { s.equals("foo") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toInfixCall/singlePackageFunctionCall.kt b/plugins/kotlin/idea/tests/testData/intentions/toInfixCall/singlePackageFunctionCall.kt index 959fddee23fe..0409f7651f04 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toInfixCall/singlePackageFunctionCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/toInfixCall/singlePackageFunctionCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // ERROR: 'infix' modifier is inapplicable on this function: must be a member or an extension function diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/quotesInExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/quotesInExpression.kt index 0ad76502f175..16878cf6982f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/quotesInExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/quotesInExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used fun test(list: List) { val s = """foo ${list.joinToString(", ")} bar""" diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/quotesInExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/quotesInExpression.kt.after index 1cee67843615..a5766794dc62 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/quotesInExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/quotesInExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used fun test(list: List) { val s = "foo ${list.joinToString(", ")} bar" diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent1.kt b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent1.kt index d3edab64a2a5..7eae7a7fa9ca 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = """ foo """.trimIndent() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent1.kt.after b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent1.kt.after index 136ef3a11df9..a3f004644686 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent1.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent1.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = "foo" \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent10.kt b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent10.kt index 36edb3980067..489da085cf88 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent10.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent10.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'sql' is never used data class Column(val name: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent10.kt.after b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent10.kt.after index c49dd3eaf55b..6e30f21b24ce 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent10.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent10.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 'sql' is never used data class Column(val name: String) diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent11.kt b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent11.kt index a5b4789bb4ab..29441642f715 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent11.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent11.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used fun test(list: List) { val s = """ diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent11.kt.after b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent11.kt.after index c2885734d16b..379f251be8de 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent11.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent11.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // AFTER-WARNING: Variable 's' is never used fun test(list: List) { val s = "\"\\foo\n${list.joinToString(",")}\n\"\\bar" diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent2.kt b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent2.kt index ff84a4de832d..6187ff21c175 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent2.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = """foo """.trimIndent() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent2.kt.after index 136ef3a11df9..a3f004644686 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent2.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = "foo" \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent3.kt b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent3.kt index 3443dbd9c46c..e649af640038 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent3.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = """ foo""".trimIndent() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent3.kt.after index 136ef3a11df9..a3f004644686 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent3.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = "foo" \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent4.kt b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent4.kt index ff78075b9b01..905db16cd302 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent4.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = """foo""".trimIndent() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent4.kt.after index 136ef3a11df9..a3f004644686 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent4.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = "foo" \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent5.kt b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent5.kt index 0d23ac95a8b2..838d259b2a66 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent5.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent5.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = """""".trimIndent() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent5.kt.after b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent5.kt.after index 31824cfed09d..06bcab4ad1ea 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent5.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent5.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = "" \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent6.kt b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent6.kt index ed3e1d842e3a..21f87f009929 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent6.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent6.kt @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = """ """.trimIndent() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent6.kt.after b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent6.kt.after index 31824cfed09d..06bcab4ad1ea 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent6.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent6.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = "" \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent7.kt b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent7.kt index 4b9c050aaf33..fa328d70e392 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent7.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent7.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = """ """.trimIndent() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent7.kt.after b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent7.kt.after index 8afadf643aaf..c9d2590746a6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent7.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent7.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = " " \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent8.kt b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent8.kt index dd5a92796689..c70f165b34af 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent8.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent8.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = """ foo bar diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent8.kt.after b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent8.kt.after index c8177b62c36d..1ee709728290 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent8.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent8.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = "foo\nbar" \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent9.kt b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent9.kt index bb6d101b6aca..b5c755eecaf2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent9.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent9.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = """ \foo \\bar diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent9.kt.after b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent9.kt.after index 51ce407ba6ed..c5d5827ec034 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent9.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimIndent9.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = "\\foo\n \\\\bar" \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin1.kt b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin1.kt index 927b634a4afe..c04c8c639b23 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = """ |foo """.trimMargin() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin1.kt.after b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin1.kt.after index 136ef3a11df9..a3f004644686 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin1.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin1.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = "foo" \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin2.kt b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin2.kt index e2f51adc27e3..f612dd032f9d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = """ _foo _bar diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin2.kt.after index c8177b62c36d..1ee709728290 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin2.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = "foo\nbar" \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin3.kt b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin3.kt index bfb70197998b..57b06b483c50 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin3.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin3.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = """ |\foo | \\bar diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin3.kt.after b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin3.kt.after index 318b2b4bbeb1..2f8f577dc201 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin3.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin3.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val s = "\\foo\n \\\\bar" \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin4.kt b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin4.kt index d831e2a23136..8d45d88d2040 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin4.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin4.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB val prefix = "|" val s = """ |foo diff --git a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin4.kt.after b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin4.kt.after index 411951ba8ef6..7361a2e115b9 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin4.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/toOrdinaryStringLiteral/trimMargin4.kt.after @@ -1,3 +1,3 @@ -// WITH_RUNTIME +// WITH_STDLIB val prefix = "|" val s = "\n |foo\n |bar\n".trimMargin(prefix) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/underscoresInNumericLiteral/addUnderscores/uInt.kt b/plugins/kotlin/idea/tests/testData/intentions/underscoresInNumericLiteral/addUnderscores/uInt.kt index ea1b1bab72f7..d0522edb88e1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/underscoresInNumericLiteral/addUnderscores/uInt.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/underscoresInNumericLiteral/addUnderscores/uInt.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = 1234567890u \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/underscoresInNumericLiteral/addUnderscores/uInt.kt.after b/plugins/kotlin/idea/tests/testData/intentions/underscoresInNumericLiteral/addUnderscores/uInt.kt.after index dfc8485cb584..e2d3916ec2d2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/underscoresInNumericLiteral/addUnderscores/uInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/underscoresInNumericLiteral/addUnderscores/uInt.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB val x = 1_234_567_890u \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/accessThroughKotlinClassInstance.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/accessThroughKotlinClassInstance.kt index 18d4bff3b102..b0d91d69095a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/accessThroughKotlinClassInstance.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/accessThroughKotlinClassInstance.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.io.File class MyFile : File("file") diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/accessThroughKotlinClassInstance.kt.after b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/accessThroughKotlinClassInstance.kt.after index 1581334f1b5d..4745bbc25eff 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/accessThroughKotlinClassInstance.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/accessThroughKotlinClassInstance.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.io.File class MyFile : File("file") diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/accessThroughKotlinClassInstanceWithOverride.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/accessThroughKotlinClassInstanceWithOverride.kt index dcec7f3b6955..ad5f4e93285e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/accessThroughKotlinClassInstanceWithOverride.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/accessThroughKotlinClassInstanceWithOverride.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.io.File class MyFile : File("file") { diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/accessThroughKotlinClassInstanceWithOverride.kt.after b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/accessThroughKotlinClassInstanceWithOverride.kt.after index 89f43a93045e..004feb56960f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/accessThroughKotlinClassInstanceWithOverride.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/accessThroughKotlinClassInstanceWithOverride.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.io.File class MyFile : File("file") { diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/conflict1.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/conflict1.kt index 24a31ad2bf10..67e91b3315ac 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/conflict1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/conflict1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false import java.io.File diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/conflict2.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/conflict2.kt index 5400de69e27b..333516e06918 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/conflict2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/conflict2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: true import java.io.File diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/conflict2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/conflict2.kt.after index c9525ede88c9..4ab52ca5e777 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/conflict2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/conflict2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: true import java.io.File diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/genericClassMethod.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/genericClassMethod.kt index 7d1bf9a0f2d8..c972c2c6c8fa 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/genericClassMethod.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/genericClassMethod.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(klass: Class<*>) { klass.getEnclosingClass() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/genericClassMethod.kt.after b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/genericClassMethod.kt.after index 733e44dba2c3..b79e05e560f6 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/genericClassMethod.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/genericClassMethod.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(klass: Class<*>) { klass.enclosingClass } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/get.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/get.kt index c675ee0285ea..52dc7fc5cc50 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/get.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/get.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.io.File fun foo(file: File) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/get.kt.after b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/get.kt.after index f0bfca566027..db073a6334cc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/get.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/get.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.io.File fun foo(file: File) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/getImplicitReceiver.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/getImplicitReceiver.kt index cccad1ce70ec..19dc983c3183 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/getImplicitReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/getImplicitReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.io.File fun File.foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/getImplicitReceiver.kt.after b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/getImplicitReceiver.kt.after index 1dba46cb7c20..a9aae8ff2fcc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/getImplicitReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/getImplicitReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.io.File fun File.foo() { diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/getSafeCall.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/getSafeCall.kt index 43cb61ce3f35..5e023f2ccbe2 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/getSafeCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/getSafeCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.io.File fun foo(file: File?) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/getSafeCall.kt.after b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/getSafeCall.kt.after index 214787cebcbc..33ffce2a6903 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/getSafeCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/getSafeCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.io.File fun foo(file: File?) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/isGet.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/isGet.kt index 4226c66661df..d4af78319fa1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/isGet.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/isGet.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(thread: Thread) { thread.isDaemon() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/isGet.kt.after b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/isGet.kt.after index 2d219caa3cdb..d710b5c9f7b7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/isGet.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/isGet.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(thread: Thread) { thread.isDaemon } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/isSet.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/isSet.kt index d85a6bc74a5b..f72ff2dd60fd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/isSet.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/isSet.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(thread: Thread) { thread.setDaemon(true) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/isSet.kt.after b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/isSet.kt.after index 51f85fe5da9e..efb7cd16e20e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/isSet.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/isSet.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(thread: Thread) { thread.isDaemon = true } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/nonVoidSetter1.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/nonVoidSetter1.kt index b0d7da5d8ad2..bf9250db0504 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/nonVoidSetter1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/nonVoidSetter1.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo(j: JavaInterface) { j.setSomething1("").setSomething2(1) diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/nonVoidSetter2.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/nonVoidSetter2.kt index 840884440641..2ca614c9e8ad 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/nonVoidSetter2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/nonVoidSetter2.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun foo(j: JavaInterface): JavaInterface = j.setSomething("") diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/propertyTypeIsMoreSpecific1.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/propertyTypeIsMoreSpecific1.kt index 2dd7b520d195..ee8411716787 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/propertyTypeIsMoreSpecific1.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/propertyTypeIsMoreSpecific1.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB abstract class KotlinClass : JavaInterface { override fun getSomething(): String = "" diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/propertyTypeIsMoreSpecific2.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/propertyTypeIsMoreSpecific2.kt index 55db609029a7..affb647fa505 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/propertyTypeIsMoreSpecific2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/propertyTypeIsMoreSpecific2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class KotlinClass : JavaInterface { override fun getSomething(): String = "" diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/propertyTypeIsMoreSpecific2.kt.after b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/propertyTypeIsMoreSpecific2.kt.after index c629238a34f0..25f7cc30907c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/propertyTypeIsMoreSpecific2.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/propertyTypeIsMoreSpecific2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class KotlinClass : JavaInterface { override fun getSomething(): String = "" diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/set.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/set.kt index 1a5be1d26aa1..f7a29792e922 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/set.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/set.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(thread: Thread) { thread.setName("name") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/set.kt.after b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/set.kt.after index 3a7238cc0035..51e57f10ed92 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/set.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/set.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(thread: Thread) { thread.name = "name" } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAnonymouseFunctionArgument.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAnonymouseFunctionArgument.kt index f92684aa9a5f..7bf7475e45d7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAnonymouseFunctionArgument.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAnonymouseFunctionArgument.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun test() { J().setR(fun() { println("Hello, world!") diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBody.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBody.kt index bee3f527a256..695d032724c3 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBody.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBody.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(thread: Thread) = thread.setName("") \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBody.kt.after b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBody.kt.after index 67d46b4b8d3a..63fa878f254b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBody.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(thread: Thread) { thread.name = "" } diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBodyProperty.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBodyProperty.kt index 9f952bc994cd..934cf864d7fc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBodyProperty.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBodyProperty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB var Thread.otherName: String get() = getName() set(value) = setName(value) diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBodyProperty.kt.after b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBodyProperty.kt.after index 3874e4419793..2de5485d854f 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBodyProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBodyProperty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB var Thread.otherName: String get() = getName() set(value) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBodyUnqualified.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBodyUnqualified.kt index ddab36e2fa98..8a706156cfde 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBodyUnqualified.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBodyUnqualified.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C: Thread() { fun foo(n: String) = setName(n) } diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBodyUnqualified.kt.after b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBodyUnqualified.kt.after index a80773638323..768c28a81bdb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBodyUnqualified.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setAsExpressionBodyUnqualified.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class C: Thread() { fun foo(n: String) { name = n diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setFunctionReferenceArgument.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setFunctionReferenceArgument.kt index 5afc3eb05685..afeffda6a564 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setFunctionReferenceArgument.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setFunctionReferenceArgument.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun test() { J().setR(::test) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setImplicitReceiver.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setImplicitReceiver.kt index c35a7e6f9448..174aeb87f59e 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setImplicitReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setImplicitReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Thread.foo() { setName("name") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setImplicitReceiver.kt.after b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setImplicitReceiver.kt.after index a639d2fcc57d..aa590e4f5fc1 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setImplicitReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setImplicitReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun Thread.foo() { name = "name" } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setLambdaArgument.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setLambdaArgument.kt index bfb2e5ddd2e7..de8ba7866922 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setLambdaArgument.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setLambdaArgument.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun test() { J().setR { println("Hello, world!") } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setLambdaArgument2.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setLambdaArgument2.kt index ac3663e5e023..c01bdf3b81f5 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setLambdaArgument2.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setLambdaArgument2.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB fun test() { J().setR({ println("Hello, world!") }) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setSafeCall.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setSafeCall.kt index 2c44ee53f9b6..436676ec27e4 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setSafeCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setSafeCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(thread: Thread?) { thread?.setName("name") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setSafeCall.kt.after b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setSafeCall.kt.after index 15254f256212..51ec0f7f67dc 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setSafeCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/setSafeCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(thread: Thread?) { thread?.name = "name" } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/smartCast.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/smartCast.kt index e30d98f8d038..d39b94e12b46 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/smartCast.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/smartCast.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.io.File fun foo(o: Any) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/smartCast.kt.after b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/smartCast.kt.after index a69bc4b844c9..f6f7e7d66e80 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/smartCast.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/smartCast.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.io.File fun foo(o: Any) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/superCall.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/superCall.kt index a28fb98d88a8..dbc059d60830 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/superCall.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/superCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false import java.io.File diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/suppressedByAtomicIntegerList.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/suppressedByAtomicIntegerList.kt index a1deb4294011..3736b1ac3d2a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/suppressedByAtomicIntegerList.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/suppressedByAtomicIntegerList.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITH_JDK // IS_APPLICABLE: false // DISABLE-ERRORS diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/suppressedByAtomicLongList.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/suppressedByAtomicLongList.kt index 6c112a4ec002..37ca713f821c 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/suppressedByAtomicLongList.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/suppressedByAtomicLongList.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITH_JDK // IS_APPLICABLE: false import java.util.concurrent.atomic.AtomicLong diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/suppressedByNotPropertyList.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/suppressedByNotPropertyList.kt index 655b7319c460..422baaff88ef 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/suppressedByNotPropertyList.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/suppressedByNotPropertyList.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITH_JDK // IS_APPLICABLE: false import java.util.concurrent.atomic.AtomicInteger diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/typeParameterReceiver.kt b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/typeParameterReceiver.kt index 2755e75ef233..3e390892f03a 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/typeParameterReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/typeParameterReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(t: T) { t.setDaemon(true) diff --git a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/typeParameterReceiver.kt.after b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/typeParameterReceiver.kt.after index 8b93afb4e996..0cbac96345a7 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/typeParameterReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/typeParameterReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(t: T) { t.isDaemon = true diff --git a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/alreadyWithIndex.kt b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/alreadyWithIndex.kt index b60f65f386b7..219923f446fd 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/alreadyWithIndex.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/alreadyWithIndex.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun foo(list: List): Int? { var index = 0 diff --git a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/customTypeWithIterator.kt b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/customTypeWithIterator.kt index e0dce3a23b76..1e3c532d5276 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/customTypeWithIterator.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/customTypeWithIterator.kt @@ -1,5 +1,5 @@ // IS_APPLICABLE: false -// WITH_RUNTIME +// WITH_STDLIB class X { operator fun iterator(): Iterator{ return emptyList().iterator() diff --git a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/destructuringDeclaration.kt b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/destructuringDeclaration.kt index 47c6fe89181d..11f2c21d490d 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/destructuringDeclaration.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/destructuringDeclaration.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false // AFTER-WARNING: Variable 's1' is never used // AFTER-WARNING: Variable 's2' is never used diff --git a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/indexIncrementTwice.kt b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/indexIncrementTwice.kt index 7220d11278c5..2ba1bc788d89 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/indexIncrementTwice.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/indexIncrementTwice.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun foo(list: List): Int? { var index = 0 diff --git a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/indexPlusPlusInsideExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/indexPlusPlusInsideExpression.kt index 02e39bacc2a5..01f5b2109c44 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/indexPlusPlusInsideExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/indexPlusPlusInsideExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List) { var i = 0 for (s in list) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/indexPlusPlusInsideExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/indexPlusPlusInsideExpression.kt.after index 70e293113329..b200196c5477 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/indexPlusPlusInsideExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/indexPlusPlusInsideExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List) { for ((i, s) in list.withIndex()) { println(i) diff --git a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/indexUsedAfterLoop.kt b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/indexUsedAfterLoop.kt index 7f05b421b753..8c5370056338 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/indexUsedAfterLoop.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/indexUsedAfterLoop.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // IS_APPLICABLE: false fun foo(list: List): Int { var index = 0 diff --git a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/prefixPlusPlusInsideExpression.kt b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/prefixPlusPlusInsideExpression.kt index 8e667f37656d..2e5049f92f79 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/prefixPlusPlusInsideExpression.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/prefixPlusPlusInsideExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List) { var i = 0 for (s in list) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/prefixPlusPlusInsideExpression.kt.after b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/prefixPlusPlusInsideExpression.kt.after index e42c07526f4c..4dfcc1fdfe87 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/prefixPlusPlusInsideExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/prefixPlusPlusInsideExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List) { for ((i, s) in list.withIndex()) { println(i) diff --git a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/simple.kt b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/simple.kt index bb0e857593c5..2bcd288b915b 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/simple.kt +++ b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List): Int? { var index = 0 for (s in list) { diff --git a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/simple.kt.after b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/simple.kt.after index 870c4084c01f..ca9edc01b8bb 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/intentions/useWithIndex/simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List): Int? { for ((index, s) in list.withIndex()) { val x = s.length * index diff --git a/plugins/kotlin/idea/tests/testData/kdoc/resolve/QualifiedNameFunctionReference.kt b/plugins/kotlin/idea/tests/testData/kdoc/resolve/QualifiedNameFunctionReference.kt index 15e18c660ae0..6369340ebddc 100644 --- a/plugins/kotlin/idea/tests/testData/kdoc/resolve/QualifiedNameFunctionReference.kt +++ b/plugins/kotlin/idea/tests/testData/kdoc/resolve/QualifiedNameFunctionReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB /** * Contains [kotlin.require] diff --git a/plugins/kotlin/idea/tests/testData/kdoc/resolve/QualifiedNameReference.kt b/plugins/kotlin/idea/tests/testData/kdoc/resolve/QualifiedNameReference.kt index bdfe4c718395..8b2816762a7b 100644 --- a/plugins/kotlin/idea/tests/testData/kdoc/resolve/QualifiedNameReference.kt +++ b/plugins/kotlin/idea/tests/testData/kdoc/resolve/QualifiedNameReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB /** * Contains [kotlin.collections.Collection] diff --git a/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/ExtendClassWithJvmDefaultImplementation.txt b/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/ExtendClassWithJvmDefaultImplementation.txt index 68aab8e49868..a8549d3f8c6d 100644 --- a/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/ExtendClassWithJvmDefaultImplementation.txt +++ b/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/ExtendClassWithJvmDefaultImplementation.txt @@ -1,3 +1,3 @@ // LANGUAGE_LEVEL 1.8 -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -jvm-target, 1.8, -Xjvm-default=enable \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/ExtendInterfaceWithAJvmStaticMethodInCompanion.txt b/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/ExtendInterfaceWithAJvmStaticMethodInCompanion.txt index fc3b677841d4..053e53161392 100644 --- a/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/ExtendInterfaceWithAJvmStaticMethodInCompanion.txt +++ b/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/ExtendInterfaceWithAJvmStaticMethodInCompanion.txt @@ -1 +1 @@ -// WITH_RUNTIME \ No newline at end of file +// WITH_STDLIB \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/InterfaceWithJvmStatic.txt b/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/InterfaceWithJvmStatic.txt index 40839e9100ac..24eb4b778f68 100644 --- a/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/InterfaceWithJvmStatic.txt +++ b/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/InterfaceWithJvmStatic.txt @@ -1,3 +1,3 @@ // LANGUAGE_LEVEL 1.8 -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -jvm-target, 1.8 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/JvmOverloadsFunctions.txt b/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/JvmOverloadsFunctions.txt index 5463d84eb5d7..ea2277f6defc 100644 --- a/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/JvmOverloadsFunctions.txt +++ b/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/JvmOverloadsFunctions.txt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB // TOOL: DataFlowInspection diff --git a/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/MyFunctionType.txt b/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/MyFunctionType.txt index 3d4d2b8287fd..f8c8b296b1c2 100644 --- a/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/MyFunctionType.txt +++ b/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/MyFunctionType.txt @@ -1,2 +1,2 @@ // LANGUAGE_LEVEL 1.8 -// WITH_RUNTIME +// WITH_STDLIB diff --git a/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/ThrowsOnGenericMethod.txt b/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/ThrowsOnGenericMethod.txt index e0b1a6e6745e..f7d39b521d15 100644 --- a/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/ThrowsOnGenericMethod.txt +++ b/plugins/kotlin/idea/tests/testData/kotlinAndJavaChecker/javaAgainstKotlin/ThrowsOnGenericMethod.txt @@ -1 +1 @@ -// WITH_RUNTIME +// WITH_STDLIB diff --git a/plugins/kotlin/idea/tests/testData/parameterInfo/annotations/ConstructorCallWithUseSite.kt b/plugins/kotlin/idea/tests/testData/parameterInfo/annotations/ConstructorCallWithUseSite.kt index f993eedc53ac..7e827c19c110 100644 --- a/plugins/kotlin/idea/tests/testData/parameterInfo/annotations/ConstructorCallWithUseSite.kt +++ b/plugins/kotlin/idea/tests/testData/parameterInfo/annotations/ConstructorCallWithUseSite.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB annotation class Fancy diff --git a/plugins/kotlin/idea/tests/testData/parameterInfo/functionCall/NoShadowedDeclarations.kt b/plugins/kotlin/idea/tests/testData/parameterInfo/functionCall/NoShadowedDeclarations.kt index 91da429799ca..248b18d329fe 100644 --- a/plugins/kotlin/idea/tests/testData/parameterInfo/functionCall/NoShadowedDeclarations.kt +++ b/plugins/kotlin/idea/tests/testData/parameterInfo/functionCall/NoShadowedDeclarations.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class A diff --git a/plugins/kotlin/idea/tests/testData/parameterInfo/functionCall/NoSynthesizedParameterNames.kt b/plugins/kotlin/idea/tests/testData/parameterInfo/functionCall/NoSynthesizedParameterNames.kt index 64af7adcb9e5..4d03100a9731 100644 --- a/plugins/kotlin/idea/tests/testData/parameterInfo/functionCall/NoSynthesizedParameterNames.kt +++ b/plugins/kotlin/idea/tests/testData/parameterInfo/functionCall/NoSynthesizedParameterNames.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB lateinit var x: java.lang.Readable diff --git a/plugins/kotlin/idea/tests/testData/parameterInfo/typeArguments/Constraints.kt b/plugins/kotlin/idea/tests/testData/parameterInfo/typeArguments/Constraints.kt index 87ab301e3ca3..66fd4e4901e0 100644 --- a/plugins/kotlin/idea/tests/testData/parameterInfo/typeArguments/Constraints.kt +++ b/plugins/kotlin/idea/tests/testData/parameterInfo/typeArguments/Constraints.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB open class A> where T2 : Runnable, T2 : Cloneable, T3 : Runnable diff --git a/plugins/kotlin/idea/tests/testData/parameterInfo/typeArguments/JavaClass.kt b/plugins/kotlin/idea/tests/testData/parameterInfo/typeArguments/JavaClass.kt index 722878083cd0..2382387493b3 100644 --- a/plugins/kotlin/idea/tests/testData/parameterInfo/typeArguments/JavaClass.kt +++ b/plugins/kotlin/idea/tests/testData/parameterInfo/typeArguments/JavaClass.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/quickfix.special/codeFragmentAutoImport/ExtensionFun.kt b/plugins/kotlin/idea/tests/testData/quickfix.special/codeFragmentAutoImport/ExtensionFun.kt index 62918ac00592..d03b539d3826 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix.special/codeFragmentAutoImport/ExtensionFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix.special/codeFragmentAutoImport/ExtensionFun.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.concurrent.locks.* fun foo(lock: ReentrantReadWriteLock) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/fromLib.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/fromLib.kt index 3c1e163404a6..02f36fa85dfd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/fromLib.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/fromLib.kt @@ -1,5 +1,5 @@ // "Add annotation target" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Make internal // ACTION: Specify type explicitly // ERROR: This annotation is not applicable to target 'top level property without backing field or delegate' diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_delegate.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_delegate.kt index fd43f78c2665..5691825f2ada 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_delegate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_delegate.kt @@ -1,5 +1,5 @@ // "Add annotation target" "true" -// WITH_RUNTIME +// WITH_STDLIB @Target annotation class DelegateAnn diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_delegate.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_delegate.kt.after index 8099aeab410a..3334f713ec4b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_delegate.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_delegate.kt.after @@ -1,5 +1,5 @@ // "Add annotation target" "true" -// WITH_RUNTIME +// WITH_STDLIB @Target(AnnotationTarget.FIELD) annotation class DelegateAnn diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_member_with_delegate.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_member_with_delegate.kt index 4cd287a62339..d4f0c080654b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_member_with_delegate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_member_with_delegate.kt @@ -1,5 +1,5 @@ // "Add annotation target" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Convert to ordinary property // ACTION: Introduce import alias // ACTION: Make internal diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_toplevel_with_delegate.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_toplevel_with_delegate.kt index 8d28ec65fed7..4876a9ed49e2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_toplevel_with_delegate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_toplevel_with_delegate.kt @@ -1,5 +1,5 @@ // "Add annotation target" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Convert to ordinary property // ACTION: Introduce import alias // ACTION: Make internal diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test3.kt b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test3.kt index 14c14fecc372..5d71b0d03d60 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test3.kt @@ -1,5 +1,5 @@ // "Make 'Foo' data class" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo(val bar: String, var baz: Int) fun test() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test3.kt.after index 2fec927848ff..99101ebe8ede 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test3.kt.after @@ -1,5 +1,5 @@ // "Make 'Foo' data class" "true" -// WITH_RUNTIME +// WITH_STDLIB data class Foo(val bar: String, var baz: Int) fun test() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test4.kt b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test4.kt index 9c631d5167f1..77f91f7c6aeb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test4.kt @@ -1,5 +1,5 @@ // "Make 'Foo' data class" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo(val bar: String, var baz: Int) fun test() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test4.kt.after index 1ad3a63978e2..2c6da59e2c67 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test4.kt.after @@ -1,5 +1,5 @@ // "Make 'Foo' data class" "true" -// WITH_RUNTIME +// WITH_STDLIB data class Foo(val bar: String, var baz: Int) fun test() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit2.kt index 9d98490b0774..d8d477668d49 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit2.kt @@ -1,5 +1,5 @@ // "Add non-null asserted (!!) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String?) { s.run { length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit2.kt.after index 85be8d617145..43601082dd39 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit2.kt.after @@ -1,5 +1,5 @@ // "Add non-null asserted (!!) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test(s: String?) { s.run { this!!.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicitFunctionCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicitFunctionCall.kt index 72d90b5e1c62..a4a4b05318a2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicitFunctionCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicitFunctionCall.kt @@ -1,5 +1,5 @@ // "Add non-null asserted (!!) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun String?.foo() { toLowerCase() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicitFunctionCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicitFunctionCall.kt.after index 174f04015c25..0b6de422dab8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicitFunctionCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicitFunctionCall.kt.after @@ -1,5 +1,5 @@ // "Add non-null asserted (!!) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun String?.foo() { this!!.toLowerCase() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal2.kt index b79b224547b7..a0aa985706c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal2.kt @@ -1,5 +1,5 @@ // "Add non-null asserted (!!) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.toLowerCase() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal2.kt.after index 6ec9f75cb279..ea5a69c466c6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal2.kt.after @@ -1,5 +1,5 @@ // "Add non-null asserted (!!) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a!!.toLowerCase() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIn.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIn.kt index c9d98be033be..1e36490ea366 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIn.kt @@ -1,5 +1,5 @@ // "Add non-null asserted (!!) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: List?) { "x" in a diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIn.kt.after index e814dbebf1d3..4159c9f7c633 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIn.kt.after @@ -1,5 +1,5 @@ // "Add non-null asserted (!!) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: List?) { "x" in a!! diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/kClassRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/kClassRuntime.kt index 0580805e3e13..520b5ad0089f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/kClassRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/kClassRuntime.kt @@ -1,5 +1,5 @@ // "Add 'kotlin.Any' as upper bound for E" "true" -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -XXLanguage:-NewInference import kotlin.reflect.KClass diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/kClassRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/kClassRuntime.kt.after index 4688fe4ca582..4a018c76e316 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/kClassRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/kClassRuntime.kt.after @@ -1,5 +1,5 @@ // "Add 'kotlin.Any' as upper bound for E" "true" -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -XXLanguage:-NewInference import kotlin.reflect.KClass diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyWithDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyWithDelegateRuntime.kt index 2673b5331b96..c8910635abfe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyWithDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyWithDelegateRuntime.kt @@ -2,7 +2,7 @@ // ACTION: Make internal // ACTION: Make private // ACTION: Make protected -// WITH_RUNTIME +// WITH_STDLIB class A { val n: Int by lazy { 0 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarClass.kt index 14d2ec3b8b7a..d489f562467a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarClass.kt @@ -1,4 +1,4 @@ // "Add initializer" "true" -// WITH_RUNTIME +// WITH_STDLIB class A var label: A \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarClass.kt.after index 7aeb99df3923..24c996c170cc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarClass.kt.after @@ -1,4 +1,4 @@ // "Add initializer" "true" -// WITH_RUNTIME +// WITH_STDLIB class A var label: A = TODO() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyWithDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyWithDelegateRuntime.kt index 912b0d09b14f..1238ad4b995a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyWithDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyWithDelegateRuntime.kt @@ -1,5 +1,5 @@ // "class org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Make internal // ACTION: Make private val n: Int by lazy { 0 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/functionOverride.kt b/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/functionOverride.kt index 73a206940fc1..9b47ace2810d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/functionOverride.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/functionOverride.kt @@ -1,7 +1,7 @@ // "Add '@JvmDefault' annotation" "true" // JVM_TARGET: 1.8 // COMPILER_ARGUMENTS: -Xjvm-default=enable -// WITH_RUNTIME +// WITH_STDLIB interface Foo { @JvmDefault fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/functionOverride.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/functionOverride.kt.after index a8e8b2e28f87..88a3b72dc0c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/functionOverride.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/functionOverride.kt.after @@ -1,7 +1,7 @@ // "Add '@JvmDefault' annotation" "true" // JVM_TARGET: 1.8 // COMPILER_ARGUMENTS: -Xjvm-default=enable -// WITH_RUNTIME +// WITH_STDLIB interface Foo { @JvmDefault fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/javaDefaultOverride.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/javaDefaultOverride.after.kt index 5f8d7dd35f35..dbfaac1dd036 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/javaDefaultOverride.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/javaDefaultOverride.after.kt @@ -1,6 +1,6 @@ // "Add '@JvmDefault' annotation" "true" // COMPILER_ARGUMENTS: -Xjvm-default=enable -// WITH_RUNTIME +// WITH_STDLIB interface Bar : Foo { @JvmDefault override fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/javaDefaultOverride.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/javaDefaultOverride.before.Main.kt index bdb2324139db..420e77ce5f7d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/javaDefaultOverride.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/javaDefaultOverride.before.Main.kt @@ -1,6 +1,6 @@ // "Add '@JvmDefault' annotation" "true" // COMPILER_ARGUMENTS: -Xjvm-default=enable -// WITH_RUNTIME +// WITH_STDLIB interface Bar : Foo { override fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/propertyOverride.kt b/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/propertyOverride.kt index b399ac782965..b2a475adf54f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/propertyOverride.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/propertyOverride.kt @@ -1,7 +1,7 @@ // "Add '@JvmDefault' annotation" "true" // JVM_TARGET: 1.8 // COMPILER_ARGUMENTS: -Xjvm-default=enable -// WITH_RUNTIME +// WITH_STDLIB interface Foo { @JvmDefault val foo: String diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/propertyOverride.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/propertyOverride.kt.after index 934eff154e6a..34383b57e61a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/propertyOverride.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmDefault/propertyOverride.kt.after @@ -1,7 +1,7 @@ // "Add '@JvmDefault' annotation" "true" // JVM_TARGET: 1.8 // COMPILER_ARGUMENTS: -Xjvm-default=enable -// WITH_RUNTIME +// WITH_STDLIB interface Foo { @JvmDefault val foo: String diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/basic.kt index 7e1bfb4d32fe..434ad849b9ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/basic.kt @@ -1,5 +1,5 @@ // "Add '@JvmName' annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo { fun bar(foo: List): String { return "1" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/basic.kt.after index d66843ea1f85..32fe574c4dda 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/basic.kt.after @@ -1,5 +1,5 @@ // "Add '@JvmName' annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo { @JvmName("bar3") fun bar(foo: List): String { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension.kt b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension.kt index ec67e07fd08b..3459c0d795af 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension.kt @@ -1,5 +1,5 @@ // "Add '@JvmName' annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB interface Foo fun Foo.foo() = this diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension.kt.after index d94d8e452881..445f3f03f339 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension.kt.after @@ -1,5 +1,5 @@ // "Add '@JvmName' annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB interface Foo fun Foo.foo() = this diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension2.kt index db7ef1fda85f..9ce85d815394 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension2.kt @@ -1,5 +1,5 @@ // "Add '@JvmName' annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB interface Bar fun Bar.bar() = this diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension2.kt.after index 8d2b6bf384c1..6610a4b4bc09 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension2.kt.after @@ -1,5 +1,5 @@ // "Add '@JvmName' annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB interface Bar @JvmName("barIntDouble") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension3.kt b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension3.kt index a97d2398bc0b..aa5d0ae3f727 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension3.kt @@ -1,5 +1,5 @@ // "Add '@JvmName' annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB interface Bar fun Bar.bar() = this diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension3.kt.after index 556a6ddda1a5..e3c13a357b82 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/extension3.kt.after @@ -1,5 +1,5 @@ // "Add '@JvmName' annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB interface Bar fun Bar.bar() = this diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/hasAnnotation.kt b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/hasAnnotation.kt index f5ea755c9574..8f243b689239 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/hasAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/hasAnnotation.kt @@ -1,5 +1,5 @@ // "Change JVM name" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo { @JvmName("bar1") fun bar(foo: List): String { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/hasAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/hasAnnotation.kt.after index 2793f3b21277..81bfc8e26ffd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/hasAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/hasAnnotation.kt.after @@ -1,5 +1,5 @@ // "Change JVM name" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo { @JvmName("bar3") fun bar(foo: List): String { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/hasAnnotation2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/hasAnnotation2.kt index 893102a9452f..23b1e9739088 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/hasAnnotation2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/hasAnnotation2.kt @@ -1,5 +1,5 @@ // "Change JVM name" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo { @JvmName fun bar(foo: List): String { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/hasAnnotation2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/hasAnnotation2.kt.after index 2793f3b21277..81bfc8e26ffd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/hasAnnotation2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/hasAnnotation2.kt.after @@ -1,5 +1,5 @@ // "Change JVM name" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo { @JvmName("bar3") fun bar(foo: List): String { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/topLevel.kt b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/topLevel.kt index fa4b92a1dbb2..73dd1d3da3bd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/topLevel.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/topLevel.kt @@ -1,5 +1,5 @@ // "Add '@JvmName' annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB fun bar(foo: List): String { return "1" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/topLevel.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/topLevel.kt.after index cec434aa5147..7e01740ec582 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/topLevel.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmNameAnnotation/topLevel.kt.after @@ -1,5 +1,5 @@ // "Add '@JvmName' annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB @JvmName("bar3") fun bar(foo: List): String { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/function.kt b/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/function.kt index a7a6880464df..a642bc564a97 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/function.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/function.kt @@ -1,5 +1,5 @@ // "Add '@JvmStatic' annotation to 'foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB open class A { companion object { protected fun foo() = 2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/function.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/function.kt.after index 02c1e6df8ca1..046a0ab03ae9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/function.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/function.kt.after @@ -1,5 +1,5 @@ // "Add '@JvmStatic' annotation to 'foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB open class A { companion object { @JvmStatic diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/property.kt b/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/property.kt index 0d0628ed621c..2f0cdeedc60a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/property.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/property.kt @@ -1,5 +1,5 @@ // "Add '@JvmStatic' annotation to 'foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB open class A { companion object { protected val foo = 2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/property.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/property.kt.after index a2c70904a9a8..6a92e8758f99 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/property.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/property.kt.after @@ -1,5 +1,5 @@ // "Add '@JvmStatic' annotation to 'foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB open class A { companion object { @JvmStatic diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/val.kt b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/val.kt index 55298cf25403..df31020aae79 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/val.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/val.kt @@ -1,5 +1,5 @@ // "Add getter" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { val x: Int } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/val.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/val.kt.after index aafd77339d9f..d5247a38f60a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/val.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/val.kt.after @@ -1,5 +1,5 @@ // "Add getter" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { val x: Int get() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/var.kt b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/var.kt index c01e53b11503..280f863ef48f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/var.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/var.kt @@ -1,5 +1,5 @@ // "Add getter and setter" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { var x: Int } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/var.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/var.kt.after index 0cf7def505b4..9ad2c6a79a28 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/var.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/var.kt.after @@ -1,5 +1,5 @@ // "Add getter and setter" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { var x: Int get() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasSetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasSetter.kt index 1b4835daa075..fbf77a651daf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasSetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasSetter.kt @@ -1,5 +1,5 @@ // "Add getter" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { var x: Int set(value) {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasSetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasSetter.kt.after index bfc6afd84689..4ce392776249 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasSetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasSetter.kt.after @@ -1,5 +1,5 @@ // "Add getter" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { var x: Int get() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/secondTypeParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/secondTypeParameter.kt index 4ba67869a00c..59b433c544da 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/secondTypeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/secondTypeParameter.kt @@ -1,5 +1,5 @@ // "Make 'R' reified and 'flatten' inline" "true" -// WITH_RUNTIME +// WITH_STDLIB fun >, R> T.flatten(): Array { return this.flatMap { it.asIterable() }.toTypedArray() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/secondTypeParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/secondTypeParameter.kt.after index 77f162b726aa..f57f647d1d43 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/secondTypeParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/secondTypeParameter.kt.after @@ -1,5 +1,5 @@ // "Make 'R' reified and 'flatten' inline" "true" -// WITH_RUNTIME +// WITH_STDLIB inline fun >, reified R> T.flatten(): Array { return this.flatMap { it.asIterable() }.toTypedArray() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/toTypedArray.kt b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/toTypedArray.kt index 64e2ac57584a..cfbb2470e739 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/toTypedArray.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/toTypedArray.kt @@ -1,5 +1,5 @@ // "Make 'T' reified and 'flatten' inline" "true" -// WITH_RUNTIME +// WITH_STDLIB fun Array>.flatten(): Array { return this.flatMap { it.asIterable() }.toTypedArray() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/toTypedArray.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/toTypedArray.kt.after index 3d04ff5ff131..139b5168be63 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/toTypedArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/toTypedArray.kt.after @@ -1,5 +1,5 @@ // "Make 'T' reified and 'flatten' inline" "true" -// WITH_RUNTIME +// WITH_STDLIB inline fun Array>.flatten(): Array { return this.flatMap { it.asIterable() }.toTypedArray() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/subtype.kt b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/subtype.kt index 01af39a668e6..0f338f02c1de 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/subtype.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/subtype.kt @@ -1,5 +1,5 @@ // "Add 'return' to last expression" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(): Any { true diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/subtype.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/subtype.kt.after index ed62f0490698..239c6cdeca43 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/subtype.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/subtype.kt.after @@ -1,5 +1,5 @@ // "Add 'return' to last expression" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(): Any { return true diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/typeError.kt b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/typeError.kt index 8682054c1f2e..06d668ccdd84 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/typeError.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/typeError.kt @@ -1,5 +1,5 @@ // "Add 'return' to last expression" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Introduce local variable // ACTION: Remove explicitly specified return type of enclosing function 'some' // ERROR: A 'return' expression required in a function with a block body ('{...}') diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/typeError2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/typeError2.kt index 74dc6aeecbec..f9c303c2c549 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/typeError2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/typeError2.kt @@ -1,5 +1,5 @@ // "Add 'return' to last expression" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Introduce local variable // ACTION: Remove explicitly specified return type of enclosing function 'some' // ERROR: A 'return' expression required in a function with a block body ('{...}') diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/subtype.kt b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/subtype.kt index 68763fca4c45..cb5bf47e62a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/subtype.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/subtype.kt @@ -1,5 +1,5 @@ // "Add 'return' before the expression" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(): Any { true diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/subtype.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/subtype.kt.after index 9aa1852a4ce4..a951a2933dee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/subtype.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/subtype.kt.after @@ -1,5 +1,5 @@ // "Add 'return' before the expression" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(): Any { return true diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/typeError.kt b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/typeError.kt index a18585a6de72..e58985b93310 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/typeError.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/typeError.kt @@ -1,5 +1,5 @@ // "Add 'return' before the expression" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add full qualifier // ACTION: Compiler warning 'UNUSED_EXPRESSION' options // ACTION: Introduce import alias diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/typeError2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/typeError2.kt index 5b30fe862014..40d2189148d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/typeError2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/typeError2.kt @@ -1,5 +1,5 @@ // "Add 'return' before the expression" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Compiler warning 'UNUSED_EXPRESSION' options // ACTION: Create local variable 'FunctionReference' // ACTION: Create object 'FunctionReference' diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addRunBeforeLambda/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/addRunBeforeLambda/basic.kt index 121b0288bb24..2d132c7fe698 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addRunBeforeLambda/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addRunBeforeLambda/basic.kt @@ -1,5 +1,5 @@ // "Add 'run' before the lambda expression" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addRunBeforeLambda/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addRunBeforeLambda/basic.kt.after index 19504ab573ad..b30b4fe2e82e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addRunBeforeLambda/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addRunBeforeLambda/basic.kt.after @@ -1,5 +1,5 @@ // "Add 'run' before the lambda expression" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { run {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSpreadOperatorForArrayAsVarargAfterSam/withError.test b/plugins/kotlin/idea/tests/testData/quickfix/addSpreadOperatorForArrayAsVarargAfterSam/withError.test index ad14ecfa6366..f02c1af62377 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSpreadOperatorForArrayAsVarargAfterSam/withError.test +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSpreadOperatorForArrayAsVarargAfterSam/withError.test @@ -9,7 +9,7 @@ // ACTION: Add names in comment to call arguments // ERROR: Type mismatch: inferred type is Array but String! was expected // COMPILER_ARGUMENTS: -XXLanguage:+ProhibitVarargAsArrayAfterSamArgument -// WITH_RUNTIME +// WITH_STDLIB fun main() { Test.foo({}, arrayOf()) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSpreadOperatorForArrayAsVarargAfterSam/withWarning.test b/plugins/kotlin/idea/tests/testData/quickfix/addSpreadOperatorForArrayAsVarargAfterSam/withWarning.test index 7abab1f5a152..ed3ae4fdcd27 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSpreadOperatorForArrayAsVarargAfterSam/withWarning.test +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSpreadOperatorForArrayAsVarargAfterSam/withWarning.test @@ -2,7 +2,7 @@ // "Add a spread operator before an array passing as 'vararg'" "true" // WARNING: Please use spread operator to pass an array as vararg. It will be an error in 1.5. // COMPILER_ARGUMENTS: -XXLanguage:-ProhibitVarargAsArrayAfterSamArgument -// WITH_RUNTIME +// WITH_STDLIB fun main() { Test.foo({}, arrayOf()) @@ -19,7 +19,7 @@ public class Test { // "Add a spread operator before an array passing as 'vararg'" "true" // WARNING: Please use spread operator to pass an array as vararg. It will be an error in 1.5. // COMPILER_ARGUMENTS: -XXLanguage:-ProhibitVarargAsArrayAfterSamArgument -// WITH_RUNTIME +// WITH_STDLIB fun main() { Test.foo({}, *arrayOf()) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSpreadOperatorForArrayAsVarargAfterSam/withoutWarning.test b/plugins/kotlin/idea/tests/testData/quickfix/addSpreadOperatorForArrayAsVarargAfterSam/withoutWarning.test index 58e3827f4edb..230d7a90df11 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSpreadOperatorForArrayAsVarargAfterSam/withoutWarning.test +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSpreadOperatorForArrayAsVarargAfterSam/withoutWarning.test @@ -7,7 +7,7 @@ // ACTION: Put arguments on separate lines // ACTION: Add names in comment to call arguments // LANGUAGE_VERSION: 1.3 -// WITH_RUNTIME +// WITH_STDLIB fun main() { Test.foo({}, arrayOf()) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/qualifiedThis.kt b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/qualifiedThis.kt index a1ae442f5694..318cff6c64b0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/qualifiedThis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/qualifiedThis.kt @@ -1,5 +1,5 @@ // "Assign to property" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { var foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/qualifiedThis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/qualifiedThis.kt.after index 0374aeab6ef3..a874ba38087f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/qualifiedThis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/qualifiedThis.kt.after @@ -1,5 +1,5 @@ // "Assign to property" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { var foo = 1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/ImportOperatorInvokeWithConvention.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/ImportOperatorInvokeWithConvention.after.kt index 4bfe41ecb252..b56aa43d3096 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/ImportOperatorInvokeWithConvention.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/ImportOperatorInvokeWithConvention.after.kt @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Expression 'topVal' of type 'SomeType' cannot be invoked as a function. The function 'invoke()' is not found package mig diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/ImportOperatorInvokeWithConvention.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/ImportOperatorInvokeWithConvention.before.Main.kt index 0bf6613e0ff3..632409375141 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/ImportOperatorInvokeWithConvention.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/ImportOperatorInvokeWithConvention.before.Main.kt @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Expression 'topVal' of type 'SomeType' cannot be invoked as a function. The function 'invoke()' is not found package mig diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/builtInFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/builtInFunction.kt index 17c29152c9b5..1509501421d6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/builtInFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/builtInFunction.kt @@ -1,5 +1,5 @@ // "Import" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Create extension function 'List.maxByOrNull' // ERROR: Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
public inline fun > Array.maxByOrNull(selector: (TypeVariable(T)) -> TypeVariable(R)): TypeVariable(T)? defined in kotlin.collections
public inline fun > BooleanArray.maxByOrNull(selector: (Boolean) -> TypeVariable(R)): Boolean? defined in kotlin.collections
public inline fun > ByteArray.maxByOrNull(selector: (Byte) -> TypeVariable(R)): Byte? defined in kotlin.collections
public inline fun > CharArray.maxByOrNull(selector: (Char) -> TypeVariable(R)): Char? defined in kotlin.collections
public inline fun > CharSequence.maxByOrNull(selector: (Char) -> TypeVariable(R)): Char? defined in kotlin.text
public inline fun > DoubleArray.maxByOrNull(selector: (Double) -> TypeVariable(R)): Double? defined in kotlin.collections
public inline fun > FloatArray.maxByOrNull(selector: (Float) -> TypeVariable(R)): Float? defined in kotlin.collections
public inline fun > IntArray.maxByOrNull(selector: (Int) -> TypeVariable(R)): Int? defined in kotlin.collections
public inline fun > LongArray.maxByOrNull(selector: (Long) -> TypeVariable(R)): Long? defined in kotlin.collections
public inline fun > ShortArray.maxByOrNull(selector: (Short) -> TypeVariable(R)): Short? defined in kotlin.collections
public inline fun > UByteArray.maxByOrNull(selector: (UByte) -> TypeVariable(R)): UByte? defined in kotlin.collections
public inline fun > UIntArray.maxByOrNull(selector: (UInt) -> TypeVariable(R)): UInt? defined in kotlin.collections
public inline fun > ULongArray.maxByOrNull(selector: (ULong) -> TypeVariable(R)): ULong? defined in kotlin.collections
public inline fun > UShortArray.maxByOrNull(selector: (UShort) -> TypeVariable(R)): UShort? defined in kotlin.collections
public inline fun > Iterable.maxByOrNull(selector: (TypeVariable(T)) -> TypeVariable(R)): TypeVariable(T)? defined in kotlin.collections
public inline fun > Map.maxByOrNull(selector: (Map.Entry) -> TypeVariable(R)): Map.Entry? defined in kotlin.collections
public inline fun > Sequence.maxByOrNull(selector: (TypeVariable(T)) -> TypeVariable(R)): TypeVariable(T)? defined in kotlin.sequences // ERROR: Unresolved reference: it diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/builtInFunctionAlreadyExists.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/builtInFunctionAlreadyExists.kt index eb5c2258cff6..a9ec08d51a7a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/builtInFunctionAlreadyExists.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/builtInFunctionAlreadyExists.kt @@ -1,5 +1,5 @@ // "Import" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Create extension function 'List.maxByOrNull' // ERROR: Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
public inline fun > Array.maxByOrNull(selector: (TypeVariable(T)) -> TypeVariable(R)): TypeVariable(T)? defined in kotlin.collections
public inline fun > BooleanArray.maxByOrNull(selector: (Boolean) -> TypeVariable(R)): Boolean? defined in kotlin.collections
public inline fun > ByteArray.maxByOrNull(selector: (Byte) -> TypeVariable(R)): Byte? defined in kotlin.collections
public inline fun > CharArray.maxByOrNull(selector: (Char) -> TypeVariable(R)): Char? defined in kotlin.collections
public inline fun > DoubleArray.maxByOrNull(selector: (Double) -> TypeVariable(R)): Double? defined in kotlin.collections
public inline fun > FloatArray.maxByOrNull(selector: (Float) -> TypeVariable(R)): Float? defined in kotlin.collections
public inline fun > IntArray.maxByOrNull(selector: (Int) -> TypeVariable(R)): Int? defined in kotlin.collections
public inline fun > LongArray.maxByOrNull(selector: (Long) -> TypeVariable(R)): Long? defined in kotlin.collections
public inline fun > ShortArray.maxByOrNull(selector: (Short) -> TypeVariable(R)): Short? defined in kotlin.collections
public inline fun > UByteArray.maxByOrNull(selector: (UByte) -> TypeVariable(R)): UByte? defined in kotlin.collections
public inline fun > UIntArray.maxByOrNull(selector: (UInt) -> TypeVariable(R)): UInt? defined in kotlin.collections
public inline fun > ULongArray.maxByOrNull(selector: (ULong) -> TypeVariable(R)): ULong? defined in kotlin.collections
public inline fun > UShortArray.maxByOrNull(selector: (UShort) -> TypeVariable(R)): UShort? defined in kotlin.collections
public inline fun > Iterable.maxByOrNull(selector: (TypeVariable(T)) -> TypeVariable(R)): TypeVariable(T)? defined in kotlin.collections
public inline fun > Map.maxByOrNull(selector: (Map.Entry) -> TypeVariable(R)): Map.Entry? defined in kotlin.collections // ERROR: Unresolved reference: it diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate1.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate1.kt index 13981d0bd5c6..af9fa3323c55 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate1.kt @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB package p class A diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate1.kt.after index 54fe99814dcf..fc53d4c2297a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate1.kt.after @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB package p import p.CExtObject.extension diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate2.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate2.kt index f275f7320231..77dc4babbd98 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate2.kt @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB package p class A diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate2.kt.after index 374cbaf1fd11..8aa3cafeafe6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate2.kt.after @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB package p import p.AExtObject.extension diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/dslMarkers.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/dslMarkers.after.kt index ba01b4ed61e8..12fc88f6540d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/dslMarkers.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/dslMarkers.after.kt @@ -1,7 +1,7 @@ import BExtSpace.aaa // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Unresolved reference: aaa fun test() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/dslMarkers.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/dslMarkers.before.Main.kt index 49ffc4be76f7..81ab8b64cdf3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/dslMarkers.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/dslMarkers.before.Main.kt @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Unresolved reference: aaa fun test() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/dslMarkersOnReceiver.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/dslMarkersOnReceiver.after.kt index 7bf0d2d3ecad..6381e1965b0a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/dslMarkersOnReceiver.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/dslMarkersOnReceiver.after.kt @@ -1,7 +1,7 @@ import BExtSpace.aaa // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Unresolved reference: aaa // COMPILER_ARGUMENTS: -XXLanguage:-NewInference diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/dslMarkersOnReceiver.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/dslMarkersOnReceiver.before.Main.kt index c7a6f6bc9cc7..747e380d3ec5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/dslMarkersOnReceiver.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/dslMarkersOnReceiver.before.Main.kt @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Unresolved reference: aaa // COMPILER_ARGUMENTS: -XXLanguage:-NewInference diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/excludedCoroutineImpl.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/excludedCoroutineImpl.kt index c64eead94b00..944379a76090 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/excludedCoroutineImpl.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/excludedCoroutineImpl.kt @@ -1,5 +1,5 @@ // "Import" "false" -// WITH_RUNTIME +// WITH_STDLIB // LANGUAGE_VERSION: 1.2 // ACTION: Compiler warning 'UNUSED_EXPRESSION' options // ACTION: Create local variable 'CoroutineImpl' diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/excludedCoroutineIntrinsics.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/excludedCoroutineIntrinsics.kt index f233bec14363..6a2b90e0d3ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/excludedCoroutineIntrinsics.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/excludedCoroutineIntrinsics.kt @@ -1,5 +1,5 @@ // "Import" "false" -// WITH_RUNTIME +// WITH_STDLIB // LANGUAGE_VERSION: 1.2 // ACTION: Create function 'suspendCoroutineOrReturn' // ACTION: Rename reference diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/excludedFromImport.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/excludedFromImport.after index 3fdd75afeb7e..ef34d1438ff2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/excludedFromImport.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/excludedFromImport.after @@ -1,5 +1,5 @@ // "Import" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Create local variable 'FunctionReference' // ACTION: Create object 'FunctionReference' // ACTION: Create parameter 'FunctionReference' diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/excludedFromImport.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/excludedFromImport.kt index c59672ca3ae7..6b8d8545f3bc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/excludedFromImport.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/excludedFromImport.kt @@ -1,5 +1,5 @@ // "Import" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Compiler warning 'UNUSED_EXPRESSION' options // ACTION: Create local variable 'FunctionReference' // ACTION: Create object 'FunctionReference' diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importAliasLetAlreadyExists.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importAliasLetAlreadyExists.kt index cce7cc05d02a..2a3d4aa507c3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importAliasLetAlreadyExists.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importAliasLetAlreadyExists.kt @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB import kotlin.let as let1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importAliasLetAlreadyExists.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importAliasLetAlreadyExists.kt.after index 4f128a0e4986..71b6e0e9e0ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importAliasLetAlreadyExists.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importAliasLetAlreadyExists.kt.after @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB import kotlin.let as let1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importGetValueExtensionForDelegateWithLambda.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importGetValueExtensionForDelegateWithLambda.after.kt index a3a5d597bfa2..f958103cc010 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importGetValueExtensionForDelegateWithLambda.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importGetValueExtensionForDelegateWithLambda.after.kt @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Type 'MyDelegate' has no method 'getValue(Nothing?, KProperty<*>)' and thus it cannot serve as a delegate package import diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importGetValueExtensionForDelegateWithLambda.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importGetValueExtensionForDelegateWithLambda.before.Main.kt index c07bfb67abb9..fe838f557532 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importGetValueExtensionForDelegateWithLambda.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importGetValueExtensionForDelegateWithLambda.before.Main.kt @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Type 'MyDelegate' has no method 'getValue(Nothing?, KProperty<*>)' and thus it cannot serve as a delegate package import diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionPropertyAsFieldFromJava.test b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionPropertyAsFieldFromJava.test index 564447ff746c..2c1f5dd22303 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionPropertyAsFieldFromJava.test +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionPropertyAsFieldFromJava.test @@ -5,7 +5,7 @@ // ACTION: Create field 'foobar' // ACTION: Create parameter 'foobar' // ACTION: Create local variable 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; public class Foo { @@ -32,7 +32,7 @@ class Bar { // ACTION: Create field 'foobar' // ACTION: Create parameter 'foobar' // ACTION: Create local variable 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; import static foo.Bar.foobar; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticFunctionFromJava.test b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticFunctionFromJava.test index 5427123070c8..79a540521eed 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticFunctionFromJava.test +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticFunctionFromJava.test @@ -2,7 +2,7 @@ // "/(Static import|Import static) method 'foo.Bar.foobar'/" "true" // ERROR: Unresolved reference: foobar // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; public class Foo { @@ -28,7 +28,7 @@ class Bar { // "/(Static import|Import static) method 'foo.Bar.foobar'/" "true" // ERROR: Unresolved reference: foobar // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; import static foo.Bar.foobar; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticPropertyDefaultGetterFromJava.test b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticPropertyDefaultGetterFromJava.test index c6a6e1197c95..1d8d64161bac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticPropertyDefaultGetterFromJava.test +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticPropertyDefaultGetterFromJava.test @@ -2,7 +2,7 @@ // "Import static method 'foo.Bar.getTestValue'" "true" // ERROR: Unresolved reference: getValue // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; public class Foo { @@ -26,7 +26,7 @@ class Bar { // "Import static method 'foo.Bar.getTestValue'" "true" // ERROR: Unresolved reference: getValue // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; import static foo.Bar.getTestValue; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticPropertyDefaultSetterFromJava.test b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticPropertyDefaultSetterFromJava.test index a14bf34697b2..fb41582167ad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticPropertyDefaultSetterFromJava.test +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticPropertyDefaultSetterFromJava.test @@ -2,7 +2,7 @@ // "/(Static import|Import static) method 'foo.Bar.setVariable'/" "true" // ERROR: Unresolved reference: setVariable // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; public class Foo { @@ -26,7 +26,7 @@ class Bar { // "/(Static import|Import static) method 'foo.Bar.setVariable'/" "true" // ERROR: Unresolved reference: setVariable // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; import static foo.Bar.setVariable; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticPropertyOverloadedGetterFromJava.test b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticPropertyOverloadedGetterFromJava.test index 690959022a02..542d57689dd8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticPropertyOverloadedGetterFromJava.test +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticPropertyOverloadedGetterFromJava.test @@ -2,7 +2,7 @@ // "Import static method 'foo.Bar.getTestValue'" "true" // ERROR: Unresolved reference: getTestValue // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; public class Foo { @@ -27,7 +27,7 @@ class Bar { // "Import static method 'foo.Bar.getTestValue'" "true" // ERROR: Unresolved reference: getTestValue // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; import static foo.Bar.getTestValue; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticPropertyOverloadedSetterFromJava.test b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticPropertyOverloadedSetterFromJava.test index 633832edc78a..f4155a592124 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticPropertyOverloadedSetterFromJava.test +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinCompanionStaticPropertyOverloadedSetterFromJava.test @@ -2,7 +2,7 @@ // "/(Static import|Import static) method 'foo.Bar.setVariable'/" "true" // ERROR: Unresolved reference: setVariable // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; public class Foo { @@ -29,7 +29,7 @@ class Bar { // "/(Static import|Import static) method 'foo.Bar.setVariable'/" "true" // ERROR: Unresolved reference: setVariable // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; import static foo.Bar.setVariable; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinPropertyAsFieldFromJava.test b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinPropertyAsFieldFromJava.test index ac84166333c5..75a7a071aebc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinPropertyAsFieldFromJava.test +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinPropertyAsFieldFromJava.test @@ -5,7 +5,7 @@ // ACTION: Create field 'foobar' // ACTION: Create parameter 'foobar' // ACTION: Create local variable 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; public class Foo { @@ -30,7 +30,7 @@ object Bar { // ACTION: Create field 'foobar' // ACTION: Create parameter 'foobar' // ACTION: Create local variable 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; import static foo.Bar.foobar; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticFunctionFromJava.test b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticFunctionFromJava.test index edbc54332283..f14470db01e8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticFunctionFromJava.test +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticFunctionFromJava.test @@ -2,7 +2,7 @@ // "/(Static import|Import static) method 'foo.Bar.foobar'/" "true" // ERROR: Unresolved reference: foobar // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; public class Foo { @@ -25,7 +25,7 @@ object Bar { // "/(Static import|Import static) method 'foo.Bar.foobar'/" "true" // ERROR: Unresolved reference: foobar // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; import static foo.Bar.foobar; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticPropertyDefaultGetterFromJava.test b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticPropertyDefaultGetterFromJava.test index c2acc4902939..a13ebf154205 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticPropertyDefaultGetterFromJava.test +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticPropertyDefaultGetterFromJava.test @@ -2,7 +2,7 @@ // "Import static method 'foo.Bar.getTestValue'" "true" // ERROR: Unresolved reference: getTestValue // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; public class Foo { @@ -24,7 +24,7 @@ object Bar { // "Import static method 'foo.Bar.getTestValue'" "true" // ERROR: Unresolved reference: getTestValue // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; import static foo.Bar.getTestValue; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticPropertyDefaultSetterFromJava.test b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticPropertyDefaultSetterFromJava.test index 090976188079..7591040dfd0b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticPropertyDefaultSetterFromJava.test +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticPropertyDefaultSetterFromJava.test @@ -2,7 +2,7 @@ // "/(Static import|Import static) method 'foo.Bar.setVariable'/" "true" // ERROR: Unresolved reference: setVariable // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; public class Foo { @@ -24,7 +24,7 @@ object Bar { // "/(Static import|Import static) method 'foo.Bar.setVariable'/" "true" // ERROR: Unresolved reference: setVariable // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; import static foo.Bar.setVariable; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticPropertyOverloadedGetterFromJava.test b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticPropertyOverloadedGetterFromJava.test index fb9d8cc4a6b1..428424ffa17d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticPropertyOverloadedGetterFromJava.test +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticPropertyOverloadedGetterFromJava.test @@ -2,7 +2,7 @@ // "Import static method 'foo.Bar.getTestValue'" "true" // ERROR: Unresolved reference: getTestValue // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; public class Foo { @@ -25,7 +25,7 @@ object Bar { // "Import static method 'foo.Bar.getTestValue'" "true" // ERROR: Unresolved reference: getTestValue // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; import static foo.Bar.getTestValue; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticPropertyOverloadedSetterFromJava.test b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticPropertyOverloadedSetterFromJava.test index b6e3b4df88a0..49bc367c4154 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticPropertyOverloadedSetterFromJava.test +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKotlinStaticPropertyOverloadedSetterFromJava.test @@ -2,7 +2,7 @@ // "/(Static import|Import static) method 'foo.Bar.setVariable'/" "true" // ERROR: Unresolved reference: setVariable // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; public class Foo { @@ -27,7 +27,7 @@ object Bar { // "/(Static import|Import static) method 'foo.Bar.setVariable'/" "true" // ERROR: Unresolved reference: setVariable // ACTION: Create method 'foobar' -// WITH_RUNTIME +// WITH_STDLIB package bar; import static foo.Bar.setVariable; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/iteratorOperator.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/iteratorOperator.after.kt index 32f45647235b..cacfeeb617ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/iteratorOperator.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/iteratorOperator.after.kt @@ -1,6 +1,6 @@ // "Import" "true" // ERROR: For-loop range must have an 'iterator()' method -// WITH_RUNTIME +// WITH_STDLIB package bar diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/iteratorOperator.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/iteratorOperator.before.Main.kt index 9811f65d5046..d05f790cbff4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/iteratorOperator.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/iteratorOperator.before.Main.kt @@ -1,6 +1,6 @@ // "Import" "true" // ERROR: For-loop range must have an 'iterator()' method -// WITH_RUNTIME +// WITH_STDLIB package bar diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportRuntime.kt index 3968eeeb0f6c..7ded06d5bdcd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportRuntime.kt @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB package some fun testFun() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportRuntime.kt.after index 89059ae9396a..8cccd5da1bd9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportRuntime.kt.after @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB package some import kotlin.system.measureNanoTime diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/memberWithTopLevelConflict.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/memberWithTopLevelConflict.after.kt index 16812b200970..8d1b4c5da156 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/memberWithTopLevelConflict.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/memberWithTopLevelConflict.after.kt @@ -1,7 +1,7 @@ import p1.sleep // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB // FULL_JDK // ERROR: Unresolved reference: sleep diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/memberWithTopLevelConflict.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/memberWithTopLevelConflict.before.Main.kt index 58c01f5b8446..dc4e63a40ff7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/memberWithTopLevelConflict.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/memberWithTopLevelConflict.before.Main.kt @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB // FULL_JDK // ERROR: Unresolved reference: sleep diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject1.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject1.kt index f1a07efa1c74..657abb1e4cba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject1.kt @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB package p class A diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject1.kt.after index 34e7dea82daa..4a5e8940fafa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject1.kt.after @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB package p import p.CExtObject.extension diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject2.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject2.kt index 120727da848c..af46f5c77cae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject2.kt @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB package p class A diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject2.kt.after index 744fee8d8b07..393ea4b4b692 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject2.kt.after @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB package p import p.BExtObject.extension diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject3.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject3.kt index d1f2c2336536..9ba2e0eb6cc5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject3.kt @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB package p class A diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject3.kt.after index 36f2348c5ac9..29a2eabc216e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject3.kt.after @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB package p import p.AExtObject.extension diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/notExcludedFromImportWhenInternalUse.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/notExcludedFromImportWhenInternalUse.kt index 387afd586cf7..9ed0b0e8b42b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/notExcludedFromImportWhenInternalUse.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/notExcludedFromImportWhenInternalUse.kt @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Create local variable 'FunctionReference' // ACTION: Create object 'FunctionReference' // ACTION: Create parameter 'FunctionReference' diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/notExcludedFromImportWhenInternalUse.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/notExcludedFromImportWhenInternalUse.kt.after index b980fe9dd6eb..cdce7a100356 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/notExcludedFromImportWhenInternalUse.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/notExcludedFromImportWhenInternalUse.kt.after @@ -1,5 +1,5 @@ // "Import" "true" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Create local variable 'FunctionReference' // ACTION: Create object 'FunctionReference' // ACTION: Create parameter 'FunctionReference' diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/sameModuleImportPriority.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/sameModuleImportPriority.after.kt index edf1a4314685..647a8981ec51 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/sameModuleImportPriority.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/sameModuleImportPriority.after.kt @@ -1,6 +1,6 @@ // "Import" "true" // ERROR: Unresolved reference: Delegates -// WITH_RUNTIME +// WITH_STDLIB package testing import some.Delegates diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/sameModuleImportPriority.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/sameModuleImportPriority.before.Main.kt index 2833bd45c59c..b606f3a67854 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/sameModuleImportPriority.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/sameModuleImportPriority.before.Main.kt @@ -1,6 +1,6 @@ // "Import" "true" // ERROR: Unresolved reference: Delegates -// WITH_RUNTIME +// WITH_STDLIB package testing fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addForItParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addForItParameter.kt index 28d3dbfe8d2c..60f7b48b4914 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addForItParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addForItParameter.kt @@ -1,5 +1,5 @@ // "Add parameter to constructor 'Foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addForItParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addForItParameter.kt.after index c89bfc90e8c0..048199ef6c75 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addForItParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addForItParameter.kt.after @@ -1,5 +1,5 @@ // "Add parameter to constructor 'Foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo(s: String) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter2.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter2.kt index ec19b3484f30..3420791fb0ee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter2.kt @@ -1,5 +1,5 @@ // "Add parameter to function 'called'" "true" -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS // WITH_NEW_INFERENCE diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter2.kt.after index a42b52ada370..03bab1789b66 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter2.kt.after @@ -1,5 +1,5 @@ // "Add parameter to function 'called'" "true" -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS // WITH_NEW_INFERENCE diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter3.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter3.kt index e253bab74f5c..a5e8c09cc01f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter3.kt @@ -1,5 +1,5 @@ // "Add parameter to function 'called'" "true" -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS // !WITH_NEW_INFERENCE diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter3.kt.after index 201b5a84940e..a130a636fa73 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter3.kt.after @@ -1,5 +1,5 @@ // "Add parameter to function 'called'" "true" -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS // !WITH_NEW_INFERENCE diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addNothingReturnType.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addNothingReturnType.kt index b8e78d99db46..9671bc061dec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addNothingReturnType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addNothingReturnType.kt @@ -1,3 +1,3 @@ // "Specify return type explicitly" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() = throw IllegalArgumentException() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addNothingReturnType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addNothingReturnType.kt.after index 8891e92e63c0..f75ae36d6163 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addNothingReturnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addNothingReturnType.kt.after @@ -1,3 +1,3 @@ // "Specify return type explicitly" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(): Nothing = throw IllegalArgumentException() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeParameter.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeParameter.after.kt index 0b18ad681846..3301f443d536 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeParameter.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeParameter.after.kt @@ -1,7 +1,7 @@ // "Change function signature to 'fun someL(l: MutableList?)'" "true" // ERROR: 'someL' overrides nothing // ERROR: Class 'Bla' is not abstract and does not implement abstract member public abstract fun someL(l: (Mutable)List!): Unit defined in ImplementMe -// WITH_RUNTIME +// WITH_STDLIB class Bla : ImplementMe { override fun someL(l: MutableList?) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeParameter.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeParameter.before.Main.kt index b13265d3dc21..dbc9c3556a0b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeParameter.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeParameter.before.Main.kt @@ -1,7 +1,7 @@ // "Change function signature to 'fun someL(l: MutableList?)'" "true" // ERROR: 'someL' overrides nothing // ERROR: Class 'Bla' is not abstract and does not implement abstract member public abstract fun someL(l: (Mutable)List!): Unit defined in ImplementMe -// WITH_RUNTIME +// WITH_STDLIB class Bla : ImplementMe { override fun someL(l: MyClass) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/kj/addConstructorParameter.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/kj/addConstructorParameter.after.kt index 8d8abd678eb2..23557ce225d0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/kj/addConstructorParameter.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/kj/addConstructorParameter.after.kt @@ -1,5 +1,5 @@ // "Add parameter to constructor 'Foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS // COMPILER_ARGUMENTS: -XXLanguage:-NewInference private val foo = Foo(1, "2", setOf("3")) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/kj/addConstructorParameter.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/kj/addConstructorParameter.before.Main.kt index 8d8abd678eb2..23557ce225d0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/kj/addConstructorParameter.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/kj/addConstructorParameter.before.Main.kt @@ -1,5 +1,5 @@ // "Add parameter to constructor 'Foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS // COMPILER_ARGUMENTS: -XXLanguage:-NewInference private val foo = Foo(1, "2", setOf("3")) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/kj/addMethodParameter.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/kj/addMethodParameter.after.kt index 17143ea19a76..96121733327f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/kj/addMethodParameter.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/kj/addMethodParameter.after.kt @@ -1,5 +1,5 @@ // "Add parameter to function 'bar'" "true" -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS // COMPILER_ARGUMENTS: -XXLanguage:-NewInference private val foo = Foo().bar(1, "2", setOf("3")) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/kj/addMethodParameter.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/kj/addMethodParameter.before.Main.kt index 17143ea19a76..96121733327f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/kj/addMethodParameter.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/kj/addMethodParameter.before.Main.kt @@ -1,5 +1,5 @@ // "Add parameter to function 'bar'" "true" -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS // COMPILER_ARGUMENTS: -XXLanguage:-NewInference private val foo = Foo().bar(1, "2", setOf("3")) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleInner.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleInner.kt index a52fc3e6e34d..99d949d9a824 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleInner.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleInner.kt @@ -2,7 +2,7 @@ // ACTION: Change to 'return@foo' // ACTION: Introduce local variable // ERROR: The integer literal does not conform to the expected type Unit -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -XXLanguage:-NewInference fun foo(f:()->Int){} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleInner.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleInner.kt.after index d8b08b8a1e6d..bbbf2f137add 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleInner.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleInner.kt.after @@ -2,7 +2,7 @@ // ACTION: Change to 'return@foo' // ACTION: Introduce local variable // ERROR: The integer literal does not conform to the expected type Unit -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -XXLanguage:-NewInference fun foo(f:()->Int){} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleOuter.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleOuter.kt index 098655ecb5e5..706ad972a344 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleOuter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleOuter.kt @@ -1,7 +1,7 @@ // "Change to 'return@foo'" "true" // ACTION: Change to 'return@forEach' // ACTION: Introduce local variable -// WITH_RUNTIME +// WITH_STDLIB fun foo(f:()->Int){} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleOuter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleOuter.kt.after index 8952836f14fd..ee0bf280b199 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleOuter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleOuter.kt.after @@ -1,7 +1,7 @@ // "Change to 'return@foo'" "true" // ACTION: Change to 'return@forEach' // ACTION: Introduce local variable -// WITH_RUNTIME +// WITH_STDLIB fun foo(f:()->Int){} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/noCandidates.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/noCandidates.kt index 33376b85c7e9..c507295f8b18 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/noCandidates.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/noCandidates.kt @@ -1,6 +1,6 @@ // "Change to 'return@init'" "false" // ERROR: 'return' is not allowed here -// WITH_RUNTIME +// WITH_STDLIB class Foo { init { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list.kt index 93b1a596edcd..568b22b32d2d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list.kt @@ -1,5 +1,5 @@ // "Change type to MutableList" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val list = listOf(1, 2, 3) list[1] = 10 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list.kt.after index 53569efec240..e8dd6d5ef4bc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list.kt.after @@ -1,5 +1,5 @@ // "Change type to MutableList" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val list = mutableListOf(1, 2, 3) list[1] = 10 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list2.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list2.kt index f230d6873371..f5b235e5762c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list2.kt @@ -1,5 +1,5 @@ // "Change type to MutableList" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val list = foo() list[1] = 10 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list2.kt.after index 66d357d8838b..724131ec5931 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list2.kt.after @@ -1,5 +1,5 @@ // "Change type to MutableList" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val list = foo().toMutableList() list[1] = 10 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map.kt index 16bc238df975..ff191951cf2d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map.kt @@ -1,5 +1,5 @@ // "Change type to MutableMap" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val map = mapOf(1 to "a") map[2] = "b" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map.kt.after index ba9cae1cf70f..d4b13ed395b1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map.kt.after @@ -1,5 +1,5 @@ // "Change type to MutableMap" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val map = mutableMapOf(1 to "a") map[2] = "b" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map2.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map2.kt index e06dc0090876..3f7290333cc6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map2.kt @@ -1,5 +1,5 @@ // "Change type to MutableMap" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val map = foo() map[2] = "b" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map2.kt.after index d80dd5f6a477..2bcfc6ae2549 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map2.kt.after @@ -1,5 +1,5 @@ // "Change type to MutableMap" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val map = foo().toMutableMap() map[2] = "b" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/set.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/set.kt index c3f7c780cfda..130a3cb6763b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/set.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/set.kt @@ -2,7 +2,7 @@ // DISABLE-ERRORS // ACTION: Converts the assignment statement to an expression // ACTION: Replace overloaded operator with function call -// WITH_RUNTIME +// WITH_STDLIB fun main() { val set = setOf(1, 2, 3) set[1] = 10 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/mapOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/mapOf.kt index 69f315d17501..e8016e326173 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/mapOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/mapOf.kt @@ -1,5 +1,5 @@ // "Change 'pairs' to '*pairs'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun yourMapOf(vararg pairs: Pair) {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/mapOf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/mapOf.kt.after index bf4a3ae52616..a93592bf9492 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/mapOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/mapOf.kt.after @@ -1,5 +1,5 @@ // "Change 'pairs' to '*pairs'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun yourMapOf(vararg pairs: Pair) {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/stdlibMapOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/stdlibMapOf.kt index 4549e8fc3975..691879075fb9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/stdlibMapOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/stdlibMapOf.kt @@ -1,5 +1,5 @@ // "Change 'pairs' to '*pairs'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun myMapOf(vararg pairs: Pair) { val myMap = mapOf(pairs) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/stdlibMapOf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/stdlibMapOf.kt.after index 1bea47287700..7ad15b3cf23d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/stdlibMapOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/stdlibMapOf.kt.after @@ -1,5 +1,5 @@ // "Change 'pairs' to '*pairs'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun myMapOf(vararg pairs: Pair) { val myMap = mapOf(*pairs) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic.kt index b0fccf7baea6..e1039d5430a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic.kt @@ -1,3 +1,3 @@ // "Convert to notNull delegate" "true" -// WITH_RUNTIME +// WITH_STDLIB lateinit var x: Boolean \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic.kt.after index 92db4c3fb1fc..ff0b44fc490c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic.kt.after @@ -1,5 +1,5 @@ import kotlin.properties.Delegates // "Convert to notNull delegate" "true" -// WITH_RUNTIME +// WITH_STDLIB var x by Delegates.notNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic2.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic2.kt index 58f64a882253..03b6380af4c8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic2.kt @@ -1,3 +1,3 @@ // "Convert to notNull delegate" "true" -// WITH_RUNTIME +// WITH_STDLIB lateinit var x: Int \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic2.kt.after index ec2a5438b223..58f0a9fec8c5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic2.kt.after @@ -1,5 +1,5 @@ import kotlin.properties.Delegates // "Convert to notNull delegate" "true" -// WITH_RUNTIME +// WITH_STDLIB var x by Delegates.notNull() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/var.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/var.kt index ef75832f1703..7c0b2ca3c1ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/var.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/var.kt @@ -1,5 +1,5 @@ // "Convert property initializer to getter" "true" -// WITH_RUNTIME +// WITH_STDLIB fun String.foo() = "bar" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/var.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/var.kt.after index 1656e023396e..1af49b7d2aca 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/var.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/var.kt.after @@ -1,5 +1,5 @@ // "Convert property initializer to getter" "true" -// WITH_RUNTIME +// WITH_STDLIB fun String.foo() = "bar" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithJavaQualifierInMemberValDelegate.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithJavaQualifierInMemberValDelegate.after.kt index 7a05209f9d6a..3688027f6853 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithJavaQualifierInMemberValDelegate.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithJavaQualifierInMemberValDelegate.after.kt @@ -1,5 +1,5 @@ // "Create class 'Foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Unresolved reference: Foo open class B diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithJavaQualifierInMemberValDelegate.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithJavaQualifierInMemberValDelegate.before.Main.kt index 9ffccfe7ae16..759cb4b020f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithJavaQualifierInMemberValDelegate.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithJavaQualifierInMemberValDelegate.before.Main.kt @@ -1,5 +1,5 @@ // "Create class 'Foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Unresolved reference: Foo open class B diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLibClassQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLibClassQualifier.kt index 43287087cbe2..fb2927449475 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLibClassQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLibClassQualifier.kt @@ -2,7 +2,7 @@ // ACTION: Create extension function 'Int.Foo' // ACTION: Rename reference // ERROR: Unresolved reference: Foo -// WITH_RUNTIME +// WITH_STDLIB fun test() { val a = 2.Foo(1) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn2.kt index 11c44fc196a8..9316950aead6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn2.kt @@ -1,6 +1,6 @@ // "Create class 'BookKeeper'" "true" // ERROR: Type mismatch: inferred type is BookKeeper but Unit was expected -// WITH_RUNTIME +// WITH_STDLIB package pack import pack.Currrency.EUR diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn2.kt.after index 485d580603d4..c37555a40a63 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn2.kt.after @@ -1,6 +1,6 @@ // "Create class 'BookKeeper'" "true" // ERROR: Type mismatch: inferred type is BookKeeper but Unit was expected -// WITH_RUNTIME +// WITH_STDLIB package pack import pack.Currrency.EUR diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/extension.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/extension.kt index f9d8ca98b672..bcd82fc7f903 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/extension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/extension.kt @@ -2,7 +2,7 @@ // ACTION: Create extension function 'List.Foo' // ACTION: Rename reference // ERROR: Unresolved reference: Foo -// WITH_RUNTIME +// WITH_STDLIB class A(val items: List) { fun test() = items.Foo(2, "2") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnLibType.kt index 15b4214b75c0..c83b13bbf1f4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnLibType.kt @@ -1,5 +1,5 @@ // "Create extension function 'Int.plus'" "true" -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -XXLanguage:-NewInference class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnLibType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnLibType.kt.after index 9ddb45d4efcc..7bfcaa84b19a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnLibType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnLibType.kt.after @@ -1,5 +1,5 @@ // "Create extension function 'Int.plus'" "true" -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -XXLanguage:-NewInference class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/quotedName.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/quotedName.kt index 6c0707b7946d..b46f23584937 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/quotedName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/quotedName.kt @@ -1,5 +1,5 @@ // "Create extension function 'Int.!u00A0'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { val t: Int = 1 `!u00A0` 2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/quotedName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/quotedName.kt.after index 0135e7f97f6c..cb1deab43f80 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/quotedName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/quotedName.kt.after @@ -1,5 +1,5 @@ // "Create extension function 'Int.!u00A0'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { val t: Int = 1 `!u00A0` 2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionLambda.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionLambda.kt index d41468aaa105..459ff6682fc2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionLambda.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionLambda.kt @@ -1,5 +1,5 @@ // "Create extension function 'A.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun bar(b: Boolean) { } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionLambda.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionLambda.kt.after index 7bb1a536c744..9f2e71841515 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionLambda.kt.after @@ -1,5 +1,5 @@ // "Create extension function 'A.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun bar(b: Boolean) { } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibObject.kt index ad94704febe9..64215d354d34 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibObject.kt @@ -1,5 +1,5 @@ // "Create extension function 'Unit.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { val a: Int = Unit.foo(2) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibObject.kt.after index df0e2d14827e..86e5f5b951da 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibObject.kt.after @@ -1,5 +1,5 @@ // "Create extension function 'Unit.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { val a: Int = Unit.foo(2) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibType.kt index c17d26421f3b..38ab838961cb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibType.kt @@ -1,5 +1,5 @@ // "Create extension function 'Int.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -XXLanguage:-NewInference class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibType.kt.after index 18f253b4a8ef..5c43cb1a70a4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibType.kt.after @@ -1,5 +1,5 @@ // "Create extension function 'Int.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -XXLanguage:-NewInference class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/notExactArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/notExactArgument.kt index fbdc8d7dd8a4..e7382bd8e3c4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/notExactArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/notExactArgument.kt @@ -3,7 +3,7 @@ // ACTION: Convert expression to 'Int' // ACTION: Round using roundToInt() // ERROR: Type mismatch: inferred type is Float but Int was expected -// WITH_RUNTIME +// WITH_STDLIB fun test() { var value = 0 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extension.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extension.kt index acc47d741b93..99ef1fba9734 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extension.kt @@ -1,5 +1,5 @@ // "Create extension function 'List.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A(val items: List) { fun test(): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extension.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extension.kt.after index 02e5fc994e22..f34c49bd27b0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extension.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extension.kt.after @@ -1,5 +1,5 @@ // "Create extension function 'List.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A(val items: List) { fun test(): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionPartialSubstitution.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionPartialSubstitution.kt index d5b5bd6e7ff8..2f004b3dbc62 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionPartialSubstitution.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionPartialSubstitution.kt @@ -1,5 +1,5 @@ // "Create extension function 'List.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A(val items: List) { fun test(): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionPartialSubstitution.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionPartialSubstitution.kt.after index 1fa36b8dd643..76aabfe85abf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionPartialSubstitution.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionPartialSubstitution.kt.after @@ -1,5 +1,5 @@ // "Create extension function 'List.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A(val items: List) { fun test(): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithReceiverArg.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithReceiverArg.kt index 645e1f5f6cb6..5d73eedcab0d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithReceiverArg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithReceiverArg.kt @@ -1,5 +1,5 @@ // "Create extension function 'List.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A(val items: List) { fun test(): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithReceiverArg.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithReceiverArg.kt.after index 02e5fc994e22..f34c49bd27b0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithReceiverArg.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithReceiverArg.kt.after @@ -1,5 +1,5 @@ // "Create extension function 'List.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A(val items: List) { fun test(): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithReceiverInCallableRef.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithReceiverInCallableRef.kt index 436fe2f38eb4..f28e307f4985 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithReceiverInCallableRef.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithReceiverInCallableRef.kt @@ -1,5 +1,5 @@ // "Create extension function 'Int.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun T.map(f: T.() -> U) = f() fun consume(s: String) {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithReceiverInCallableRef.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithReceiverInCallableRef.kt.after index 8bf6f1a8f617..b68e29e62461 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithReceiverInCallableRef.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithReceiverInCallableRef.kt.after @@ -1,5 +1,5 @@ // "Create extension function 'Int.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun T.map(f: T.() -> U) = f() fun consume(s: String) {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/nonExtensionWithReceiverInCallableRef.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/nonExtensionWithReceiverInCallableRef.kt index 125db400e35f..87afb8d856f6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/nonExtensionWithReceiverInCallableRef.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/nonExtensionWithReceiverInCallableRef.kt @@ -1,5 +1,5 @@ // "Create extension function 'Int.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun T.map(f: (T) -> U) = f(this) fun consume(s: String) {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/nonExtensionWithReceiverInCallableRef.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/nonExtensionWithReceiverInCallableRef.kt.after index 76deb08290c2..6f235057657e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/nonExtensionWithReceiverInCallableRef.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/nonExtensionWithReceiverInCallableRef.kt.after @@ -1,5 +1,5 @@ // "Create extension function 'Int.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun T.map(f: (T) -> U) = f(this) fun consume(s: String) {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage3.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage3.kt index f181db7d3407..19b7cee91095 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage3.kt @@ -1,5 +1,5 @@ // "Create extension function 'Any.component2'" "true" -// WITH_RUNTIME +// WITH_STDLIB class FooIterator { operator fun hasNext(): Boolean { return false } operator fun next(): Any { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage3.kt.after index 15dae3bdd6a3..42e76ec31eb1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage3.kt.after @@ -1,5 +1,5 @@ // "Create extension function 'Any.component2'" "true" -// WITH_RUNTIME +// WITH_STDLIB class FooIterator { operator fun hasNext(): Boolean { return false } operator fun next(): Any { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/fromJava/companionMember.after.java b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/fromJava/companionMember.after.java index 4aab11b500d2..8ff13714b141 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/fromJava/companionMember.after.java +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/fromJava/companionMember.after.java @@ -1,5 +1,5 @@ // "Add method 'foo' to 'K'" "true" -// WITH_RUNTIME +// WITH_STDLIB class J { void test() { boolean b = K.foo(1, "2"); diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/fromJava/companionMember.before.Main.java b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/fromJava/companionMember.before.Main.java index 4aab11b500d2..8ff13714b141 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/fromJava/companionMember.before.Main.java +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/fromJava/companionMember.before.Main.java @@ -1,5 +1,5 @@ // "Add method 'foo' to 'K'" "true" -// WITH_RUNTIME +// WITH_STDLIB class J { void test() { boolean b = K.foo(1, "2"); diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage2.kt index 66f9576b3986..b0f018c5097a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage2.kt @@ -1,5 +1,5 @@ // "Create extension function 'Any.get'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun x (y: Any) { val z: Any = y[""] diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage2.kt.after index b598c841a63d..81b1c6c88429 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage2.kt.after @@ -1,5 +1,5 @@ // "Create extension function 'Any.get'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun x (y: Any) { val z: Any = y[""] diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnLibType.kt index 2da2494bb543..c9058ec93ab0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnLibType.kt @@ -1,5 +1,5 @@ // "Create extension function 'Int.invoke'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnLibType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnLibType.kt.after index 90efd552ad70..d9b478033106 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnLibType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnLibType.kt.after @@ -1,5 +1,5 @@ // "Create extension function 'Int.invoke'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage2.kt index 1ac2c5f5e31e..0399cde4d786 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage2.kt @@ -1,5 +1,5 @@ // "Create extension function 'Any.set'" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo { fun x (y: Any, w: java.util.ArrayList) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage2.kt.after index dbececafe84d..476985150098 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage2.kt.after @@ -1,7 +1,7 @@ import java.util.ArrayList // "Create extension function 'Any.set'" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo { fun x (y: Any, w: java.util.ArrayList) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnLibType.kt index 45754b7197fb..3f801588f3af 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnLibType.kt @@ -1,5 +1,5 @@ // "Create extension function 'Boolean.unaryMinus'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { val a = -false diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnLibType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnLibType.kt.after index fd7b55467501..7e0cc50a16b0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnLibType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnLibType.kt.after @@ -1,5 +1,5 @@ // "Create extension function 'Boolean.unaryMinus'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { val a = -false diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCallNoClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCallNoClass.kt index 116e75c94092..620a8361a183 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCallNoClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCallNoClass.kt @@ -1,6 +1,6 @@ // "Create secondary constructor" "false" // ERROR: Too many arguments for public constructor Any() defined in kotlin.Any -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Remove argument interface T { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/externalLibrary.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/externalLibrary.kt index 9aebe0eeef46..774952a60efc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/externalLibrary.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/externalLibrary.kt @@ -2,7 +2,7 @@ // ACTION: Add full qualifier // ACTION: Introduce import alias // ERROR: One type argument expected for interface List -// WITH_RUNTIME +// WITH_STDLIB fun foo(): List> { return listOf(1) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAnnotationValue.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAnnotationValue.kt index 472d1d9b4e69..c231de9a7920 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAnnotationValue.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAnnotationValue.kt @@ -12,7 +12,7 @@ // ACTION: Rename reference // ERROR: An annotation argument must be a compile-time constant // ERROR: Unresolved reference: Unknown -// WITH_RUNTIME +// WITH_STDLIB import kotlin.reflect.KClass diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inBinaryOperation.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inBinaryOperation.kt index 7f7f0d3196f9..3c8dfb1d8e90 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inBinaryOperation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inBinaryOperation.kt @@ -2,7 +2,7 @@ // ERROR: Unresolved reference: foo // ACTION: Create extension function 'Int.foo' // ACTION: Replace infix call with ordinary call -// WITH_RUNTIME +// WITH_STDLIB fun refer() { 1 foo 2 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValue.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValue.kt index ba2c76d5673c..1f2f12d78f26 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValue.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValue.kt @@ -6,7 +6,7 @@ // ACTION: Enable a trailing comma by default in the formatter // ACTION: Rename reference // ERROR: Unresolved reference: abc -// WITH_RUNTIME +// WITH_STDLIB class Test { fun testMethod(x:Int = abc) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValueLocalFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValueLocalFun.kt index 7cdde95e082b..7ccb42353ed9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValueLocalFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValueLocalFun.kt @@ -5,7 +5,7 @@ // ACTION: Create property 'abc' as constructor parameter // ACTION: Enable a trailing comma by default in the formatter // ACTION: Rename reference -// WITH_RUNTIME +// WITH_STDLIB class Test { fun outer() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValueLocalFun.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValueLocalFun.kt.after index 1ba16a28e59e..6b05aab4078b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValueLocalFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValueLocalFun.kt.after @@ -5,7 +5,7 @@ // ACTION: Create property 'abc' as constructor parameter // ACTION: Enable a trailing comma by default in the formatter // ACTION: Rename reference -// WITH_RUNTIME +// WITH_STDLIB class Test { fun outer() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inBinaryOperation.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inBinaryOperation.kt index 6c3012378c32..f4319146f70a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inBinaryOperation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inBinaryOperation.kt @@ -2,7 +2,7 @@ // ERROR: Unresolved reference: foo // ACTION: Create extension function 'Int.foo' // ACTION: Replace infix call with ordinary call -// WITH_RUNTIME +// WITH_STDLIB fun refer() { 1 foo 2 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/valOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/valOnLibType.kt index 3c0d8b02ad29..832143b78550 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/valOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/valOnLibType.kt @@ -2,7 +2,7 @@ // ACTION: Create extension property 'Int.foo' // ACTION: Rename reference // ERROR: Unresolved reference: foo -// WITH_RUNTIME +// WITH_STDLIB class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/classMemberLateinitVar.after.java b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/classMemberLateinitVar.after.java index e33fc2546a7c..d2d99f85f13e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/classMemberLateinitVar.after.java +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/classMemberLateinitVar.after.java @@ -1,5 +1,5 @@ // "Add 'lateinit var' property 'foo' to 'K'" "true" -// WITH_RUNTIME +// WITH_STDLIB class J { void test(K k) { String s = k.foo; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/classMemberLateinitVar.before.Main.java b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/classMemberLateinitVar.before.Main.java index e33fc2546a7c..d2d99f85f13e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/classMemberLateinitVar.before.Main.java +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/classMemberLateinitVar.before.Main.java @@ -1,5 +1,5 @@ // "Add 'lateinit var' property 'foo' to 'K'" "true" -// WITH_RUNTIME +// WITH_STDLIB class J { void test(K k) { String s = k.foo; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/classMemberVar.after.java b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/classMemberVar.after.java index 44ad12b9336b..0d983e37e665 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/classMemberVar.after.java +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/classMemberVar.after.java @@ -1,5 +1,5 @@ // "Add 'var' property 'foo' to 'K'" "true" -// WITH_RUNTIME +// WITH_STDLIB class J { void test(K k) { String s = k.foo; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/classMemberVar.before.Main.java b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/classMemberVar.before.Main.java index 44ad12b9336b..0d983e37e665 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/classMemberVar.before.Main.java +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/classMemberVar.before.Main.java @@ -1,5 +1,5 @@ // "Add 'var' property 'foo' to 'K'" "true" -// WITH_RUNTIME +// WITH_STDLIB class J { void test(K k) { String s = k.foo; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/companionMemberVar.after.java b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/companionMemberVar.after.java index e290f80f508e..a0b03b5fab10 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/companionMemberVar.after.java +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/companionMemberVar.after.java @@ -1,5 +1,5 @@ // "Add 'var' property 'foo' to 'K'" "true" -// WITH_RUNTIME +// WITH_STDLIB class J { void test() { String s = K.foo; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/companionMemberVar.before.Main.java b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/companionMemberVar.before.Main.java index e290f80f508e..a0b03b5fab10 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/companionMemberVar.before.Main.java +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/companionMemberVar.before.Main.java @@ -1,5 +1,5 @@ // "Add 'var' property 'foo' to 'K'" "true" -// WITH_RUNTIME +// WITH_STDLIB class J { void test() { String s = K.foo; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/topLevelVar.after.java b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/topLevelVar.after.java index b521d9f427b5..bb0c53278a8d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/topLevelVar.after.java +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/topLevelVar.after.java @@ -1,5 +1,5 @@ // "Add 'var' property 'foo' to 'TestKt'" "true" -// WITH_RUNTIME +// WITH_STDLIB class J { void test() { String s = TestKt.foo; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/topLevelVar.before.Main.java b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/topLevelVar.before.Main.java index b521d9f427b5..bb0c53278a8d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/topLevelVar.before.Main.java +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/fieldFromJava/topLevelVar.before.Main.java @@ -1,5 +1,5 @@ // "Add 'var' property 'foo' to 'TestKt'" "true" -// WITH_RUNTIME +// WITH_STDLIB class J { void test() { String s = TestKt.foo; diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/inBinaryOperation.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/inBinaryOperation.kt index 758540ec2ee5..67410a2fbb2f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/inBinaryOperation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/inBinaryOperation.kt @@ -2,7 +2,7 @@ // ERROR: Unresolved reference: foo // ACTION: Create extension function 'Int.foo' // ACTION: Replace infix call with ordinary call -// WITH_RUNTIME +// WITH_STDLIB fun refer() { 1 foo 2 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibObject.kt index 29cf527cd1f3..faba736adda8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibObject.kt @@ -1,5 +1,5 @@ // "Create extension property 'Unit.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { val a: Int = Unit.foo diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibObject.kt.after index 9a6df14a158c..640d1e9a8822 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibObject.kt.after @@ -1,5 +1,5 @@ // "Create extension property 'Unit.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB private val Unit.foo: Int get() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibType.kt index 543f1bfb09df..0dd63e070372 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibType.kt @@ -1,5 +1,5 @@ // "Create extension property 'Int.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibType.kt.after index 57b84e018e7d..1304f5d20a3f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibType.kt.after @@ -1,5 +1,5 @@ // "Create extension property 'Int.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB private val Int.foo: A get() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnLibType.kt index cd0fe411f5e1..263e7589e81c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnLibType.kt @@ -1,5 +1,5 @@ // "Create extension property 'Int.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnLibType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnLibType.kt.after index fc3f4e5163bc..5ef319dbb2b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnLibType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnLibType.kt.after @@ -1,5 +1,5 @@ // "Create extension property 'Int.foo'" "true" -// WITH_RUNTIME +// WITH_STDLIB private var Int.foo: A get() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inInterface.kt index c362c20649d4..3435f6a0ffeb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inInterface.kt @@ -1,5 +1,5 @@ // "Convert member to extension" "true" -// WITH_RUNTIME +// WITH_STDLIB interface B { inline fun foo() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inInterface.kt.after index 97f1caa446a9..0aed48daa548 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inInterface.kt.after @@ -1,5 +1,5 @@ // "Convert member to extension" "true" -// WITH_RUNTIME +// WITH_STDLIB interface B { } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed3Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed3Runtime.kt index 358ad1b29a26..6df7240060cc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed3Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed3Runtime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun()'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun()")) fun oldFun(p: Int): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed3Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed3Runtime.kt.after index 41611c181c26..8b41f331c36f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed3Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed3Runtime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun()'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun()")) fun oldFun(p: Int): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed4Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed4Runtime.kt index ec2d5fb4a2df..6a2433b24804 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed4Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed4Runtime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun()'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun()")) fun oldFun(p: Int?): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed4Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed4Runtime.kt.after index 7cf25e57d856..3b90a492bc96 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed4Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed4Runtime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun()'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun()")) fun oldFun(p: Int?): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed5Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed5Runtime.kt index 0fae72b6c5f6..a6cbe62bc71b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed5Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed5Runtime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(p2)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p2)")) fun oldFun(p1: Int, p2: Int): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed5Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed5Runtime.kt.after index 58383965659f..4c96d8d9d107 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed5Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed5Runtime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(p2)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p2)")) fun oldFun(p1: Int, p2: Int): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall.kt index 09abb296db65..dfc8b29b4bc0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun()'" "true" -// WITH_RUNTIME +// WITH_STDLIB class C { @Deprecated("", ReplaceWith("newFun()")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall.kt.after index 42d18d849374..d371901c2a1c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun()'" "true" -// WITH_RUNTIME +// WITH_STDLIB class C { @Deprecated("", ReplaceWith("newFun()")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall2Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall2Runtime.kt index 1c1c63132689..2d2074989da0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall2Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall2Runtime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun()'" "true" -// WITH_RUNTIME +// WITH_STDLIB class C { @Deprecated("", ReplaceWith("newFun()")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall2Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall2Runtime.kt.after index a526017b6d44..6c38dc9b323d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall2Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall2Runtime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun()'" "true" -// WITH_RUNTIME +// WITH_STDLIB class C { @Deprecated("", ReplaceWith("newFun()")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedShortenRefsRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedShortenRefsRuntime.kt index 2179edc19758..a1f127faa370 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedShortenRefsRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedShortenRefsRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun()'" "true" -// WITH_RUNTIME +// WITH_STDLIB package ppp fun bar(): Int = 0 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedShortenRefsRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedShortenRefsRuntime.kt.after index ee8683d004c8..94dbb33f3118 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedShortenRefsRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedShortenRefsRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun()'" "true" -// WITH_RUNTIME +// WITH_STDLIB package ppp fun bar(): Int = 0 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice3Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice3Runtime.kt index 13f63f73a28d..b15a76d83fd9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice3Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice3Runtime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(p, p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p, p)")) fun oldFun(p: Int): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice3Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice3Runtime.kt.after index 5ed11fd828d3..8f4f56433345 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice3Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice3Runtime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(p, p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p, p)")) fun oldFun(p: Int): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice5Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice5Runtime.kt index cd78aed6246a..9139c44c820c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice5Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice5Runtime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(p, p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice5Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice5Runtime.kt.after index c8e200317947..89bc24ce282e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice5Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice5Runtime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(p, p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice6Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice6Runtime.kt index fd2db09147e3..982d5fa474b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice6Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice6Runtime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(p, p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p, p)")) fun oldFun(p: Int?): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice6Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice6Runtime.kt.after index feef277d6652..ff6e7b6988cd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice6Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice6Runtime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(p, p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p, p)")) fun oldFun(p: Int?): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classLiteralAndTypeArgsRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classLiteralAndTypeArgsRuntime.kt index f669d89aa9cf..165ab9bdbab6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classLiteralAndTypeArgsRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classLiteralAndTypeArgsRuntime.kt @@ -1,5 +1,5 @@ // "Replace usages of 'myJavaClass(): Class' in whole project" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("T::class.java")) inline fun myJavaClass(): Class = T::class.java diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classLiteralAndTypeArgsRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classLiteralAndTypeArgsRuntime.kt.after index 9cacf74c1b28..141df538f51b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classLiteralAndTypeArgsRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classLiteralAndTypeArgsRuntime.kt.after @@ -1,7 +1,7 @@ import java.util.Random // "Replace usages of 'myJavaClass(): Class' in whole project" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("T::class.java")) inline fun myJavaClass(): Class = T::class.java diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget1.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget1.kt index b9f9e39b8a16..9d8166b0b328 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget1.kt @@ -1,3 +1,3 @@ // "Replace with 'OptIn(*markerClass)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @file:UseExperimental \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget1.kt.after index 7a8b0ea9a990..3dc81c71668e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget1.kt.after @@ -1,3 +1,3 @@ // "Replace with 'OptIn(*markerClass)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @file:OptIn() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget2.kt index 05adf9fae9d3..2146cbdce99c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget2.kt @@ -1,3 +1,3 @@ // "Replace with 'OptIn(*markerClass)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @file:UseExperimental() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget2.kt.after index df0bcc391dd3..19017b5042cf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget2.kt.after @@ -1,3 +1,3 @@ // "Replace with 'OptIn(*markerClass)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @file:OptIn() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget3.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget3.kt index 34376807732e..058197579c29 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget3.kt @@ -1,5 +1,5 @@ // "Replace with 'OptIn(*markerClass)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @file:UseExperimental(Foo::class, Bar::class) annotation class Foo diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget3.kt.after index fe59c4ad48aa..518898023508 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget3.kt.after @@ -1,5 +1,5 @@ // "Replace with 'OptIn(*markerClass)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @file:OptIn(Foo::class, Bar::class) annotation class Foo diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument4.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument4.kt index 69e417aee7e5..8cc95ec71421 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument4.kt @@ -1,5 +1,5 @@ // "Replace with 'Factory()'" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo @Deprecated("", ReplaceWith("Factory()")) constructor() fun Factory(): Foo = TODO() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument4.kt.after index 39fd5447235e..e377e2b0c345 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument4.kt.after @@ -1,5 +1,5 @@ // "Replace with 'Factory()'" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo @Deprecated("", ReplaceWith("Factory()")) constructor() fun Factory(): Foo = TODO() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument5.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument5.kt index e9236c2f4606..6afc02b07c69 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument5.kt @@ -1,5 +1,5 @@ // "Replace with 'Factory()'" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo @Deprecated("", ReplaceWith("Factory()")) constructor() fun Factory(): Foo = TODO() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument5.kt.after index 7405c8aec963..707fd1d8f115 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument5.kt.after @@ -1,5 +1,5 @@ // "Replace with 'Factory()'" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo @Deprecated("", ReplaceWith("Factory()")) constructor() fun Factory(): Foo = TODO() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument6.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument6.kt index 701df8867d87..91fe15b2d5f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument6.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument6.kt @@ -1,5 +1,5 @@ // "Replace with 'test.New'" "true" -// WITH_RUNTIME +// WITH_STDLIB package test diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument6.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument6.kt.after index 5c4b67405b95..ea457c18a049 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument6.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument6.kt.after @@ -1,5 +1,5 @@ // "Replace with 'test.New'" "true" -// WITH_RUNTIME +// WITH_STDLIB package test diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument7.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument7.kt index 5836f2bdf668..5536d1649d5c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument7.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument7.kt @@ -1,5 +1,5 @@ // "Replace with 'New'" "true" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Type inference failed: Not enough information to infer parameter T in constructor New()
Please specify it explicitly.
// COMPILER_ARGUMENTS: -XXLanguage:-NewInference diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument7.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument7.kt.after index cf308d6a64f4..239fbf75f46d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument7.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument7.kt.after @@ -1,5 +1,5 @@ // "Replace with 'New'" "true" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Type inference failed: Not enough information to infer parameter T in constructor New()
Please specify it explicitly.
// COMPILER_ARGUMENTS: -XXLanguage:-NewInference diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgumentWithoutSpecifyType.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgumentWithoutSpecifyType.kt index 003fb2157a75..0ab9480d367d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgumentWithoutSpecifyType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgumentWithoutSpecifyType.kt @@ -1,5 +1,5 @@ // "Replace with 'Factory()'" "true" -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -XXLanguage:-NewInference class Foo @Deprecated("", ReplaceWith("Factory()")) constructor() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgumentWithoutSpecifyType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgumentWithoutSpecifyType.kt.after index b642d610bb64..f770c89a6dc7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgumentWithoutSpecifyType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgumentWithoutSpecifyType.kt.after @@ -1,5 +1,5 @@ // "Replace with 'Factory()'" "true" -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -XXLanguage:-NewInference class Foo @Deprecated("", ReplaceWith("Factory()")) constructor() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/innerType.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/innerType.kt index c7bcb4007f7c..fb4fada6761d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/innerType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/innerType.kt @@ -1,5 +1,5 @@ // "Replace with 'B>'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated(message = "renamed", replaceWith = ReplaceWith("B")) typealias A = List diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/innerType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/innerType.kt.after index fd5c1c404af4..29449f4c2632 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/innerType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/innerType.kt.after @@ -1,5 +1,5 @@ // "Replace with 'B>'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated(message = "renamed", replaceWith = ReplaceWith("B")) typealias A = List diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionReceiverWithVarianceType.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionReceiverWithVarianceType.kt index a2dcd8361e7c..f43eb9ac0547 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionReceiverWithVarianceType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionReceiverWithVarianceType.kt @@ -1,5 +1,5 @@ // "Replace with 'bar(f)'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.foo { it } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionReceiverWithVarianceType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionReceiverWithVarianceType.kt.after index feff13ecb95c..44dbccd269a4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionReceiverWithVarianceType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionReceiverWithVarianceType.kt.after @@ -1,5 +1,5 @@ // "Replace with 'bar(f)'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test(list: List) { list.bar { it } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameter.kt index ca22bd3c96e4..2ceb8dc89704 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameter.kt @@ -1,5 +1,5 @@ // "Replace usages of 'minBy((T) -> R) on Iterable: T?' in whole project" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf().minBy { i: Int -> i + 1 } } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameter.kt.after index 5c050a4add5d..97d6e0093bc4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameter.kt.after @@ -1,5 +1,5 @@ // "Replace usages of 'minBy((T) -> R) on Iterable: T?' in whole project" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf().minByOrNull { i: Int -> i + 1 } } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameterWithoutType.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameterWithoutType.kt index 8d5749b012d5..41afe6e672f4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameterWithoutType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameterWithoutType.kt @@ -1,5 +1,5 @@ // "Replace usages of 'minBy((T) -> R) on Iterable: T?' in whole project" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf().minBy { i -> i + 1 } } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameterWithoutType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameterWithoutType.kt.after index 6896dd455831..971768e2b6c5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameterWithoutType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameterWithoutType.kt.after @@ -1,5 +1,5 @@ // "Replace usages of 'minBy((T) -> R) on Iterable: T?' in whole project" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf().minByOrNull { i -> i + 1 } } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameter.kt index 75ce3f2e1b09..4068cbd9da88 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameter.kt @@ -1,5 +1,5 @@ // "Replace usages of 'minBy((T) -> R) on Iterable: T?' in whole project" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf().minBy { it + 1 } } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameter.kt.after index 30e122afd8eb..f45bdc1754ca 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameter.kt.after @@ -1,5 +1,5 @@ // "Replace usages of 'minBy((T) -> R) on Iterable: T?' in whole project" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { listOf().minByOrNull { it + 1 } } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameterWithPlatformType.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameterWithPlatformType.kt index e400f6d6b99f..567ee2d4fc12 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameterWithPlatformType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameterWithPlatformType.kt @@ -1,5 +1,5 @@ // "Replace usages of 'maxBy((T) -> R) on Iterable: T?' in whole project" "true" -// WITH_RUNTIME +// WITH_STDLIB import java.util.Collections fun test() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameterWithPlatformType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameterWithPlatformType.kt.after index db9595d98abc..bad2f6bf84f4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameterWithPlatformType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameterWithPlatformType.kt.after @@ -1,5 +1,5 @@ // "Replace usages of 'maxBy((T) -> R) on Iterable: T?' in whole project" "true" -// WITH_RUNTIME +// WITH_STDLIB import java.util.Collections fun test() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitQualifiedThisRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitQualifiedThisRuntime.kt index c59d1af6a6fc..58fac56bbb41 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitQualifiedThisRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitQualifiedThisRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(this, s)'" "true" -// WITH_RUNTIME +// WITH_STDLIB interface I { @Deprecated("", ReplaceWith("newFun(this, s)")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitQualifiedThisRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitQualifiedThisRuntime.kt.after index e5e28ba90325..8a2e97cd6024 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitQualifiedThisRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitQualifiedThisRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(this, s)'" "true" -// WITH_RUNTIME +// WITH_STDLIB interface I { @Deprecated("", ReplaceWith("newFun(this, s)")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunction.kt index e5da46f9e5cf..9e581e33b5a1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunction.kt @@ -1,5 +1,5 @@ // "Replace with 'stopKoin()'" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.example.pkg diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunction.kt.after index 3b1621839baf..363560962337 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunction.kt.after @@ -1,5 +1,5 @@ // "Replace with 'stopKoin()'" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.example.pkg diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunctionAddReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunctionAddReceiver.kt index b1cef27650e2..bddd1ce11dab 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunctionAddReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunctionAddReceiver.kt @@ -1,5 +1,5 @@ // "Replace with 'str.isEmpty()'" "true" -// WITH_RUNTIME +// WITH_STDLIB import Bar.bar diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunctionAddReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunctionAddReceiver.kt.after index 0d6fd44b8926..f35fddf296eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunctionAddReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunctionAddReceiver.kt.after @@ -1,5 +1,5 @@ // "Replace with 'str.isEmpty()'" "true" -// WITH_RUNTIME +// WITH_STDLIB import Bar.bar diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectProperty.kt index 330f9f78c082..741d320ea344 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectProperty.kt @@ -1,5 +1,5 @@ // "Replace with 'stopKoin'" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.example.pkg diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectProperty.kt.after index 3dcd97870754..7bee841bd18c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectProperty.kt.after @@ -1,5 +1,5 @@ // "Replace with 'stopKoin'" "true" -// WITH_RUNTIME +// WITH_STDLIB package com.example.pkg diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/lineBreakAfterReceiverRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/lineBreakAfterReceiverRuntime.kt index 7b069d9425eb..a49217a00c46 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/lineBreakAfterReceiverRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/lineBreakAfterReceiverRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun()'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun()")) fun Int.oldFun(): Int = this diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/lineBreakAfterReceiverRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/lineBreakAfterReceiverRuntime.kt.after index b3f5d0c38c5c..f5b4707ec48a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/lineBreakAfterReceiverRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/lineBreakAfterReceiverRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun()'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun()")) fun Int.oldFun(): Int = this diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/kt35015.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/kt35015.kt index b6551db4dce5..a2efa484260e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/kt35015.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/kt35015.kt @@ -1,5 +1,5 @@ // "Replace with 'kotlin.math.cos(x)'" "true" -// WITH_RUNTIME +// WITH_STDLIB package package1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/kt35015.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/kt35015.kt.after index 08d3d9e0fcf6..6b8500d1b25c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/kt35015.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/kt35015.kt.after @@ -1,5 +1,5 @@ // "Replace with 'kotlin.math.cos(x)'" "true" -// WITH_RUNTIME +// WITH_STDLIB package package1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambdaComplex.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambdaComplex.kt index 6923c62b87b6..068220a46aa7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambdaComplex.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambdaComplex.kt @@ -1,5 +1,5 @@ // "Replace with 'addA(d(createDummy, dummyParam1, initDummy = initDummy), dummyParam)'" "true" -// WITH_RUNTIME +// WITH_STDLIB typealias NewDummyRef = (Any) -> V diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambdaComplex.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambdaComplex.kt.after index 67ab34bffc3f..cef6ee49b889 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambdaComplex.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambdaComplex.kt.after @@ -1,5 +1,5 @@ // "Replace with 'addA(d(createDummy, dummyParam1, initDummy = initDummy), dummyParam)'" "true" -// WITH_RUNTIME +// WITH_STDLIB typealias NewDummyRef = (Any) -> V diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignment.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignment.kt index 29adba83666f..63ac6fbaca21 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignment.kt @@ -1,5 +1,5 @@ // "Replace with 'new'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A { @Deprecated("msg", ReplaceWith("new")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignment.kt.after index 7a5d7ad27787..7c3349863e14 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignment.kt.after @@ -1,5 +1,5 @@ // "Replace with 'new'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A { @Deprecated("msg", ReplaceWith("new")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentDefaultSetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentDefaultSetter.kt index c22340a9151a..dc198269addb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentDefaultSetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentDefaultSetter.kt @@ -1,5 +1,5 @@ // "Replace with 'new'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A { @Deprecated("msg", ReplaceWith("new")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentDefaultSetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentDefaultSetter.kt.after index 54288980d727..fc463830f00b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentDefaultSetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentDefaultSetter.kt.after @@ -1,5 +1,5 @@ // "Replace with 'new'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A { @Deprecated("msg", ReplaceWith("new")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoReceiver.kt index 459ee71620d0..fe992eb5e180 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoReceiver.kt @@ -1,5 +1,5 @@ // "Replace with 'new'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A { @Deprecated("msg", ReplaceWith("new")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoReceiver.kt.after index 46d7d808e539..d6ed640c8555 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoReceiver.kt.after @@ -1,5 +1,5 @@ // "Replace with 'new'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A { @Deprecated("msg", ReplaceWith("new")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoSetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoSetter.kt index ae61e0280e6e..a1a68cb786d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoSetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoSetter.kt @@ -1,5 +1,5 @@ // "Replace with 'new'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A { @Deprecated("msg", ReplaceWith("new")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoSetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoSetter.kt.after index df20f4f027c1..c77bee36a3cd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoSetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoSetter.kt.after @@ -1,5 +1,5 @@ // "Replace with 'new'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A { @Deprecated("msg", ReplaceWith("new")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyModification.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyModification.kt index fcf1c65f48d2..05a41c5e9700 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyModification.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyModification.kt @@ -1,5 +1,5 @@ // "Replace with 'new'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A { @Deprecated("msg", ReplaceWith("new")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyModification.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyModification.kt.after index 3e2e07c1fc1e..dcb4a22845c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyModification.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyModification.kt.after @@ -1,5 +1,5 @@ // "Replace with 'new'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A { @Deprecated("msg", ReplaceWith("new")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCall.kt index 5ddf2d268b5b..eb5030a24a7e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCall.kt @@ -1,5 +1,5 @@ // "Replace with 's.newFun(this)'" "true" -// WITH_RUNTIME +// WITH_STDLIB class X { @Deprecated("", ReplaceWith("s.newFun(this)")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCall.kt.after index 6cf6ddefdea0..1acabf64f491 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCall.kt.after @@ -1,5 +1,5 @@ // "Replace with 's.newFun(this)'" "true" -// WITH_RUNTIME +// WITH_STDLIB class X { @Deprecated("", ReplaceWith("s.newFun(this)")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue1Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue1Runtime.kt index f01912e83aa0..f4b0d08d270d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue1Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue1Runtime.kt @@ -1,5 +1,5 @@ // "Replace with 'c.newFun(this)'" "true" -// WITH_RUNTIME +// WITH_STDLIB class X { @Deprecated("", ReplaceWith("c.newFun(this)")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue1Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue1Runtime.kt.after index 26053279cc85..edceb8c8ef54 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue1Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue1Runtime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'c.newFun(this)'" "true" -// WITH_RUNTIME +// WITH_STDLIB class X { @Deprecated("", ReplaceWith("c.newFun(this)")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue2Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue2Runtime.kt index 659af210b813..3a6c5ceaa0a3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue2Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue2Runtime.kt @@ -1,5 +1,5 @@ // "Replace with 's.filter { it != c }'" "true" -// WITH_RUNTIME +// WITH_STDLIB class X { @Deprecated("", ReplaceWith("s.filter { it != c }")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue2Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue2Runtime.kt.after index a31dfd079307..84b7971ce92d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue2Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue2Runtime.kt.after @@ -1,5 +1,5 @@ // "Replace with 's.filter { it != c }'" "true" -// WITH_RUNTIME +// WITH_STDLIB class X { @Deprecated("", ReplaceWith("s.filter { it != c }")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue3Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue3Runtime.kt index 2615b87758ca..f4ba8bdec6ab 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue3Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue3Runtime.kt @@ -1,5 +1,5 @@ // "Replace with 'c1.newFun(this, c2)'" "true" -// WITH_RUNTIME +// WITH_STDLIB class X { @Deprecated("", ReplaceWith("c1.newFun(this, c2)")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue3Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue3Runtime.kt.after index 7c60c3096f5f..e25d46ca4249 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue3Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue3Runtime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'c1.newFun(this, c2)'" "true" -// WITH_RUNTIME +// WITH_STDLIB class X { @Deprecated("", ReplaceWith("c1.newFun(this, c2)")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue4Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue4Runtime.kt index d50813c60623..6f743888b1e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue4Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue4Runtime.kt @@ -1,5 +1,5 @@ // "Replace with 'c1.newFun(this, c2)'" "true" -// WITH_RUNTIME +// WITH_STDLIB class X(val c: Char) { @Deprecated("", ReplaceWith("c1.newFun(this, c2)")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue4Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue4Runtime.kt.after index 0a604dd459f9..3157e37e78ed 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue4Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue4Runtime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'c1.newFun(this, c2)'" "true" -// WITH_RUNTIME +// WITH_STDLIB class X(val c: Char) { @Deprecated("", ReplaceWith("c1.newFun(this, c2)")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValueRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValueRuntime.kt index 42b11d1a6ade..6a6c172459cd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValueRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValueRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 's.newFun(this)'" "true" -// WITH_RUNTIME +// WITH_STDLIB class X { @Deprecated("", ReplaceWith("s.newFun(this)")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValueRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValueRuntime.kt.after index 6d9b17c30db5..045f3d9784c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValueRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValueRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 's.newFun(this)'" "true" -// WITH_RUNTIME +// WITH_STDLIB class X { @Deprecated("", ReplaceWith("s.newFun(this)")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/withTypeArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/withTypeArgument.kt index 810227b03da8..7d85658b2515 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/withTypeArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/withTypeArgument.kt @@ -1,5 +1,5 @@ // "Replace with 'B'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated(message = "renamed", replaceWith = ReplaceWith("B")) typealias A = List diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/withTypeArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/withTypeArgument.kt.after index f9a0a165df8b..b45def5178ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/withTypeArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/withTypeArgument.kt.after @@ -1,5 +1,5 @@ // "Replace with 'B'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated(message = "renamed", replaceWith = ReplaceWith("B")) typealias A = List diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral2.kt index 02bbecf0d012..da25b650a3a1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral2.kt @@ -1,5 +1,5 @@ // "Replace with 'Int::class.java'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("Use class literal", ReplaceWith("T::class.java")) fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral2.kt.after index 3bee9c90a148..a6cec156605a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral2.kt.after @@ -1,5 +1,5 @@ // "Replace with 'Int::class.java'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("Use class literal", ReplaceWith("T::class.java")) fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/emptyVarargRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/emptyVarargRuntime.kt index 59bd40861e3d..73fc204e6f8a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/emptyVarargRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/emptyVarargRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(*elements)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*elements)")) fun oldFun(vararg elements: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/emptyVarargRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/emptyVarargRuntime.kt.after index 3e954626823a..7f0ed8738176 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/emptyVarargRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/emptyVarargRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(*elements)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*elements)")) fun oldFun(vararg elements: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepInUserCodeRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepInUserCodeRuntime.kt index f9fa39dd7501..6df917b97ed1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepInUserCodeRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepInUserCodeRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p)")) fun oldFun(p: List) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepInUserCodeRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepInUserCodeRuntime.kt.after index 0d7713e0dc32..3bdd54052c35 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepInUserCodeRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepInUserCodeRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p)")) fun oldFun(p: List) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/kt36225.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/kt36225.kt index 5f75dceabfb2..7631e4a17f91 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/kt36225.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/kt36225.kt @@ -1,5 +1,5 @@ // "Replace with 'foo(list)'" "true" -// WITH_RUNTIME +// WITH_STDLIB class Builder { @Deprecated(message = "", level = DeprecationLevel.WARNING, replaceWith = ReplaceWith("foo(list)")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/kt36225.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/kt36225.kt.after index e9e3f5033f86..69533b0198a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/kt36225.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/kt36225.kt.after @@ -1,5 +1,5 @@ // "Replace with 'foo(list)'" "true" -// WITH_RUNTIME +// WITH_STDLIB class Builder { @Deprecated(message = "", level = DeprecationLevel.WARNING, replaceWith = ReplaceWith("foo(list)")) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgImportRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgImportRuntime.kt index 66911ab0bc3f..fd5849374791 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgImportRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgImportRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(*elements)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*elements)")) fun oldFun(vararg elements: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgImportRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgImportRuntime.kt.after index 8ffb15cd09e6..560761b651c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgImportRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgImportRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(*elements)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*elements)")) fun oldFun(vararg elements: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInClassWithTypeParam.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInClassWithTypeParam.kt index 429bbb1117c4..b1fadf66665e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInClassWithTypeParam.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInClassWithTypeParam.kt @@ -1,5 +1,5 @@ // "Replace with 'this.minByOrNull(selector)'" "true" -// WITH_RUNTIME +// WITH_STDLIB class C { fun test() { listOf(1).minBy { it } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInClassWithTypeParam.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInClassWithTypeParam.kt.after index 99bab16a7de8..eed3c0599ae0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInClassWithTypeParam.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInClassWithTypeParam.kt.after @@ -1,5 +1,5 @@ // "Replace with 'this.minByOrNull(selector)'" "true" -// WITH_RUNTIME +// WITH_STDLIB class C { fun test() { listOf(1).minByOrNull { it } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/nonEmptyVarargRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/nonEmptyVarargRuntime.kt index cf8515918c8d..7c3aa1947f1a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/nonEmptyVarargRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/nonEmptyVarargRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(*elements)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*elements)")) fun oldFun(vararg elements: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/nonEmptyVarargRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/nonEmptyVarargRuntime.kt.after index 588a49a1c3fd..01ac39205dcd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/nonEmptyVarargRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/nonEmptyVarargRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(*elements)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*elements)")) fun oldFun(vararg elements: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedNamedArgumentAfterRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedNamedArgumentAfterRuntime.kt index 370337298804..c225943813a1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedNamedArgumentAfterRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedNamedArgumentAfterRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(*p, x = null)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*p, x = null)")) fun oldFun(vararg p: Int){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedNamedArgumentAfterRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedNamedArgumentAfterRuntime.kt.after index 7bd23c620f2a..23422ebf34e1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedNamedArgumentAfterRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedNamedArgumentAfterRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(*p, x = null)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*p, x = null)")) fun oldFun(vararg p: Int){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedPositionalArgumentAfterRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedPositionalArgumentAfterRuntime.kt index 92147ef00e10..3833104ed82a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedPositionalArgumentAfterRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedPositionalArgumentAfterRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(*p, 1)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*p, 1)")) fun oldFun(vararg p: Int){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedPositionalArgumentAfterRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedPositionalArgumentAfterRuntime.kt.after index 630c68bd5fd0..ad6354172223 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedPositionalArgumentAfterRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedPositionalArgumentAfterRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(*p, 1)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*p, 1)")) fun oldFun(vararg p: Int){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedSpreadArgumentAfterRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedSpreadArgumentAfterRuntime.kt index 26ac1fca8725..b4076e3229ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedSpreadArgumentAfterRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedSpreadArgumentAfterRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(*p, *list.toIntArray())'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*p, *list.toIntArray())")) fun oldFun(list: List, vararg p: Int){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedSpreadArgumentAfterRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedSpreadArgumentAfterRuntime.kt.after index a8c8996a0b11..dcd827566e82 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedSpreadArgumentAfterRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedSpreadArgumentAfterRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(*p, *list.toIntArray())'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*p, *list.toIntArray())")) fun oldFun(list: List, vararg p: Int){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/booleanArrayRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/booleanArrayRuntime.kt index cc129d50c100..b16d95f6a4be 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/booleanArrayRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/booleanArrayRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p)")) fun oldFun(vararg p: Boolean){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/booleanArrayRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/booleanArrayRuntime.kt.after index ccd3cd8c9efb..924b92eb6005 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/booleanArrayRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/booleanArrayRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p)")) fun oldFun(vararg p: Boolean){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/byteArrayRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/byteArrayRuntime.kt index e05526c17c2d..dd194724239e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/byteArrayRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/byteArrayRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p)")) fun oldFun(vararg p: Byte){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/byteArrayRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/byteArrayRuntime.kt.after index 0ede019b6ba9..eb6ee43a713a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/byteArrayRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/byteArrayRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p)")) fun oldFun(vararg p: Byte){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferences2Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferences2Runtime.kt index df085788cfb2..0614d5ab64a2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferences2Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferences2Runtime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(*c)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*c)")) fun oldFun(vararg c: Char){} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferences2Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferences2Runtime.kt.after index 2957be57fcb6..88faad47eefa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferences2Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferences2Runtime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(*c)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*c)")) fun oldFun(vararg c: Char){} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferencesRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferencesRuntime.kt index a233c68e3eb3..b7f1b3c4baa0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferencesRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferencesRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(*c)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*c)")) fun oldFun(vararg c: Char){} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferencesRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferencesRuntime.kt.after index 726f459ffdeb..9ceac85557a4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferencesRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferencesRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(*c)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*c)")) fun oldFun(vararg c: Char){} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotSimplifyOriginalCallRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotSimplifyOriginalCallRuntime.kt index df9318b44a02..61297080967a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotSimplifyOriginalCallRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotSimplifyOriginalCallRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(vararg s: String) = s.joinToString() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotSimplifyOriginalCallRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotSimplifyOriginalCallRuntime.kt.after index f56e06a1d81e..993ba1acb07e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotSimplifyOriginalCallRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotSimplifyOriginalCallRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(vararg s: String) = s.joinToString() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doubleArrayRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doubleArrayRuntime.kt index 056e1f25cd7a..9cdd6ab82518 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doubleArrayRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doubleArrayRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p)")) fun oldFun(vararg p: Double){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doubleArrayRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doubleArrayRuntime.kt.after index f9c08db42a03..1a0ec916936a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doubleArrayRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doubleArrayRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p)")) fun oldFun(vararg p: Double){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/floatArrayRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/floatArrayRuntime.kt index a94dc2e057e6..5d2b5f5cca29 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/floatArrayRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/floatArrayRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p)")) fun oldFun(vararg p: Float){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/floatArrayRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/floatArrayRuntime.kt.after index ac28ea744f7c..f77175ba83c3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/floatArrayRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/floatArrayRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p)")) fun oldFun(vararg p: Float){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/longArrayRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/longArrayRuntime.kt index 04aebf99c140..dfb70af5404f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/longArrayRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/longArrayRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p)")) fun oldFun(vararg p: Long){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/longArrayRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/longArrayRuntime.kt.after index 410dfbe080bb..6afd75f7c4a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/longArrayRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/longArrayRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p)")) fun oldFun(vararg p: Long){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArguments2Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArguments2Runtime.kt index c3e29f5c2c50..53f202158a4e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArguments2Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArguments2Runtime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p)")) fun oldFun(vararg p: Int){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArguments2Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArguments2Runtime.kt.after index c79c81aab96c..dd7777517873 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArguments2Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArguments2Runtime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p)")) fun oldFun(vararg p: Int){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArgumentsRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArgumentsRuntime.kt index b72229d6b964..294fe2ae7b7d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArgumentsRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArgumentsRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(*p, 1)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*p, 1)")) fun oldFun(vararg p: Int){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArgumentsRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArgumentsRuntime.kt.after index 3723afdc829c..4d332a147029 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArgumentsRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArgumentsRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(*p, 1)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*p, 1)")) fun oldFun(vararg p: Int){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/noImportRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/noImportRuntime.kt index 1a88486d329a..9222d4b859eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/noImportRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/noImportRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(*elements)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*elements)")) fun oldFun(vararg elements: java.io.File?) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/noImportRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/noImportRuntime.kt.after index d5d7f9faf27b..537cde8c5a68 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/noImportRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/noImportRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(*elements)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(*elements)")) fun oldFun(vararg elements: java.io.File?) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/shortArrayRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/shortArrayRuntime.kt index 4a8d5e769f70..357f861508e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/shortArrayRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/shortArrayRuntime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p)")) fun oldFun(vararg p: Short){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/shortArrayRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/shortArrayRuntime.kt.after index 4305520adfe4..fe908e72a2be 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/shortArrayRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/shortArrayRuntime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(p)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p)")) fun oldFun(vararg p: Short){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg1Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg1Runtime.kt index 291f08e52052..45e8ea70be7b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg1Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg1Runtime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(p1, *p2)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p1, *p2)")) fun oldFun(p1: String, vararg p2: Int){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg1Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg1Runtime.kt.after index 51e4e81039f0..996298f089d5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg1Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg1Runtime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(p1, *p2)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p1, *p2)")) fun oldFun(p1: String, vararg p2: Int){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg2Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg2Runtime.kt index ec4111a20d99..ae102fdc14a3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg2Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg2Runtime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(p1, *p2)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p1, *p2)")) fun oldFun(p1: String, vararg p2: Int){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg2Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg2Runtime.kt.after index e9b5c5ae68cd..9baa230785df 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg2Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg2Runtime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(p1, *p2)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p1, *p2)")) fun oldFun(p1: String, vararg p2: Int){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg3Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg3Runtime.kt index 11a9ef175322..8514b22468bc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg3Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg3Runtime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(p1, *p2)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p1, *p2)")) fun oldFun(p1: String, vararg p2: Int){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg3Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg3Runtime.kt.after index 67fadcafabd6..4798ba172fbf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg3Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg3Runtime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(p1, *p2)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p1, *p2)")) fun oldFun(p1: String, vararg p2: Int){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg6Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg6Runtime.kt index 00100fae6400..c42de7cd8022 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg6Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg6Runtime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(p1, p2)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p1, p2)")) fun oldFun(p1: String, vararg p2: Int) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg6Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg6Runtime.kt.after index 3b29c451b734..afb93deac145 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg6Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg6Runtime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(p1, p2)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p1, p2)")) fun oldFun(p1: String, vararg p2: Int) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg8Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg8Runtime.kt index 5a2b1feece3b..635b419310a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg8Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg8Runtime.kt @@ -1,5 +1,5 @@ // "Replace with 'newFun(p1, *p2)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p1, *p2)")) fun oldFun(p1: String, p2: IntArray) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg8Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg8Runtime.kt.after index c38a554c42c6..0a840ab43c09 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg8Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg8Runtime.kt.after @@ -1,5 +1,5 @@ // "Replace with 'newFun(p1, *p2)'" "true" -// WITH_RUNTIME +// WITH_STDLIB @Deprecated("", ReplaceWith("newFun(p1, *p2)")) fun oldFun(p1: String, p2: IntArray) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/annotationInTopLevelProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/annotationInTopLevelProperty.kt index d1a535f025cd..1701138ba1a1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/annotationInTopLevelProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/annotationInTopLevelProperty.kt @@ -1,6 +1,6 @@ // "Add '@TopMarker' annotation to 'topUserVal'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class TopMarker diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/annotationInTopLevelProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/annotationInTopLevelProperty.kt.after index 3fc1ff65d720..49c58db0bddb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/annotationInTopLevelProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/annotationInTopLevelProperty.kt.after @@ -1,6 +1,6 @@ // "Add '@TopMarker' annotation to 'topUserVal'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class TopMarker diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationToAnnotationList.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationToAnnotationList.kt index 35e1c697ebf7..bda0dd41b0a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationToAnnotationList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationToAnnotationList.kt @@ -1,6 +1,6 @@ // "Add '@OptIn(A::class)' annotation to containing file 'appendFileAnnotationToAnnotationList.kt'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @file:[ JvmName("Foo") OptIn(B::class) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationToAnnotationList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationToAnnotationList.kt.after index 29a138c3cd25..41f2ba8947ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationToAnnotationList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationToAnnotationList.kt.after @@ -1,6 +1,6 @@ // "Add '@OptIn(A::class)' annotation to containing file 'appendFileAnnotationToAnnotationList.kt'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @file:[ JvmName("Foo") OptIn(B::class, A::class) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationToOtherFileAnnotations.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationToOtherFileAnnotations.kt index fdf8cd777402..0f0f2e3b9dc4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationToOtherFileAnnotations.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationToOtherFileAnnotations.kt @@ -1,6 +1,6 @@ // "Add '@OptIn(A::class)' annotation to containing file 'appendFileAnnotationToOtherFileAnnotations.kt'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @file:JvmName("Foo") package p diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationToOtherFileAnnotations.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationToOtherFileAnnotations.kt.after index 9f55ba0420f6..6df14887b4f7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationToOtherFileAnnotations.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationToOtherFileAnnotations.kt.after @@ -1,6 +1,6 @@ // "Add '@OptIn(A::class)' annotation to containing file 'appendFileAnnotationToOtherFileAnnotations.kt'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @file:JvmName("Foo") @file:OptIn(A::class) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationWithAnnotationList.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationWithAnnotationList.kt index a9c8474ff0f7..83d0170440d5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationWithAnnotationList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationWithAnnotationList.kt @@ -1,6 +1,6 @@ // "Add '@OptIn(A::class)' annotation to containing file 'appendFileAnnotationWithAnnotationList.kt'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @file:[ JvmName("Foo") ] diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationWithAnnotationList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationWithAnnotationList.kt.after index f18d973befd0..a3d82317110f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationWithAnnotationList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/appendFileAnnotationWithAnnotationList.kt.after @@ -1,6 +1,6 @@ // "Add '@OptIn(A::class)' annotation to containing file 'appendFileAnnotationWithAnnotationList.kt'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @file:[ JvmName("Foo") ] diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunction.kt index 0e5fa33e3ae4..5feae4c99c36 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunction.kt @@ -1,6 +1,6 @@ // "Add '@MyExperimentalAPI' annotation to 'bar'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class MyExperimentalAPI diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunction.kt.after index 48a0bad7ca07..671397fe8c46 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunction.kt.after @@ -1,6 +1,6 @@ // "Add '@MyExperimentalAPI' annotation to 'bar'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class MyExperimentalAPI diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunctionContainingClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunctionContainingClass.kt index 5943efedd44d..d56d26031f82 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunctionContainingClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunctionContainingClass.kt @@ -1,6 +1,6 @@ // "Add '@MyExperimentalAPI' annotation to containing class 'Bar'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class MyExperimentalAPI diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunctionContainingClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunctionContainingClass.kt.after index d8d38d9af73a..0cf281df2b78 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunctionContainingClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunctionContainingClass.kt.after @@ -1,6 +1,6 @@ // "Add '@MyExperimentalAPI' annotation to containing class 'Bar'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class MyExperimentalAPI diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunctionNotApplicable.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunctionNotApplicable.kt index 3aa1938a3707..210ce8b3895e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunctionNotApplicable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicFunctionNotApplicable.kt @@ -1,6 +1,6 @@ // "Add '@MyExperimentalAPI' annotation to 'bar'" "false" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add '@MyExperimentalAPI' annotation to containing class 'Bar' // ACTION: Add '@OptIn(MyExperimentalAPI::class)' annotation to containing file 'basicFunctionNotApplicable.kt' // ACTION: Add '@OptIn(MyExperimentalAPI::class)' annotation to 'bar' diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicModule.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicModule.kt index ee1e197a30a8..be12da264a9c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicModule.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicModule.kt @@ -3,7 +3,7 @@ // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn // COMPILER_ARGUMENTS_AFTER: -Xopt-in=kotlin.RequiresOptIn -Xopt-in=test.MyExperimentalAPI // DISABLE-ERRORS -// WITH_RUNTIME +// WITH_STDLIB package test diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicModule.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicModule.kt.after index 10a41b1bc60c..bfc51eee7c08 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicModule.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicModule.kt.after @@ -3,7 +3,7 @@ // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn // COMPILER_ARGUMENTS_AFTER: -Xopt-in=kotlin.RequiresOptIn -Xopt-in=test.MyExperimentalAPI // DISABLE-ERRORS -// WITH_RUNTIME +// WITH_STDLIB package test diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicUseExperimental.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicUseExperimental.kt index ca3e59ee1a15..5bb6d789bd18 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicUseExperimental.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicUseExperimental.kt @@ -1,7 +1,7 @@ // "Add '@OptIn(MyExperimentalAPI::class)' annotation to 'bar'" "true" // PRIORITY: HIGH // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB package a.b diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicUseExperimental.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicUseExperimental.kt.after index 9112f203403e..bd4b64947809 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicUseExperimental.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/basicUseExperimental.kt.after @@ -1,7 +1,7 @@ // "Add '@OptIn(MyExperimentalAPI::class)' annotation to 'bar'" "true" // PRIORITY: HIGH // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB package a.b diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/classUseExperimental.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/classUseExperimental.kt index c14904b686e5..9f0acc6659d6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/classUseExperimental.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/classUseExperimental.kt @@ -1,7 +1,7 @@ // "Add '@OptIn(MyExperimentalAPI::class)' annotation to containing class 'Bar'" "true" // PRIORITY: HIGH // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB package a.b diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/classUseExperimental.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/classUseExperimental.kt.after index 9bee57c3e32b..773b3354dfb6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/classUseExperimental.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/classUseExperimental.kt.after @@ -1,7 +1,7 @@ // "Add '@OptIn(MyExperimentalAPI::class)' annotation to containing class 'Bar'" "true" // PRIORITY: HIGH // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB package a.b diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/doNotSwitchOn.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/doNotSwitchOn.kt index 8b4f83e3ffb3..af06f6edf026 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/doNotSwitchOn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/doNotSwitchOn.kt @@ -1,7 +1,7 @@ // "Add '-Xopt-in=kotlin.RequiresOptIn' to module light_idea_test_case compiler arguments" "false" // COMPILER_ARGUMENTS: -version -Xopt-in=Something // DISABLE-ERRORS -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add full qualifier // ACTION: Introduce import alias // ACTION: Make internal diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/existingFileAnnotationWithPackage.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/existingFileAnnotationWithPackage.kt index f9b7d3d7bce7..ec990ac246e9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/existingFileAnnotationWithPackage.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/existingFileAnnotationWithPackage.kt @@ -1,6 +1,6 @@ // "Add '@OptIn(B::class)' annotation to containing file 'existingFileAnnotationWithPackage.kt'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @file:OptIn(A::class) package p diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/existingFileAnnotationWithPackage.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/existingFileAnnotationWithPackage.kt.after index ece0d4b18255..959889e80d0b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/existingFileAnnotationWithPackage.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/existingFileAnnotationWithPackage.kt.after @@ -1,6 +1,6 @@ // "Add '@OptIn(B::class)' annotation to containing file 'existingFileAnnotationWithPackage.kt'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @file:OptIn(A::class, B::class) package p diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/experimentalUnused.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/experimentalUnused.kt index 581100aec6c8..35f6bdd70f8a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/experimentalUnused.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/experimentalUnused.kt @@ -1,6 +1,6 @@ // "Safe delete 'Marker'" "false" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -Xopt-in=test.Marker -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Rename file to Marker.kt // TOOL: org.jetbrains.kotlin.idea.inspections.UnusedSymbolInspection diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/experimentalUnused2.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/experimentalUnused2.kt index 8d185c053405..012e80bc6f9c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/experimentalUnused2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/experimentalUnused2.kt @@ -1,6 +1,6 @@ // "Safe delete 'Marker'" "false" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -Xexperimental=test.Marker -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Rename file to Marker.kt // TOOL: org.jetbrains.kotlin.idea.inspections.UnusedSymbolInspection diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/functionInLocalClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/functionInLocalClass.kt index 40d4ee05a415..3254879697cc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/functionInLocalClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/functionInLocalClass.kt @@ -1,6 +1,6 @@ // "Add '@MyExperimentalAPI' annotation to 'outer'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn @Target(AnnotationTarget.FUNCTION) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/functionInLocalClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/functionInLocalClass.kt.after index 01a1698324c9..dc1c0c23ef77 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/functionInLocalClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/functionInLocalClass.kt.after @@ -1,6 +1,6 @@ // "Add '@MyExperimentalAPI' annotation to 'outer'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn @Target(AnnotationTarget.FUNCTION) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation.kt index 0ede4d045c18..f965386956f1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation.kt @@ -1,5 +1,5 @@ // "Add '@OptIn(B::class)' annotation to 'root'" "true" -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class A diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation.kt.after index 7e3a37915754..2496ac42f6ee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation.kt.after @@ -1,5 +1,5 @@ // "Add '@OptIn(B::class)' annotation to 'root'" "true" -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class A diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation2.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation2.kt index 63758c73558f..64da4a2debc7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation2.kt @@ -1,5 +1,5 @@ // "Add '@OptIn(A::class)' annotation to 'root'" "true" -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class A diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation2.kt.after index 499ccbea3980..97b96677f0ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation2.kt.after @@ -1,5 +1,5 @@ // "Add '@OptIn(A::class)' annotation to 'root'" "true" -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class A diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation3.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation3.kt index 6f7e6fb843bc..4a69b60fbcb3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation3.kt @@ -1,5 +1,5 @@ // "Add '@OptIn(A::class)' annotation to 'root'" "true" -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class A diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation3.kt.after index 225065f34856..c48743f5f510 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/hasOptInAnnotation3.kt.after @@ -1,5 +1,5 @@ // "Add '@OptIn(A::class)' annotation to 'root'" "true" -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class A diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/localFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/localFunction.kt index 0e7dc4649e45..64d8b9918f7e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/localFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/localFunction.kt @@ -1,6 +1,6 @@ // "Add '@MyExperimentalAPI' annotation to 'outer'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class MyExperimentalAPI diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/localFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/localFunction.kt.after index 48907beae4ca..aefad4315320 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/localFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/localFunction.kt.after @@ -1,6 +1,6 @@ // "Add '@MyExperimentalAPI' annotation to 'outer'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class MyExperimentalAPI diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/nestedClasses.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/nestedClasses.kt index a18dcfc28aa4..4ac629f93a7e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/nestedClasses.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/nestedClasses.kt @@ -1,6 +1,6 @@ // "Add '@MyExperimentalAPI' annotation to containing class 'Outer'" "false" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add '@MyExperimentalAPI' annotation to 'bar' // ACTION: Add '@MyExperimentalAPI' annotation to containing class 'Inner' // ACTION: Add '@OptIn(MyExperimentalAPI::class)' annotation to 'bar' diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/newFileAnnotationWithPackage.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/newFileAnnotationWithPackage.kt index 386bdbeaa4bc..fdb4d49aa4a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/newFileAnnotationWithPackage.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/newFileAnnotationWithPackage.kt @@ -1,6 +1,6 @@ // "Add '@OptIn(A::class)' annotation to containing file 'newFileAnnotationWithPackage.kt'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB package p @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/newFileAnnotationWithPackage.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/newFileAnnotationWithPackage.kt.after index 01be69b52d6a..6fc801492897 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/newFileAnnotationWithPackage.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/newFileAnnotationWithPackage.kt.after @@ -1,6 +1,6 @@ // "Add '@OptIn(A::class)' annotation to containing file 'newFileAnnotationWithPackage.kt'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @file:OptIn(A::class) package p diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/override.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/override.kt index e8687e344622..e64d0df15767 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/override.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/override.kt @@ -1,6 +1,6 @@ // "Add '@MyExperimentalAPI' annotation to containing class 'Derived'" "false" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add '@MyExperimentalAPI' annotation to 'foo' // ACTION: Add '@OptIn(MyExperimentalAPI::class)' annotation to containing file 'override.kt' // ACTION: Add '@OptIn(MyExperimentalAPI::class)' annotation to 'foo' diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/propertyInConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/propertyInConstructor.kt index 4544acd6abbd..37f4c0ed57d1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/propertyInConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/propertyInConstructor.kt @@ -1,6 +1,6 @@ // "Add '@PropertyTypeMarker' annotation to 'PropertyTypeContainer'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add '@PropertyTypeMarker' annotation to containing class 'PropertyTypeContainer' @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/propertyInConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/propertyInConstructor.kt.after index 892dd578a408..5826f353f9e7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/propertyInConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/propertyInConstructor.kt.after @@ -1,6 +1,6 @@ // "Add '@PropertyTypeMarker' annotation to 'PropertyTypeContainer'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add '@PropertyTypeMarker' annotation to containing class 'PropertyTypeContainer' @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage.test b/plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage.test index 4007ab23ba58..76b0222c71bc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage.test +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage.test @@ -1,7 +1,7 @@ // FILE: first.before.kt // "Add '@OptIn(Ann::class)' annotation to 'test'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB // ERROR: This declaration is experimental and its usage must be marked with '@fun.optin.Ann' or '@OptIn(fun.optin.Ann::class)' import `fun`.optin.C @@ -22,7 +22,7 @@ class C // FILE: first.after.kt // "Add '@OptIn(Ann::class)' annotation to 'test'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB // ERROR: This declaration is experimental and its usage must be marked with '@fun.optin.Ann' or '@OptIn(fun.optin.Ann::class)' import `fun`.optin.Ann import `fun`.optin.C diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage2.test b/plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage2.test index 0082cfbe94fb..c2a9dae39aa9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage2.test +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage2.test @@ -1,7 +1,7 @@ // FILE: first.before.kt // "Add '@Ann' annotation to 'test'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB // ERROR: This declaration is experimental and its usage must be marked with '@fun.optin.Ann' or '@OptIn(fun.optin.Ann::class)' import `fun`.optin.C @@ -22,7 +22,7 @@ class C // FILE: first.after.kt // "Add '@Ann' annotation to 'test'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB // ERROR: This declaration is experimental and its usage must be marked with '@fun.optin.Ann' or '@OptIn(fun.optin.Ann::class)' import `fun`.optin.Ann import `fun`.optin.C diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/switchOn.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/switchOn.kt index dc55026d4894..c5299162065c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/switchOn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/switchOn.kt @@ -2,7 +2,7 @@ // COMPILER_ARGUMENTS: -version // COMPILER_ARGUMENTS_AFTER: -version -Xopt-in=kotlin.RequiresOptIn // DISABLE-ERRORS -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class MyExperimentalAPI diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/switchOn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/switchOn.kt.after index 8bc43b609e28..75725418c507 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/switchOn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/switchOn.kt.after @@ -2,7 +2,7 @@ // COMPILER_ARGUMENTS: -version // COMPILER_ARGUMENTS_AFTER: -version -Xopt-in=kotlin.RequiresOptIn // DISABLE-ERRORS -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class MyExperimentalAPI diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/typeAlias.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/typeAlias.kt index d016e5038cb7..42d9c4dac63d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/typeAlias.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/typeAlias.kt @@ -1,6 +1,6 @@ // "Add '@OptIn(AliasMarker::class)' annotation to 'AliasMarkerUsage'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add '-Xopt-in=AliasMarker' to module light_idea_test_case compiler arguments @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/typeAlias.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/typeAlias.kt.after index eaf9c072cf61..7148c21d7e3a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/typeAlias.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/typeAlias.kt.after @@ -1,6 +1,6 @@ // "Add '@OptIn(AliasMarker::class)' annotation to 'AliasMarkerUsage'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add '-Xopt-in=AliasMarker' to module light_idea_test_case compiler arguments @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/typeInTopLevelProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/typeInTopLevelProperty.kt index 357d8fefa9dd..96848b910ecd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/typeInTopLevelProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/typeInTopLevelProperty.kt @@ -1,6 +1,6 @@ // "Add '@TopMarker' annotation to 'topUserVal'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class TopMarker diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/typeInTopLevelProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/typeInTopLevelProperty.kt.after index 3fc1ff65d720..49c58db0bddb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/typeInTopLevelProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/typeInTopLevelProperty.kt.after @@ -1,6 +1,6 @@ // "Add '@TopMarker' annotation to 'topUserVal'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class TopMarker diff --git a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/conditional.kt b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/conditional.kt index 675eaceb8bdb..2a8d23d41d9a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/conditional.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/conditional.kt @@ -1,7 +1,7 @@ // "class org.jetbrains.kotlin.idea.quickfix.LiftAssignmentOutOfTryFix" "false" // ACTION: Change to 'var' // DISABLE-ERRORS -// WITH_RUNTIME +// WITH_STDLIB fun foo(arg: Boolean) { val x: Int diff --git a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/emptyFinally.kt b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/emptyFinally.kt index 350fa2a40ba5..87a57dffc586 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/emptyFinally.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/emptyFinally.kt @@ -1,5 +1,5 @@ // "Lift assignment out of 'try' expression" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val x: Int diff --git a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/emptyFinally.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/emptyFinally.kt.after index cf8b45180ebc..cfdbf50f9835 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/emptyFinally.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/emptyFinally.kt.after @@ -1,5 +1,5 @@ // "Lift assignment out of 'try' expression" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val x: Int diff --git a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/multipleExceptions.kt b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/multipleExceptions.kt index c34024f0dbd5..ba93d00ccf40 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/multipleExceptions.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/multipleExceptions.kt @@ -1,5 +1,5 @@ // "Lift assignment out of 'try' expression" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val x: Int diff --git a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/multipleExceptions.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/multipleExceptions.kt.after index 94f4f61b8ec4..c4cf1efddd42 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/multipleExceptions.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/multipleExceptions.kt.after @@ -1,5 +1,5 @@ // "Lift assignment out of 'try' expression" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val x: Int diff --git a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/shadow.kt b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/shadow.kt index 499c246f49d9..b2c0ce82425d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/shadow.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/shadow.kt @@ -2,7 +2,7 @@ // ACTION: Change to 'var' // ERROR: Val cannot be reassigned // ERROR: Val cannot be reassigned -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -XXLanguage:-NewInference fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/simple.kt index d14bc632595d..58431e779a17 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/simple.kt @@ -1,5 +1,5 @@ // "Lift assignment out of 'try' expression" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val x: Int diff --git a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/simple.kt.after index 3ea7f86cee69..9396e4f47387 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/simple.kt.after @@ -1,5 +1,5 @@ // "Lift assignment out of 'try' expression" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val x: Int diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt index 47b5b8fbc739..7c80a4ff3cba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt @@ -1,5 +1,5 @@ // "Implement abstract class" "true" -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_BE_AVAILABLE_AFTER_EXECUTION private abstract class Base { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt.after index 608b72782636..d304be158987 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt.after @@ -1,5 +1,5 @@ // "Implement abstract class" "true" -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_BE_AVAILABLE_AFTER_EXECUTION private abstract class Base { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt index e8810ca30794..88089ef6826c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt @@ -1,5 +1,5 @@ // "Implement members" "true" -// WITH_RUNTIME +// WITH_STDLIB interface I { fun foo() } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt.after index 6193e50d51f5..715df78bcc5f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt.after @@ -1,5 +1,5 @@ // "Implement members" "true" -// WITH_RUNTIME +// WITH_STDLIB interface I { fun foo() } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt index 74a7ddc47e66..12236021eb75 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt @@ -1,5 +1,5 @@ // "Implement members" "true" -// WITH_RUNTIME +// WITH_STDLIB interface I { fun foo() } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt.after index 6193e50d51f5..715df78bcc5f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt.after @@ -1,5 +1,5 @@ // "Implement members" "true" -// WITH_RUNTIME +// WITH_STDLIB interface I { fun foo() } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt index 958da0a5bb07..cff9de36ed09 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt @@ -1,5 +1,5 @@ // "Implement members" "true" -// WITH_RUNTIME +// WITH_STDLIB interface I { fun foo() } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt.after index e4b67fef99bb..4c658096e06f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt.after @@ -1,5 +1,5 @@ // "Implement members" "true" -// WITH_RUNTIME +// WITH_STDLIB interface I { fun foo() } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt index 898edb7541ac..57c39c081d11 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt @@ -1,5 +1,5 @@ // "Implement members" "true" -// WITH_RUNTIME +// WITH_STDLIB abstract class B { abstract val p: String? abstract fun test() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt.after index 51a08e1605d5..777f91e8f6ec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt.after @@ -1,5 +1,5 @@ // "Implement members" "true" -// WITH_RUNTIME +// WITH_STDLIB abstract class B { abstract val p: String? abstract fun test() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt index e1f401e28139..9db9ca881438 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt @@ -1,5 +1,5 @@ // "Implement members" "true" -// WITH_RUNTIME +// WITH_STDLIB abstract class B { abstract val p: String? abstract fun test() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt.after index 3fd37ff20e49..027d9312b87c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt.after @@ -1,5 +1,5 @@ // "Implement members" "true" -// WITH_RUNTIME +// WITH_STDLIB abstract class B { abstract val p: String? abstract fun test() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt index fa10a41588ce..a43423ba83d3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt @@ -1,5 +1,5 @@ // "Implement members" "true" -// WITH_RUNTIME +// WITH_STDLIB abstract class C { abstract val p: String? abstract val q: Int diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt.after index 360264816e8d..91422263db16 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt.after @@ -1,5 +1,5 @@ // "Implement members" "true" -// WITH_RUNTIME +// WITH_STDLIB abstract class C { abstract val p: String? abstract val q: Int diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt index 0c1e77047272..b64423d829c5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt @@ -1,5 +1,5 @@ // "Implement abstract class" "true" -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_BE_AVAILABLE_AFTER_EXECUTION class Container { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt.after index 74c7ab5af3fc..0d2aa433166e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt.after @@ -1,5 +1,5 @@ // "Implement abstract class" "true" -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_BE_AVAILABLE_AFTER_EXECUTION class Container { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt index f3ffa9399749..0ba89f4937ed 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt @@ -1,5 +1,5 @@ // "Implement interface" "true" -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_BE_AVAILABLE_AFTER_EXECUTION interface Base { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt.after index 35952ab527f7..66c2d49956e8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt.after @@ -1,5 +1,5 @@ // "Implement interface" "true" -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_BE_AVAILABLE_AFTER_EXECUTION interface Base { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt index ef7d9d4bff37..171c0a8e2cb3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt @@ -1,5 +1,5 @@ // "Implement members" "true" -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface A { fun foo() {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt.after index a8a3d4f353a8..c3bdb39fdcea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt.after @@ -1,5 +1,5 @@ // "Implement members" "true" -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS interface A { fun foo() {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt index b56f2f7ba978..4b38f1a4667d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt @@ -1,5 +1,5 @@ // "Implement interface" "true" -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_BE_AVAILABLE_AFTER_EXECUTION class Container { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt.after index 5c7c6bcef5da..b0067e04a788 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt.after @@ -1,5 +1,5 @@ // "Implement interface" "true" -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_BE_AVAILABLE_AFTER_EXECUTION class Container { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt index 94b4b495a2d8..8658840ccf81 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt @@ -1,6 +1,6 @@ // "Implement interface" "true" // SHOULD_BE_AVAILABLE_AFTER_EXECUTION -// WITH_RUNTIME +// WITH_STDLIB class Container { private interface Base { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt.after index 33fcb7e0df94..44e845e5494a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt.after @@ -1,6 +1,6 @@ // "Implement interface" "true" // SHOULD_BE_AVAILABLE_AFTER_EXECUTION -// WITH_RUNTIME +// WITH_STDLIB class Container { private interface Base { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt index 3d0e38a10ac7..4816c2805b90 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt @@ -1,5 +1,5 @@ // "Implement sealed class" "true" -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_BE_AVAILABLE_AFTER_EXECUTION sealed class Base { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt.after index 98b985363e4c..d8e570ef3a25 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt.after @@ -1,5 +1,5 @@ // "Implement sealed class" "true" -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_BE_AVAILABLE_AFTER_EXECUTION sealed class Base { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt index 7e5eef767391..fe15314b3f19 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt @@ -1,5 +1,5 @@ // "Implement sealed class" "true" -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_BE_AVAILABLE_AFTER_EXECUTION // COMPILER_ARGUMENTS: -XXLanguage:+SealedInterfaces diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt.after index d3632cea1b03..73f67e0ce059 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt.after @@ -1,5 +1,5 @@ // "Implement sealed class" "true" -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_BE_AVAILABLE_AFTER_EXECUTION // COMPILER_ARGUMENTS: -XXLanguage:+SealedInterfaces diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt index e133256f5267..e98137e056b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt @@ -1,5 +1,5 @@ // "Implement sealed class" "true" -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_BE_AVAILABLE_AFTER_EXECUTION sealed class Base { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt.after index 94defff98630..5811406b6260 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt.after @@ -1,5 +1,5 @@ // "Implement sealed class" "true" -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_BE_AVAILABLE_AFTER_EXECUTION sealed class Base { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt index e97f24cebea7..c5a58e51700a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt @@ -1,5 +1,5 @@ // "Implement sealed class" "true" -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_BE_AVAILABLE_AFTER_EXECUTION // COMPILER_ARGUMENTS: -XXLanguage:+SealedInterfaces diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt.after index d7d02baa8b8f..e9add3befeb2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt.after @@ -1,5 +1,5 @@ // "Implement sealed class" "true" -// WITH_RUNTIME +// WITH_STDLIB // SHOULD_BE_AVAILABLE_AFTER_EXECUTION // COMPILER_ARGUMENTS: -XXLanguage:+SealedInterfaces diff --git a/plugins/kotlin/idea/tests/testData/quickfix/importAlias/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/importAlias/simple.kt index e0a6512ce9ac..28883bf32309 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/importAlias/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/importAlias/simple.kt @@ -1,5 +1,5 @@ // "Introduce import alias" "true" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Introduce import alias fun foo() { listOf("a", "b", "c").forEach { } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/importAlias/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/importAlias/simple.kt.after index 903f460b5440..bbc56de0e7fd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/importAlias/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/importAlias/simple.kt.after @@ -1,7 +1,7 @@ import kotlin.collections.forEach as forEach1 // "Introduce import alias" "true" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Introduce import alias fun foo() { listOf("a", "b", "c").forEach1 { } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/importAlias/unresolvedReference.kt b/plugins/kotlin/idea/tests/testData/quickfix/importAlias/unresolvedReference.kt index 2100cad76f75..adb1f67ed90e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/importAlias/unresolvedReference.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/importAlias/unresolvedReference.kt @@ -1,5 +1,5 @@ // "Introduce import alias" "false" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Overload resolution ambiguity:
public inline fun Iterable.forEach(action: (TypeVariable(T)) -> Unit): Unit defined in kotlin.collections
public inline fun Map.forEach(action: (Map.Entry) -> Unit): Unit defined in kotlin.collections // ERROR: Unresolved reference: a diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/genericParameterInScope.kt b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/genericParameterInScope.kt index 46333e3ad72d..4041cbbf52ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/genericParameterInScope.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/genericParameterInScope.kt @@ -1,5 +1,5 @@ // "Initialize with constructor parameter" "true" -// WITH_RUNTIME +// WITH_STDLIB abstract class Form(val name: String){ var data: T? set(value){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/genericParameterInScope.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/genericParameterInScope.kt.after index cb529f32059e..d18fcc505fbb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/genericParameterInScope.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/genericParameterInScope.kt.after @@ -1,5 +1,5 @@ // "Initialize with constructor parameter" "true" -// WITH_RUNTIME +// WITH_STDLIB abstract class Form(val name: String, data: T?){ var data: T? = data set(value){ diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyWithDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyWithDelegateRuntime.kt index 53fc3fd8a7a3..f268df39d2ad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyWithDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyWithDelegateRuntime.kt @@ -2,7 +2,7 @@ // ACTION: Make internal // ACTION: Make private // ACTION: Make protected -// WITH_RUNTIME +// WITH_STDLIB class A { val n: Int by lazy { 0 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated.kt b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated.kt index 0a220d37ddd8..ae0f8ff8fdb2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated.kt @@ -1,4 +1,4 @@ // "Replace with '@JvmInline value'" "true" -// WITH_RUNTIME +// WITH_STDLIB inline class IC(val i: Int) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated.kt.after index aaf9daefc845..78953192ea09 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated.kt.after @@ -1,5 +1,5 @@ // "Replace with '@JvmInline value'" "true" -// WITH_RUNTIME +// WITH_STDLIB @JvmInline value class IC(val i: Int) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/publicInlineClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/publicInlineClass.kt index 81b46ed86c88..6e106ed6a5ec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/publicInlineClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/publicInlineClass.kt @@ -1,4 +1,4 @@ // "Replace with '@JvmInline value'" "true" -// WITH_RUNTIME +// WITH_STDLIB public inline class IC(val i: Int) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/publicInlineClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/publicInlineClass.kt.after index d232dd0dfeb4..64b0677ad462 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/publicInlineClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/publicInlineClass.kt.after @@ -1,5 +1,5 @@ // "Replace with '@JvmInline value'" "true" -// WITH_RUNTIME +// WITH_STDLIB @JvmInline public value class IC(val i: Int) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/hasType.kt b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/hasType.kt index cccce69c927e..50621dd59ad3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/hasType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/hasType.kt @@ -1,5 +1,5 @@ // "Replace with '::class.java'" "true" -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS fun main() { val c: Class = Int.javaClass diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/hasType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/hasType.kt.after index 855cc1db8c26..94b35d119ffd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/hasType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/hasType.kt.after @@ -1,5 +1,5 @@ // "Replace with '::class.java'" "true" -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS fun main() { val c: Class = Int::class.java diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/simple.kt index fbccacc944c5..54de85f043ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/simple.kt @@ -1,5 +1,5 @@ // "Replace with '::class.java'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val c = Int.javaClass } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/simple.kt.after index 86e0742ed4a2..366a02433caa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/simple.kt.after @@ -1,5 +1,5 @@ // "Replace with '::class.java'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val c = Int::class.java } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/withName.kt b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/withName.kt index 537d9bb9c48f..83ec45934f91 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/withName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/withName.kt @@ -1,5 +1,5 @@ // "Replace with '::class.java'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val name = Int.javaClass.name } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/withName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/withName.kt.after index ab8e6ff7dee1..fdddf686f5e9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/withName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/withName.kt.after @@ -1,5 +1,5 @@ // "Replace with '::class.java'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val name = Int::class.java.name } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/hasType.kt b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/hasType.kt index 7fb2d7cb0fb3..3434dba1f18a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/hasType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/hasType.kt @@ -1,5 +1,5 @@ // "Replace with 'Companion::class.java'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val c: Class = Int.javaClass } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/hasType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/hasType.kt.after index 6cf642ab1d97..25bc17514613 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/hasType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/hasType.kt.after @@ -1,5 +1,5 @@ // "Replace with 'Companion::class.java'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val c: Class = Int.Companion::class.java } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/namedCompanion.kt b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/namedCompanion.kt index 18d74271562f..95672ce4c58d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/namedCompanion.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/namedCompanion.kt @@ -1,5 +1,5 @@ // "Replace with 'Bar::class.java'" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo { companion object Bar } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/namedCompanion.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/namedCompanion.kt.after index e56712b2d52a..7cf203bab277 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/namedCompanion.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/namedCompanion.kt.after @@ -1,5 +1,5 @@ // "Replace with 'Bar::class.java'" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo { companion object Bar } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/simple.kt index 3131303bcaf4..d81c7780843c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/simple.kt @@ -1,5 +1,5 @@ // "Replace with 'Companion::class.java'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val c = Int.javaClass } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/simple.kt.after index 754e3c3f78a0..65b48af85a3b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/simple.kt.after @@ -1,5 +1,5 @@ // "Replace with 'Companion::class.java'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val c = Int.Companion::class.java } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/withName.kt b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/withName.kt index 00a0ad856770..9fae9bc4fa20 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/withName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/withName.kt @@ -1,5 +1,5 @@ // "Replace with 'Companion::class.java'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val name = Int.javaClass.name } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/withName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/withName.kt.after index 7d15eb17bf4b..ae06e25e19e2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/withName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/withName.kt.after @@ -1,5 +1,5 @@ // "Replace with 'Companion::class.java'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val name = Int.Companion::class.java.name } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/libraries/junit.kt b/plugins/kotlin/idea/tests/testData/quickfix/libraries/junit.kt index f759362c5aff..fdf0d7e73b1b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/libraries/junit.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/libraries/junit.kt @@ -1,7 +1,7 @@ // "Add 'JUnit4' to classpath" "true" // ERROR: Unresolved reference: Before // ERROR: Unresolved reference: junit -// WITH_RUNTIME +// WITH_STDLIB // Do not apply quickfix as platform can't handle open maven download dialog in unit test mode // APPLY_QUICKFIX: false diff --git a/plugins/kotlin/idea/tests/testData/quickfix/libraries/junit.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/libraries/junit.kt.after index 07efd0553577..9739918c4fbb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/libraries/junit.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/libraries/junit.kt.after @@ -1,7 +1,7 @@ // "Add 'JUnit4' to classpath" "true" // ERROR: Unresolved reference: Before // ERROR: Unresolved reference: junit -// WITH_RUNTIME +// WITH_STDLIB // Do not apply quickfix as platform can't handle open maven download dialog in unit test mode // APPLY_QUICKFIX: false diff --git a/plugins/kotlin/idea/tests/testData/quickfix/libraries/testNG.kt b/plugins/kotlin/idea/tests/testData/quickfix/libraries/testNG.kt index 9147b4186cff..98f2aa13d6d3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/libraries/testNG.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/libraries/testNG.kt @@ -1,6 +1,6 @@ // "Add 'testng' to classpath" "true" // ERROR: Unresolved reference: BeforeMethod -// WITH_RUNTIME +// WITH_STDLIB // Do not apply quickfix as platform can't handle open maven download dialog in unit test mode // APPLY_QUICKFIX: false diff --git a/plugins/kotlin/idea/tests/testData/quickfix/libraries/testNG.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/libraries/testNG.kt.after index 0ca0d92350dc..12323f2d7e1f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/libraries/testNG.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/libraries/testNG.kt.after @@ -1,6 +1,6 @@ // "Add 'testng' to classpath" "true" // ERROR: Unresolved reference: BeforeMethod -// WITH_RUNTIME +// WITH_STDLIB // Do not apply quickfix as platform can't handle open maven download dialog in unit test mode // APPLY_QUICKFIX: false diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/removeImports.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/removeImports.after.kt index 3465328a649b..4f56d0d921b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/removeImports.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/removeImports.after.kt @@ -3,4 +3,4 @@ package utils import java.io.File -// WITH_RUNTIME \ No newline at end of file +// WITH_STDLIB \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/removeImports.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/removeImports.before.Main.kt index 91a5430aba43..f89fccc50c7a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/removeImports.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/removeImports.before.Main.kt @@ -6,4 +6,4 @@ import java.io.File val File.name: String get() = getName() -// WITH_RUNTIME \ No newline at end of file +// WITH_STDLIB \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/removeImportsOverloads.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/removeImportsOverloads.after.kt index ae4de13e553e..0b69437e1027 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/removeImportsOverloads.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/removeImportsOverloads.after.kt @@ -6,4 +6,4 @@ import java.io.File val Thread.name: String get() = getName() -// WITH_RUNTIME \ No newline at end of file +// WITH_STDLIB \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/removeImportsOverloads.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/removeImportsOverloads.before.Main.kt index a309f46c08b1..121a7831c72c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/removeImportsOverloads.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/removeImportsOverloads.before.Main.kt @@ -9,4 +9,4 @@ val File.name: String val Thread.name: String get() = getName() -// WITH_RUNTIME \ No newline at end of file +// WITH_STDLIB \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/basicMultiple.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/basicMultiple.after.kt index 23be77ae202c..b185bb7cf91a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/basicMultiple.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/basicMultiple.after.kt @@ -1,5 +1,5 @@ // "Replace invalid positioned arguments for annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Only named arguments are available for Java annotations // ERROR: Only named arguments are available for Java annotations diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/basicMultiple.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/basicMultiple.before.Main.kt index 350f7356e9fb..394cd7931567 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/basicMultiple.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/basicMultiple.before.Main.kt @@ -1,5 +1,5 @@ // "Replace invalid positioned arguments for annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Only named arguments are available for Java annotations // ERROR: Only named arguments are available for Java annotations diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/noValueForArgumentMultiple.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/noValueForArgumentMultiple.after.kt index 4538d1a434d5..ec66b85a13d3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/noValueForArgumentMultiple.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/noValueForArgumentMultiple.after.kt @@ -1,5 +1,5 @@ // "Replace invalid positioned arguments for annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Only named arguments are available for Java annotations // ERROR: No value passed for parameter 'arg2' diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/noValueForArgumentMultiple.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/noValueForArgumentMultiple.before.Main.kt index 05a24102045a..0ff96cbc9d59 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/noValueForArgumentMultiple.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/noValueForArgumentMultiple.before.Main.kt @@ -1,5 +1,5 @@ // "Replace invalid positioned arguments for annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Only named arguments are available for Java annotations // ERROR: No value passed for parameter 'arg2' diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/wrongTypeMultiple.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/wrongTypeMultiple.after.kt index e783be560b87..740b691aa409 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/wrongTypeMultiple.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/wrongTypeMultiple.after.kt @@ -1,5 +1,5 @@ // "Replace invalid positioned arguments for annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Only named arguments are available for Java annotations // ERROR: The integer literal does not conform to the expected type String diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/wrongTypeMultiple.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/wrongTypeMultiple.before.Main.kt index 0934be03e795..2b8500dec930 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/wrongTypeMultiple.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/javaAnnotationPositionedArguments/wrongTypeMultiple.before.Main.kt @@ -1,5 +1,5 @@ // "Replace invalid positioned arguments for annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Only named arguments are available for Java annotations // ERROR: The integer literal does not conform to the expected type String diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/noLateinitOnPrimitive.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/noLateinitOnPrimitive.kt index 1d2dc67a86b3..54a98eb37d7a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/noLateinitOnPrimitive.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/noLateinitOnPrimitive.kt @@ -1,5 +1,5 @@ // "Add 'lateinit' modifier" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add initializer // ACTION: Add full qualifier // ACTION: Introduce import alias diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/createCoroutine.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/createCoroutine.kt index 3811c4d1044c..2e87598fcf5d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/createCoroutine.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/createCoroutine.kt @@ -1,5 +1,5 @@ // "Make block type suspend" "true" -// WITH_RUNTIME +// WITH_STDLIB import kotlin.coroutines.suspendCoroutine import kotlin.coroutines.createCoroutine diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/createCoroutine.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/createCoroutine.kt.after index 1f7d33114c73..baeb358a863b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/createCoroutine.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/createCoroutine.kt.after @@ -1,5 +1,5 @@ // "Make block type suspend" "true" -// WITH_RUNTIME +// WITH_STDLIB import kotlin.coroutines.suspendCoroutine import kotlin.coroutines.createCoroutine diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutine.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutine.kt index 00e0187ba256..4fe4a9265ef1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutine.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutine.kt @@ -1,5 +1,5 @@ // "Make block type suspend" "true" -// WITH_RUNTIME +// WITH_STDLIB import kotlin.coroutines.suspendCoroutine import kotlin.coroutines.startCoroutine diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutine.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutine.kt.after index 2581e9f9b4d9..4c4ac17132d9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutine.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutine.kt.after @@ -1,5 +1,5 @@ // "Make block type suspend" "true" -// WITH_RUNTIME +// WITH_STDLIB import kotlin.coroutines.suspendCoroutine import kotlin.coroutines.startCoroutine diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutineNoImport.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutineNoImport.kt index c14fef70ac71..4898c3f8c02b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutineNoImport.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutineNoImport.kt @@ -1,5 +1,5 @@ // "Make block type suspend" "true" -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS import kotlin.coroutines.experimental.suspendCoroutine diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutineNoImport.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutineNoImport.kt.after index c5483dde2cf2..e2eefa7f3dd1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutineNoImport.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutineNoImport.kt.after @@ -1,5 +1,5 @@ // "Make block type suspend" "true" -// WITH_RUNTIME +// WITH_STDLIB // DISABLE-ERRORS import kotlin.coroutines.experimental.suspendCoroutine diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyWithDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyWithDelegateRuntime.kt index 6c74f2f62b41..31f74e3142d1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyWithDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyWithDelegateRuntime.kt @@ -2,7 +2,7 @@ // ACTION: Make internal // ACTION: Make private // ACTION: Make protected -// WITH_RUNTIME +// WITH_STDLIB class A { val n: Int by lazy { 0 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nonPublicCallFromPublicInline/reifiedTypeParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/nonPublicCallFromPublicInline/reifiedTypeParameter.kt index 0040672af107..270bd21ac55b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nonPublicCallFromPublicInline/reifiedTypeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/nonPublicCallFromPublicInline/reifiedTypeParameter.kt @@ -4,7 +4,7 @@ // ACTION: Expand boolean expression to 'if else' // ACTION: Remove braces from all 'if' statements // ERROR: Public-API inline function cannot access non-public-API 'private final val foo: Boolean defined in C' -// WITH_RUNTIME +// WITH_STDLIB class C { private val foo = true diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/destructuringAtTop.kt b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/destructuringAtTop.kt index 55f867593eb0..71aaade903eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/destructuringAtTop.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/destructuringAtTop.kt @@ -1,5 +1,5 @@ // "Optimize imports" "true" -// WITH_RUNTIME +// WITH_STDLIB import kotlin.collections.* diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/destructuringAtTop.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/destructuringAtTop.kt.after index 7b10b64c1f5b..14805bf2f0dc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/destructuringAtTop.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/destructuringAtTop.kt.after @@ -1,5 +1,5 @@ // "Optimize imports" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { val (a, b, c) = Triple(1, 2, 3) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/fileRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/fileRuntime.kt index 026dd0193a99..689fd289bb0b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/fileRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/fileRuntime.kt @@ -1,5 +1,5 @@ // "Optimize imports" "true" -// WITH_RUNTIME +// WITH_STDLIB import java.io.* import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/fileRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/fileRuntime.kt.after index c85e79c3079b..3c63d5fd8d2c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/fileRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/fileRuntime.kt.after @@ -1,5 +1,5 @@ // "Optimize imports" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: ArrayList) { list.add("") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke.kt b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke.kt index 786590f5c81a..db55fe4dd3fd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke.kt @@ -1,5 +1,5 @@ // "Optimize imports" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Introduce import alias package ppp diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke2.kt b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke2.kt index de4537dc8599..cdd579a0b8a5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke2.kt @@ -1,5 +1,5 @@ // "Optimize imports" "true" -// WITH_RUNTIME +// WITH_STDLIB package ppp import ppp.invoke diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke2.kt.after index 7f83ce424adc..75b563fa80ef 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke2.kt.after @@ -1,5 +1,5 @@ // "Optimize imports" "true" -// WITH_RUNTIME +// WITH_STDLIB package ppp object Bar diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/implementMember.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/implementMember.kt index e38b4d910c65..fdd24d3bc0ab 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/implementMember.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/implementMember.kt @@ -1,5 +1,5 @@ // "Implement members" "true" -// WITH_RUNTIME +// WITH_STDLIB interface I { fun foo() } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/implementMember.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/implementMember.kt.after index ba820ab1e7bf..1a5556e84f51 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/implementMember.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/implementMember.kt.after @@ -1,5 +1,5 @@ // "Implement members" "true" -// WITH_RUNTIME +// WITH_STDLIB interface I { fun foo() } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/implementMemberFromAbstractClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/implementMemberFromAbstractClass.kt index 2d1812e11805..2c0348686552 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/implementMemberFromAbstractClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/implementMemberFromAbstractClass.kt @@ -1,5 +1,5 @@ // "Implement members" "true" -// WITH_RUNTIME +// WITH_STDLIB abstract class A { abstract fun foo() } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/implementMemberFromAbstractClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/implementMemberFromAbstractClass.kt.after index f3b79b8082e0..2e950c982005 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/implementMemberFromAbstractClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/implementMemberFromAbstractClass.kt.after @@ -1,5 +1,5 @@ // "Implement members" "true" -// WITH_RUNTIME +// WITH_STDLIB abstract class A { abstract fun foo() } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNonUnitReturnType.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNonUnitReturnType.kt index eef27d7ba5b6..4b3a73a513d5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNonUnitReturnType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNonUnitReturnType.kt @@ -1,5 +1,5 @@ // "Add 'open fun f(): Int' to 'A'" "true" -// WITH_RUNTIME +// WITH_STDLIB open class A { } class B : A() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNonUnitReturnType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNonUnitReturnType.kt.after index 175d56e311e0..7658b8870c35 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNonUnitReturnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNonUnitReturnType.kt.after @@ -1,5 +1,5 @@ // "Add 'open fun f(): Int' to 'A'" "true" -// WITH_RUNTIME +// WITH_STDLIB open class A { open fun f(): Int { TODO("Not yet implemented") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/cantChangeMultipleOverriddenPropertiesTypes.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/cantChangeMultipleOverriddenPropertiesTypes.kt index f9f1e593e659..510077fdc945 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/cantChangeMultipleOverriddenPropertiesTypes.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/cantChangeMultipleOverriddenPropertiesTypes.kt @@ -1,5 +1,5 @@ // "Change type of overriden property 'A.x' to '(Int) -> Int'" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add full qualifier // ACTION: Change type to '(String) -> Int' // ACTION: Go To Super Property diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnMultipleOverrideAmbiguity.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnMultipleOverrideAmbiguity.kt index bf19705d87c7..1459a5e6597e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnMultipleOverrideAmbiguity.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnMultipleOverrideAmbiguity.kt @@ -1,6 +1,6 @@ // "Change 'B.foo' function return type to 'Int'" "false" // "Change 'B.foo' function return type to 'Long'" "false" -// WITH_RUNTIME +// WITH_STDLIB // "Remove explicitly specified return type" "false" // ACTION: Add full qualifier // ACTION: Go To Super Method diff --git a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseVar.kt b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseVar.kt index c0682b82b71c..3ad9b076cb5e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseVar.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseVar.kt @@ -1,3 +1,3 @@ // "Convert extension property initializer to getter" "true" -// WITH_RUNTIME +// WITH_STDLIB var String.foo: Int = 0 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseVar.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseVar.kt.after index d870d3f4bd03..ea7830cdf620 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseVar.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseVar.kt.after @@ -1,5 +1,5 @@ // "Convert extension property initializer to getter" "true" -// WITH_RUNTIME +// WITH_STDLIB var String.foo: Int get() = 0 set(value) = TODO() \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/labeledReturn.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/labeledReturn.kt index b917b1143c65..cf2048ec4c50 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/labeledReturn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/labeledReturn.kt @@ -1,5 +1,5 @@ // "Remove redundant 'if' statement" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).find { if (it > 0) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/labeledReturn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/labeledReturn.kt.after index 8b22ede58939..d869f15f5dbf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/labeledReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/labeledReturn.kt.after @@ -1,5 +1,5 @@ // "Remove redundant 'if' statement" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1,2,3).find { return@find it > 0 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmField.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmField.kt index 30f3228917e0..1e2c886a35ec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmField.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmField.kt @@ -1,5 +1,5 @@ // "Remove @JvmField annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo { @JvmField private val bar = 0 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmField.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmField.kt.after index c7c128212044..ca2f4e28f920 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmField.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmField.kt.after @@ -1,5 +1,5 @@ // "Remove @JvmField annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo { private val bar = 0 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmFieldOnOverridingProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmFieldOnOverridingProperty.kt index 107749be0511..a1194e29fa81 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmFieldOnOverridingProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmFieldOnOverridingProperty.kt @@ -1,5 +1,5 @@ // "Remove @JvmField annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB interface I { val x: Int } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmFieldOnOverridingProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmFieldOnOverridingProperty.kt.after index 75483e8e7e15..1bb9a113cfbc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmFieldOnOverridingProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmFieldOnOverridingProperty.kt.after @@ -1,5 +1,5 @@ // "Remove @JvmField annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB interface I { val x: Int } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloads.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloads.kt index 7c81fbe8acab..78a64ec8651c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloads.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloads.kt @@ -1,5 +1,5 @@ // "Remove @JvmOverloads annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB interface T { @kotlin.jvm.JvmOverloads fun foo(s: String = "OK") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloads.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloads.kt.after index 2a9a681db913..e7dbea93af3f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloads.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloads.kt.after @@ -1,5 +1,5 @@ // "Remove @JvmOverloads annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB interface T { fun foo(s: String = "OK") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloadsOnAnnotationClassConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloadsOnAnnotationClassConstructor.kt index 0e27b2c0a770..1a2fe9612739 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloadsOnAnnotationClassConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloadsOnAnnotationClassConstructor.kt @@ -1,4 +1,4 @@ // "Remove @JvmOverloads annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB annotation class A @JvmOverloads constructor(val x: Int = 1) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloadsOnAnnotationClassConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloadsOnAnnotationClassConstructor.kt.after index 2633cdcf8b5f..f563aa2aa246 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloadsOnAnnotationClassConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloadsOnAnnotationClassConstructor.kt.after @@ -1,4 +1,4 @@ // "Remove @JvmOverloads annotation" "true" -// WITH_RUNTIME +// WITH_STDLIB annotation class A constructor(val x: Int = 1) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/simple.kt index 3999c53c15b7..b2dad67c3024 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/simple.kt @@ -1,5 +1,5 @@ // "Remove redundant initializer" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var bar = 1 bar = 42 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/simple.kt.after index 0b4f7b667aa9..c09d481f50e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/simple.kt.after @@ -1,5 +1,5 @@ // "Remove redundant initializer" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var bar: Int bar = 42 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/simple.kt index 51bf0613e192..5760016c788c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/simple.kt @@ -1,5 +1,5 @@ // "Remove single lambda parameter declaration" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1).forEach { x -> println() } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/simple.kt.after index c96c5607adf7..b3326d492359 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/simple.kt.after @@ -1,5 +1,5 @@ // "Remove single lambda parameter declaration" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { listOf(1).forEach { println() } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/in.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/in.kt index 60f326b0eab5..420af1a667d9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/in.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/in.kt @@ -1,5 +1,5 @@ // "Remove 'in' variance from 'T'" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { fun foo(t: T) {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/in.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/in.kt.after index b0b815fc1788..8fc71b953d4b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/in.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/in.kt.after @@ -1,5 +1,5 @@ // "Remove 'in' variance from 'T'" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { fun foo(t: T) {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/out.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/out.kt index f62f3ec92b1c..4a045e3c4a38 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/out.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/out.kt @@ -1,5 +1,5 @@ // "Remove 'out' variance from 'T'" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { fun foo(t: T) {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/out.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/out.kt.after index d329d1ce2584..05989dcbc5b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/out.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/out.kt.after @@ -1,5 +1,5 @@ // "Remove 'out' variance from 'T'" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { fun foo(t: T) {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/array.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/array.kt index 0025d4e9dcda..9a1647f5504c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/array.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/array.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(array: Array?) { array[0] diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/array.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/array.kt.after index 396d3c951815..043f617aadb9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/array.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/array.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(array: Array?) { array?.get(0) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/arraySet.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/arraySet.kt index 7392346d0cdb..9b4ce4382809 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/arraySet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/arraySet.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(array: Array?) { array[0] = "" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/arraySet.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/arraySet.kt.after index 2e26bfb9b468..237f4127d5b3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/arraySet.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/arraySet.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(array: Array?) { array?.set(0, "") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentArray.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentArray.kt index 45596a8c84ce..8b7835fdab41 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentArray.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentArray.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(array: Array?) { var s = "" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentArray.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentArray.kt.after index b6e99efceed0..089421ec8af2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentArray.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(array: Array?) { var s = "" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentBinaryOperator.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentBinaryOperator.kt index e50130ca1605..f66b74e83a8d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentBinaryOperator.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentBinaryOperator.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Int?) { var i: Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentBinaryOperator.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentBinaryOperator.kt.after index c20ab0cdd5dd..7a9677f72fa3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentBinaryOperator.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentBinaryOperator.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Int?) { var i: Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentCallExpression.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentCallExpression.kt index 8f9864a079a8..6de507ce5df8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentCallExpression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentCallExpression.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun bar() { val fff: (() -> Int)? = { 1 } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentCallExpression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentCallExpression.kt.after index 233525ac994f..2edd2a220ccf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentCallExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentCallExpression.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun bar() { val fff: (() -> Int)? = { 1 } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentList.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentList.kt index a09c7865d4d5..f836945c17a6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentList.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List?) { var s = "" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentList.kt.after index e140aa8677bb..f25e5b1692eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentList.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List?) { var s = "" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/binaryOperator.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/binaryOperator.kt index 908b407ad119..4fa947e68025 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/binaryOperator.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/binaryOperator.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Int?) { bar + 1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/binaryOperator.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/binaryOperator.kt.after index 9863dbfce164..ff6b36ab8f93 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/binaryOperator.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/binaryOperator.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(bar: Int?) { bar?.plus(1) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpression.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpression.kt index 3b062c34e487..ca03ac1e9168 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpression.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpression.kt.after index 918037f70b13..a129f373b547 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpression.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified.kt index a231fa1af385..8d453d641e8b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo(val bar: Bar) class Bar { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified.kt.after index dbb874cbd5d9..c71db65f4dee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo(val bar: Bar) class Bar { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified2.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified2.kt index 5b4ad8cd1700..d4c596f66659 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified2.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo(val bar: Bar) class Bar { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified2.kt.after index 6e3d2e91e1e2..4b35609ab0be 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified2.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo(val bar: Bar) class Bar { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/hasElvis.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/hasElvis.kt index dbf659385c40..ed80e5804bbb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/hasElvis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/hasElvis.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List?) { var s = "" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/hasElvis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/hasElvis.kt.after index a22be396f5db..63a10eff7d7e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/hasElvis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/hasElvis.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List?) { var s = "" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/list.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/list.kt index 6d9f7595d07d..b05b880aa0d8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/list.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/list.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List?) { list[0] diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/list.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/list.kt.after index e89f33e5cd4f..47f19571e43b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/list.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/list.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List?) { list?.get(0) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/class.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/class.kt index 2245d0727bca..7da857e548d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/class.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/class.kt @@ -1,5 +1,5 @@ // "Replace '@JvmField' with 'const'" "false" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: JvmField has no effect on a private property // ACTION: Convert to lazy property // ACTION: Make internal diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/companionInInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/companionInInterface.kt index 036f547e52f5..b15dd7238df6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/companionInInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/companionInInterface.kt @@ -1,5 +1,5 @@ // "Replace '@JvmField' with 'const'" "true" -// WITH_RUNTIME +// WITH_STDLIB // LANGUAGE_VERSION: 1.2 interface IFace { companion object { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/companionInInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/companionInInterface.kt.after index 8dafd3c4ecac..e4ba3ef4c49d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/companionInInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/companionInInterface.kt.after @@ -1,5 +1,5 @@ // "Replace '@JvmField' with 'const'" "true" -// WITH_RUNTIME +// WITH_STDLIB // LANGUAGE_VERSION: 1.2 interface IFace { companion object { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/getter.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/getter.kt index 9989833e07cc..7d3709e9a860 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/getter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/getter.kt @@ -1,5 +1,5 @@ // "Replace '@JvmField' with 'const'" "false" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: This annotation is not applicable to target 'top level property without backing field or delegate' // ACTION: Make internal // ACTION: Remove explicit type specification diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/nonConstantInitializer.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/nonConstantInitializer.kt index d33db7ae9040..e57af62e0e8e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/nonConstantInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/nonConstantInitializer.kt @@ -1,5 +1,5 @@ // "Replace '@JvmField' with 'const'" "false" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: JvmField has no effect on a private property // ACTION: Convert to lazy property // ACTION: Make internal diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/nullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/nullable.kt index 5989ff52db45..d6276dcde60f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/nullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/nullable.kt @@ -1,5 +1,5 @@ // "Replace '@JvmField' with 'const'" "false" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: JvmField has no effect on a private property // ACTION: Convert to lazy property // ACTION: Make internal diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/object.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/object.kt index ae579ad4f235..30e080ccdc0e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/object.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/object.kt @@ -1,5 +1,5 @@ // "Replace '@JvmField' with 'const'" "true" -// WITH_RUNTIME +// WITH_STDLIB object Foo { @JvmField private val a = "Lorem ipsum" } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/object.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/object.kt.after index 7d0504b94428..51e8a72fd3b1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/object.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/object.kt.after @@ -1,5 +1,5 @@ // "Replace '@JvmField' with 'const'" "true" -// WITH_RUNTIME +// WITH_STDLIB object Foo { private const val a = "Lorem ipsum" } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithConstants.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithConstants.kt index bd4cab6a7a0f..257ebb7ad887 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithConstants.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithConstants.kt @@ -1,4 +1,4 @@ // "Replace '@JvmField' with 'const'" "true" -// WITH_RUNTIME +// WITH_STDLIB const val three = 3 @JvmField private val text = "${2 + three}" \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithConstants.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithConstants.kt.after index 97ad333c66e5..1543af5b4447 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithConstants.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithConstants.kt.after @@ -1,4 +1,4 @@ // "Replace '@JvmField' with 'const'" "true" -// WITH_RUNTIME +// WITH_STDLIB const val three = 3 private const val text = "${2 + three}" \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithVal.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithVal.kt index 877f34b1a577..566f76c25ec6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithVal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithVal.kt @@ -1,5 +1,5 @@ // "Replace '@JvmField' with 'const'" "false" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: JvmField has no effect on a private property // ACTION: Convert to lazy property // ACTION: Add 'const' modifier diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/toplevel.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/toplevel.kt index f81ac0337ec0..6f1760849ed4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/toplevel.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/toplevel.kt @@ -1,3 +1,3 @@ // "Replace '@JvmField' with 'const'" "true" -// WITH_RUNTIME +// WITH_STDLIB @JvmField private val number: Int = 42 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/toplevel.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/toplevel.kt.after index e50f32cad93e..2488889c8dfa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/toplevel.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/toplevel.kt.after @@ -1,3 +1,3 @@ // "Replace '@JvmField' with 'const'" "true" -// WITH_RUNTIME +// WITH_STDLIB private const val number: Int = 42 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/comment.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/comment.kt index e3b6591de3fe..851de01e1455 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/comment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/comment.kt @@ -1,5 +1,5 @@ // "Replace with dot call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { val b = a // comment1 // comment2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/comment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/comment.kt.after index b43a1d7c0560..c1ecc6029c79 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/comment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/comment.kt.after @@ -1,5 +1,5 @@ // "Replace with dot call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { val b = a // comment1 // comment2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/functionCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/functionCall.kt index 9a1069b8cc7c..9f24c1a724e2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/functionCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/functionCall.kt @@ -1,5 +1,5 @@ // "Replace with dot call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { a?.toLowerCase() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/functionCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/functionCall.kt.after index c8fa98741407..342dda80a500 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/functionCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/functionCall.kt.after @@ -1,5 +1,5 @@ // "Replace with dot call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { a.toLowerCase() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/lineBreak.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/lineBreak.kt index 8493d3e9b56b..111ce7e8e8c2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/lineBreak.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/lineBreak.kt @@ -1,5 +1,5 @@ // "Replace with dot call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { val b = a ?.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/lineBreak.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/lineBreak.kt.after index 299bc76ba191..a2790901921b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/lineBreak.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/lineBreak.kt.after @@ -1,5 +1,5 @@ // "Replace with dot call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { val b = a .length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/normal.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/normal.kt index f807755ce937..b2b7714bdacf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/normal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/normal.kt @@ -1,5 +1,5 @@ // "Replace with dot call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { a?.length } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/normal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/normal.kt.after index f79947610a92..0802acd33cbd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/normal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/normal.kt.after @@ -1,5 +1,5 @@ // "Replace with dot call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { a.length } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/apply.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/apply.kt index a541e684f8cc..996769927907 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/apply.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/apply.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.apply { this.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/apply.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/apply.kt.after index 553377f22572..379979ee4cdf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/apply.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/apply.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.apply { this?.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameter.kt index 1c278c5f9441..572a240cd182 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameter.kt @@ -1,5 +1,5 @@ // "Replace with safe (this?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.apply { length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameter.kt.after index 2dc2952a0adb..3633917fa879 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameter.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (this?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.apply { this?.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameterFunctionCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameterFunctionCall.kt index 9b8aba9f9e1a..dc97100e352a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameterFunctionCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameterFunctionCall.kt @@ -1,5 +1,5 @@ // "Replace with safe (this?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.apply { toLowerCase() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameterFunctionCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameterFunctionCall.kt.after index bbda28a0a3cf..9e941ca6db66 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameterFunctionCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameterFunctionCall.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (this?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.apply { this?.toLowerCase() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignment.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignment.kt index 997a78529513..d405602370ec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignment.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB var i = 0 fun foo(s: String?) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignment.kt.after index 6ed1576a090b..d7879ec6f628 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignment.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB var i = 0 fun foo(s: String?) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentFromImplicitParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentFromImplicitParameter.kt index f2042d6602b3..0886046c0360 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentFromImplicitParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentFromImplicitParameter.kt @@ -1,5 +1,5 @@ // "Replace with safe (this?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB var i = 0 fun foo(a: String?) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentFromImplicitParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentFromImplicitParameter.kt.after index 65e2d2398158..eb8c3985af2f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentFromImplicitParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentFromImplicitParameter.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (this?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB var i = 0 fun foo(a: String?) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToNullable.kt index 662276c08d83..a5dd92e21883 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToNullable.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB var i: Int? = 0 fun foo(s: String?) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToNullable.kt.after index 93bb70dcf058..e645f29d256f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToNullable.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB var i: Int? = 0 fun foo(s: String?) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToProperty.kt index 7c0269dd04e0..9e554987dbd1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToProperty.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB class T(s: String?) { var i: Int = s.length } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToProperty.kt.after index dd5bf5c4372d..173fb4acd45f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToProperty.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB class T(s: String?) { var i: Int = s?.length ?: } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.kt index 0a36bcb2c0e0..6ccc84793b07 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { val b = a // comment1 // comment2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.kt.after index 0e7e8983b0ec..3a20b92e8802 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { val b = a // comment1 // comment2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/expression.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/expression.kt index 13a323a98825..69af1fb72416 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/expression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/expression.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String?) { 1 + s.length } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/expression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/expression.kt.after index a2af56cf8c83..f87445d44284 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/expression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/expression.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String?) { 1 + (s?.length ?: ) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/extFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/extFunction.kt index 61e65674de0e..8b3309757de8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/extFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/extFunction.kt @@ -1,5 +1,5 @@ // "Replace with safe (this?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun String?.foo() { toLowerCase() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/extFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/extFunction.kt.after index 7d18b9a606f7..1c6f40834e2c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/extFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/extFunction.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (this?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun String?.foo() { this?.toLowerCase() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionCall.kt index e3143b81dcc3..40a2a3c55bf7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionCall.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.toLowerCase() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionCall.kt.after index be4477ffd6ef..ce79da17fea4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionCall.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a?.toLowerCase() } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis.kt index 4954207bfc5b..22a9458010e2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { var a = foo().length ?: 0 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis.kt.after index 7584c83c274e..19edbf0866d6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { var a = foo()?.length ?: 0 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis2.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis2.kt index 8057a617bc21..33c30e742233 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis2.kt @@ -1,5 +1,5 @@ // "Replace with safe (this?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB var i = 0 fun foo(a: String?) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis2.kt.after index 3a4fd8ed84ad..99a70b47297a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis2.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (this?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB var i = 0 fun foo(a: String?) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator.kt index 619b9d95a605..c1a98cd428ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB val functions: Map Any> = TODO() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator.kt.after index 1dca1c890388..1725e63a6909 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB val functions: Map Any> = TODO() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator2.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator2.kt index 12d59cbd6ee7..4b218c15dfba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator2.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo(val bar: Bar) class Bar { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator2.kt.after index dbb874cbd5d9..c71db65f4dee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator2.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo(val bar: Bar) class Bar { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/let.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/let.kt index e99a3bb8e348..ec06d455f296 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/let.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/let.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.let { it.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/let.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/let.kt.after index 61292ecada67..feb08b1bd3e2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/let.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/let.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.let { it?.length ?: diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/letWithParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/letWithParameter.kt index 82bcc2f89a72..ea30dc0cd79d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/letWithParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/letWithParameter.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.let { b -> b.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/letWithParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/letWithParameter.kt.after index 7a67cb739e27..2c4b91b07801 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/letWithParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/letWithParameter.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.let { b -> b?.length ?: diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.kt index 032bb6f1f4da..9ffed63884e8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { val b = a .length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.kt.after index 7fa6f6f649bb..732198cab033 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { val b = a ?.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/normal.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/normal.kt index 0876a73d81c3..b12b00cd50cf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/normal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/normal.kt @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.length } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/normal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/normal.kt.after index e718a236be47..47cdc0ab2dd1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/normal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/normal.kt.after @@ -1,5 +1,5 @@ // "Replace with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a?.length } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/also.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/also.kt index dd96734f15bc..ead5b520dc59 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/also.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/also.kt @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.also { it.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/also.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/also.kt.after index 665ffaba0f8e..82c815a9c8ad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/also.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/also.kt.after @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a?.also { it.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithFake.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithFake.kt index 8d4084f314b3..513ac3e12bfb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithFake.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithFake.kt @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add non-null asserted (!!) call // ACTION: Introduce local variable // ACTION: Replace with safe (?.) call diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThis.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThis.kt index be29156e5e72..e384181754fc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThis.kt @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.apply { this.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThis.kt.after index 6aec8a092f57..dd8317148381 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThis.kt.after @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a?.apply { this.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisAndArrow.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisAndArrow.kt index fdc11aa77891..0f032e9cb61e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisAndArrow.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisAndArrow.kt @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.apply { -> this.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisAndArrow.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisAndArrow.kt.after index 87d2d2cfbaae..508ed6ed33e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisAndArrow.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisAndArrow.kt.after @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a?.apply { -> this.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeled.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeled.kt index 7c6c29e98da1..53b704f3ca4c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeled.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeled.kt @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.apply { this@apply.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeled.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeled.kt.after index d0a9d5b58976..c485c67da875 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeled.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeled.kt.after @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a?.apply { this@apply.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeledFake.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeledFake.kt index f4c40401f606..c5048bf68ece 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeledFake.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeledFake.kt @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Introduce local variable // ACTION: Add non-null asserted (!!) call // ACTION: Replace with safe (?.) call diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThis.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThis.kt index 1cee0c9657f7..23e10b782266 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThis.kt @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.apply { length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThis.kt.after index a8d98c4f878c..a2cc1e9fea19 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThis.kt.after @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a?.apply { length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThisMethodCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThisMethodCall.kt index 29d7a395737d..3ff619deca29 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThisMethodCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThisMethodCall.kt @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.apply { toLowerCase() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThisMethodCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThisMethodCall.kt.after index 93e02f96bd0a..b6b7b15385aa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThisMethodCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThisMethodCall.kt.after @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a?.apply { toLowerCase() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/assignment.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/assignment.kt index a9044e119c79..0d715a84dca5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/assignment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/assignment.kt @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB var i = 0 fun foo(a: String?) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/assignment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/assignment.kt.after index 4c5ac83fe378..cf941c15a6f7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/assignment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/assignment.kt.after @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB var i = 0 fun foo(a: String?) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/comment.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/comment.kt index d9129e29f7a0..34fac7da9c3c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/comment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/comment.kt @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { val b = a // comment1 // comment2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/comment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/comment.kt.after index 9825c4c971db..9b7064eed474 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/comment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/comment.kt.after @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { val b = a // comment1 // comment2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/let.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/let.kt index 61262c3bf6b4..12ba93307bea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/let.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/let.kt @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.let { it.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/let.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/let.kt.after index 1e01ce6852be..7c295b7a8fd2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/let.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/let.kt.after @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a?.let { it.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithParam.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithParam.kt index 07f3ab39a59d..01c23d3ce028 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithParam.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithParam.kt @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.let { s -> s.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithParam.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithParam.kt.after index 8f3e6c675e8a..faee079f9ace 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithParam.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithParam.kt.after @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a?.let { s -> s.length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithWrongImplicitThis.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithWrongImplicitThis.kt index fa666f001a3a..0722831af105 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithWrongImplicitThis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithWrongImplicitThis.kt @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add non-null asserted (!!) call // ACTION: Introduce local variable // ACTION: Move lambda argument into parentheses diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithWrongParam.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithWrongParam.kt index 6345ae2d7097..605a62d18d21 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithWrongParam.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithWrongParam.kt @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add non-null asserted (!!) call // ACTION: Introduce local variable // ACTION: Replace with safe (?.) call diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/lineBreak.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/lineBreak.kt index e4b5b3c92d91..e2aede6c8be7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/lineBreak.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/lineBreak.kt @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { val b = a .let { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/lineBreak.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/lineBreak.kt.after index cf0b5e057bf5..f5e1e3e64f06 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/lineBreak.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/lineBreak.kt.after @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { val b = a ?.let { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/notInsideScope.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/notInsideScope.kt index 4a459a0736bf..0d8f30c87fa7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/notInsideScope.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/notInsideScope.kt @@ -4,7 +4,7 @@ // ACTION: Replace with safe (?.) call // ACTION: Surround with null check // ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String? -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.length } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/run.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/run.kt index e1675f73c459..73fac4709f71 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/run.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/run.kt @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a.run { length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/run.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/run.kt.after index d1dcd84e1b87..feb5d7ecff01 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/run.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/run.kt.after @@ -1,5 +1,5 @@ // "Replace scope function with safe (?.) call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?) { a?.run { length diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion.kt b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion.kt index 6ec41956ba2a..b4df83272246 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion.kt @@ -1,5 +1,5 @@ // "Simplify comparison" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { val s = "" assert(s != null) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion.kt.after index 0e80094993ff..09d449c4d80f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion.kt.after @@ -1,5 +1,5 @@ // "Simplify comparison" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { val s = "" } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion2.kt b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion2.kt index 223bba2b6355..61ade88eda8d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion2.kt @@ -1,5 +1,5 @@ // "Simplify comparison" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { val s = "" assert(s != null && true) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion2.kt.after index 0e80094993ff..09d449c4d80f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion2.kt.after @@ -1,5 +1,5 @@ // "Simplify comparison" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { val s = "" } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion3.kt b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion3.kt index ac670bad4aba..ac2cc3e2fac4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion3.kt @@ -1,5 +1,5 @@ // "Simplify comparison" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { val s = "" assert(s != null && false) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion3.kt.after index 56a488d9a115..6e18ec90c3e7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion3.kt.after @@ -1,5 +1,5 @@ // "Simplify comparison" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test() { val s = "" assert(false) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen3.kt b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen3.kt index 8f6f0dbdf6bb..a3c91f398875 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen3.kt @@ -1,5 +1,5 @@ // "Replace 'if' expression with safe access expression" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { var x: String? = "" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen3.kt.after index 77df139a629e..2940adacdfcd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen3.kt.after @@ -1,5 +1,5 @@ // "Replace 'if' expression with safe access expression" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { var x: String? = "" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen5.kt b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen5.kt index 938487499320..dc4930db88ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen5.kt @@ -1,5 +1,5 @@ // "Replace 'if' expression with safe access expression" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { var x: Any? = null diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen5.kt.after index 3e00b05820e3..df4dab393f6e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen5.kt.after @@ -1,5 +1,5 @@ // "Replace 'if' expression with safe access expression" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { var x: Any? = null diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse3.kt b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse3.kt index 30b0f148f976..17678fc04c45 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse3.kt @@ -1,5 +1,5 @@ // "Replace 'if' expression with elvis expression" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { var x: String? = "" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse3.kt.after index 638b7a0404f0..11d4ad391844 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse3.kt.after @@ -1,5 +1,5 @@ // "Replace 'if' expression with elvis expression" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { var x: String? = "" diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse5.kt b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse5.kt index 0dd6a78a4a4a..a4c08b01d2ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse5.kt @@ -1,5 +1,5 @@ // "Replace 'if' expression with elvis expression" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { var x: Any? = null diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse5.kt.after index c09f749163cf..22923110ce6a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse5.kt.after @@ -1,5 +1,5 @@ // "Replace 'if' expression with elvis expression" "true" -// WITH_RUNTIME +// WITH_STDLIB class Test { var x: Any? = null diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists.kt index c301d6dcc87b..0eeedb5219a6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists.kt @@ -1,5 +1,5 @@ // "Specify override for 'isEmpty(): Boolean' explicitly" "true" -// WITH_RUNTIME +// WITH_STDLIB import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists.kt.after index ee577e75c01f..f8792c3cd3df 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists.kt.after @@ -1,5 +1,5 @@ // "Specify override for 'isEmpty(): Boolean' explicitly" "true" -// WITH_RUNTIME +// WITH_STDLIB import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists2.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists2.kt index 9b90444774b6..c78fa563d221 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists2.kt @@ -1,5 +1,5 @@ // "Specify override for 'size: Int' explicitly" "true" -// WITH_RUNTIME +// WITH_STDLIB import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists2.kt.after index 14aafccc5643..233fb2d093d1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists2.kt.after @@ -1,5 +1,5 @@ // "Specify override for 'size: Int' explicitly" "true" -// WITH_RUNTIME +// WITH_STDLIB import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/for.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/for.kt index aa34467b9def..52553bcf9142 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/for.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/for.kt @@ -1,5 +1,5 @@ // "Suppress 'UNNECESSARY_NOT_NULL_ASSERTION' for statement " "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { for (i in list()!!) {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/for.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/for.kt.after index ec2f08e93e6d..8ed6cddfa385 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/for.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/for.kt.after @@ -1,5 +1,5 @@ // "Suppress 'UNNECESSARY_NOT_NULL_ASSERTION' for statement " "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/throw.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/throw.kt index 0ff895c5422c..1b5bae44f4b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/throw.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/throw.kt @@ -1,5 +1,5 @@ // "Suppress 'UNNECESSARY_NOT_NULL_ASSERTION' for statement " "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(): Any { throw Exception(""!!) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/throw.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/throw.kt.after index 5eeb05b09cf9..d51af785ef80 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/throw.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/throw.kt.after @@ -1,5 +1,5 @@ // "Suppress 'UNNECESSARY_NOT_NULL_ASSERTION' for statement " "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(): Any { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/iteratorUnsafe.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/iteratorUnsafe.kt index 7a3e33fb5674..056e0fcc4aad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/iteratorUnsafe.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/iteratorUnsafe.kt @@ -1,5 +1,5 @@ // "Surround with null check" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List?) { for (element in list) {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/iteratorUnsafe.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/iteratorUnsafe.kt.after index dd4c68728a9a..d250efd279eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/iteratorUnsafe.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/iteratorUnsafe.kt.after @@ -1,5 +1,5 @@ // "Surround with null check" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List?) { if (list != null) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/nullableInCondition.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/nullableInCondition.kt index 35a99bdd8e2c..9a6b4aada8e9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/nullableInCondition.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/nullableInCondition.kt @@ -1,5 +1,5 @@ // "Surround with null check" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foz(arg: String?) { if (arg.isNotEmpty()) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/nullableInCondition.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/nullableInCondition.kt.after index a7fa855714fd..659bbc83262a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/nullableInCondition.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/nullableInCondition.kt.after @@ -1,5 +1,5 @@ // "Surround with null check" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foz(arg: String?) { if (arg != null) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideAnonymous.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideAnonymous.kt index e43823fea583..9c64f0d4f3b0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideAnonymous.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideAnonymous.kt @@ -1,5 +1,5 @@ // "Surround with null check" "true" -// WITH_RUNTIME +// WITH_STDLIB fun Int.bar() = this diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideAnonymous.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideAnonymous.kt.after index add8b50a3dee..547c0280508c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideAnonymous.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideAnonymous.kt.after @@ -1,5 +1,5 @@ // "Surround with null check" "true" -// WITH_RUNTIME +// WITH_STDLIB fun Int.bar() = this diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType.kt index a05aecd9f3fc..3be1a2e83615 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType.kt @@ -1,6 +1,6 @@ // "Change type to mutable" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test() { var list: List = listOf(1) list += 2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType.kt.after index 77e607b17eaa..994e01b0c6a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType.kt.after @@ -1,6 +1,6 @@ // "Change type to mutable" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test() { val list: MutableList = mutableListOf(1) list += 2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType2.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType2.kt index 1fe276d534e2..9a62da9a6d83 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType2.kt @@ -1,6 +1,6 @@ // "Change type to mutable" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test() { var list = listOf(1) list += 2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType2.kt.after index 6b186a812913..b89aba4d6597 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType2.kt.after @@ -1,6 +1,6 @@ // "Change type to mutable" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test() { val list = mutableListOf(1) list += 2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableListOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableListOf.kt index 8e08bd2554e4..559ca00877ef 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableListOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableListOf.kt @@ -1,6 +1,6 @@ // "Change type to mutable" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test() { var list = listOf(1) list += 2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableListOf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableListOf.kt.after index 5a47190908cd..2ba79af1cbc5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableListOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableListOf.kt.after @@ -1,6 +1,6 @@ // "Change type to mutable" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test() { val list = mutableListOf(1) list += 2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableMapOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableMapOf.kt index b9f8b0264511..bc4e51abc58d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableMapOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableMapOf.kt @@ -1,6 +1,6 @@ // "Change type to mutable" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test() { var map = mapOf(1 to 2) map += 3 to 4 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableMapOf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableMapOf.kt.after index 056d821ac8de..028702d29809 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableMapOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableMapOf.kt.after @@ -1,6 +1,6 @@ // "Change type to mutable" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test() { val map = mutableMapOf(1 to 2) map += 3 to 4 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableSetOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableSetOf.kt index d53a1f2f64a2..d88ee2767bea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableSetOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableSetOf.kt @@ -1,6 +1,6 @@ // "Change type to mutable" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test() { var set = setOf(1) set += 1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableSetOf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableSetOf.kt.after index fba1980c76e7..f74a1c1ecb5b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableSetOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableSetOf.kt.after @@ -1,6 +1,6 @@ // "Change type to mutable" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test() { val set = mutableSetOf(1) set += 1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/noInitializer.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/noInitializer.kt index 88d17b51ed73..53063f3fa6aa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/noInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/noInitializer.kt @@ -2,7 +2,7 @@ // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection // ACTION: Replace overloaded operator with function call // ACTION: Replace with ordinary assignment -// WITH_RUNTIME +// WITH_STDLIB fun test() { var list: List list = listOf(1) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/notLocal.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/notLocal.kt index ceb37149d753..8a2e562a1e1b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/notLocal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/notLocal.kt @@ -2,7 +2,7 @@ // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection // ACTION: Replace overloaded operator with function call // ACTION: Replace with ordinary assignment -// WITH_RUNTIME +// WITH_STDLIB class Test { var list = listOf(1) fun test() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList.kt index c8b94b6b880e..31eb83453641 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList.kt @@ -1,6 +1,6 @@ // "Change type to mutable" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test() { var list = foo() list -= 2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList.kt.after index 8c626e7d65fb..a245b4a7e09d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList.kt.after @@ -1,6 +1,6 @@ // "Change type to mutable" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test() { val list = foo().toMutableList() list -= 2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList2.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList2.kt index 3bca0cfc2408..c1e9630b4dea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList2.kt @@ -1,6 +1,6 @@ // "Change type to mutable" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test(a: Any) { var list = a as List list -= 2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList2.kt.after index d8c707098270..48c639698d41 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList2.kt.after @@ -1,6 +1,6 @@ // "Change type to mutable" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test(a: Any) { val list = (a as List).toMutableList() list -= 2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableMap.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableMap.kt index 7a49959e3cea..a15715061d5c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableMap.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableMap.kt @@ -1,6 +1,6 @@ // "Change type to mutable" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun toMutableMap() { var map = foo() map -= 3 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableMap.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableMap.kt.after index b6f675e9323c..ce2b92c300c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableMap.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableMap.kt.after @@ -1,6 +1,6 @@ // "Change type to mutable" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun toMutableMap() { val map = foo().toMutableMap() map -= 3 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableSet.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableSet.kt index 9ba43cd23333..b967c148edce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableSet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableSet.kt @@ -1,6 +1,6 @@ // "Change type to mutable" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test() { var set = foo() set -= 1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableSet.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableSet.kt.after index 5b9a4a67dbe6..87db4e8c9740 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableSet.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableSet.kt.after @@ -1,6 +1,6 @@ // "Change type to mutable" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test() { val set = foo().toMutableSet() set -= 1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/noInitializer.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/noInitializer.kt index 7770cdeed4aa..1d1ed03311b7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/noInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/noInitializer.kt @@ -2,7 +2,7 @@ // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection // ACTION: Replace overloaded operator with function call // ACTION: Replace with ordinary assignment -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: List) { var list: List list = createList() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/notLocal.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/notLocal.kt index 8d2c92b58e16..060a2cc107c2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/notLocal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/notLocal.kt @@ -2,7 +2,7 @@ // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection // ACTION: Replace overloaded operator with function call // ACTION: Replace with ordinary assignment -// WITH_RUNTIME +// WITH_STDLIB class Test { var list = createList() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/simple.kt index 01f1f5693afa..acfcb98cb2ae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/simple.kt @@ -1,6 +1,6 @@ // "Join with initializer" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: List) { var list = createList() // comment diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/simple.kt.after index 553e3d93eeea..39196e980518 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/simple.kt.after @@ -1,6 +1,6 @@ // "Join with initializer" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: List) { var list = createList() + otherList // comment diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/used.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/used.kt index 25a1d50b883b..258a552cbe5d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/used.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/used.kt @@ -3,7 +3,7 @@ // ACTION: Change type to mutable // ACTION: Replace overloaded operator with function call // ACTION: Replace with ordinary assignment -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: List) { var list = createList() foo(list) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/differentType.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/differentType.kt index b0bcd659ba65..0f0ef843cf2c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/differentType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/differentType.kt @@ -3,7 +3,7 @@ // ACTION: Change type to mutable // ACTION: Replace overloaded operator with function call // ACTION: Replace with ordinary assignment -// WITH_RUNTIME +// WITH_STDLIB fun test(other: Set) { var list = emptyList() foo() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyList.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyList.kt index 68b17e0155d5..6617bce6ea61 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyList.kt @@ -1,6 +1,6 @@ // "Replace with assignment (original is empty)" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: List) { var list = emptyList() foo() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyList.kt.after index a86f66f42287..a4943b5d129d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyList.kt.after @@ -1,6 +1,6 @@ // "Replace with assignment (original is empty)" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: List) { var list = emptyList() foo() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyListOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyListOf.kt index 1ee642e98b59..6879816de7c2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyListOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyListOf.kt @@ -1,6 +1,6 @@ // "Replace with assignment (original is empty)" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: List) { var list = listOf() foo() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyListOf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyListOf.kt.after index e4d0a7280209..183b279e6098 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyListOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyListOf.kt.after @@ -1,6 +1,6 @@ // "Replace with assignment (original is empty)" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: List) { var list = listOf() foo() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMap.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMap.kt index 612111f52860..4c0c144f8061 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMap.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMap.kt @@ -1,6 +1,6 @@ // "Replace with assignment (original is empty)" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test(otherMap: Map) { var list = emptyMap() foo() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMap.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMap.kt.after index a4e1012fe381..c769541ea328 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMap.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMap.kt.after @@ -1,6 +1,6 @@ // "Replace with assignment (original is empty)" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test(otherMap: Map) { var list = emptyMap() foo() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMapOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMapOf.kt index 7f7723494925..4fdcdd27f98e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMapOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMapOf.kt @@ -1,6 +1,6 @@ // "Replace with assignment (original is empty)" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test(otherMap: Map) { var list = mapOf() foo() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMapOf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMapOf.kt.after index 2f481cf4f95d..d5cf93ac7d67 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMapOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMapOf.kt.after @@ -1,6 +1,6 @@ // "Replace with assignment (original is empty)" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test(otherMap: Map) { var list = mapOf() foo() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySet.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySet.kt index 1ae064e44ecc..54da04caa3a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySet.kt @@ -1,6 +1,6 @@ // "Replace with assignment (original is empty)" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: Set) { var list = emptySet() foo() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySet.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySet.kt.after index 19f881c18088..502ad1e39718 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySet.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySet.kt.after @@ -1,6 +1,6 @@ // "Replace with assignment (original is empty)" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: Set) { var list = emptySet() foo() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySetOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySetOf.kt index 311787be4f48..40c798e91fe9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySetOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySetOf.kt @@ -1,6 +1,6 @@ // "Replace with assignment (original is empty)" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: Set) { var list = setOf() foo() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySetOf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySetOf.kt.after index ced305d68c6d..4d0d64ec3624 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySetOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySetOf.kt.after @@ -1,6 +1,6 @@ // "Replace with assignment (original is empty)" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: Set) { var list = setOf() foo() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/listOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/listOf.kt index 9fd03a290e7f..ffc1a58e28e9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/listOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/listOf.kt @@ -3,7 +3,7 @@ // ACTION: Change type to mutable // ACTION: Replace overloaded operator with function call // ACTION: Replace with ordinary assignment -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: List) { var list = listOf(1, 2, 3) foo() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/mapOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/mapOf.kt index 9a9e7afa158a..0eee25501085 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/mapOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/mapOf.kt @@ -3,7 +3,7 @@ // ACTION: Change type to mutable // ACTION: Replace overloaded operator with function call // ACTION: Replace with ordinary assignment -// WITH_RUNTIME +// WITH_STDLIB fun test(otherMap: Map) { var list = mapOf(1 to 1, 2 to 2) foo() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/minusEq.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/minusEq.kt index ca1fb1d0d64e..57c12fe2ad18 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/minusEq.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/minusEq.kt @@ -4,7 +4,7 @@ // ACTION: Replace overloaded operator with function call // ACTION: Replace with filter // ACTION: Replace with ordinary assignment -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: List) { var list = emptyList() foo() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/noInitializer.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/noInitializer.kt index e363cf6c1fe6..9c8d580acfe0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/noInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/noInitializer.kt @@ -1,7 +1,7 @@ // "Replace with assignment (original is empty)" "false" // ACTION: Replace overloaded operator with function call // ACTION: Replace with ordinary assignment -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: List) { var list: List list = emptyList() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/notEmpty.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/notEmpty.kt index cce5ff85d662..4a2682a1168f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/notEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/notEmpty.kt @@ -3,7 +3,7 @@ // ACTION: Change type to mutable // ACTION: Replace overloaded operator with function call // ACTION: Replace with ordinary assignment -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: List) { var list = listOf(1, 2, 3) foo() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/notLocal.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/notLocal.kt index 036ff562974a..725a101256ca 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/notLocal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/notLocal.kt @@ -1,7 +1,7 @@ // "Replace with assignment (original is empty)" "false" // ACTION: Replace overloaded operator with function call // ACTION: Replace with ordinary assignment -// WITH_RUNTIME +// WITH_STDLIB class Test { var list = emptyList() fun test(otherList: List) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/setOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/setOf.kt index 01d06f43fc7b..9c69711459e9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/setOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/setOf.kt @@ -3,7 +3,7 @@ // ACTION: Change type to mutable // ACTION: Replace overloaded operator with function call // ACTION: Replace with ordinary assignment -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: Set) { var list = setOf(1, 2, 3) foo() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/used.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/used.kt index 214e06b5e2d7..538571bc7adf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/used.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/used.kt @@ -3,7 +3,7 @@ // ACTION: Change type to mutable // ACTION: Replace overloaded operator with function call // ACTION: Replace with ordinary assignment -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: List) { var list = listOf() foo(list) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/map.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/map.kt index 7c2f09f134af..bc581929ed8d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/map.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/map.kt @@ -4,7 +4,7 @@ // ACTION: Join with initializer // ACTION: Replace overloaded operator with function call // ACTION: Replace with ordinary assignment -// WITH_RUNTIME +// WITH_STDLIB fun test() { var map = mapOf(1 to 10) map -= listOf(1) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/minusEq.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/minusEq.kt index 92f368c31ebd..4d5f6df2ef1a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/minusEq.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/minusEq.kt @@ -1,6 +1,6 @@ // "Replace with filter" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test() { var list = listOf(1, 2, 3) list -= listOf(2) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/minusEq.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/minusEq.kt.after index a003c1b487b1..b86b34d7a954 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/minusEq.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/minusEq.kt.after @@ -1,6 +1,6 @@ // "Replace with filter" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection -// WITH_RUNTIME +// WITH_STDLIB fun test() { var list = listOf(1, 2, 3) list = list.filter { it !in listOf(2) } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/notIterable.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/notIterable.kt index 9f6f307e0fb7..45347de6f551 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/notIterable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/notIterable.kt @@ -4,7 +4,7 @@ // ACTION: Join with initializer // ACTION: Replace overloaded operator with function call // ACTION: Replace with ordinary assignment -// WITH_RUNTIME +// WITH_STDLIB fun test() { var list = listOf(1, 2, 3) list -= 2 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/plusEq.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/plusEq.kt index a26247845e02..29f3576abe4e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/plusEq.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/plusEq.kt @@ -4,7 +4,7 @@ // ACTION: Join with initializer // ACTION: Replace overloaded operator with function call // ACTION: Replace with ordinary assignment -// WITH_RUNTIME +// WITH_STDLIB fun test() { var list = listOf(1, 2, 3) list += listOf (4) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithOrdinaryAssignment/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithOrdinaryAssignment/simple.kt index 9058c03952d6..5ead69f995be 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithOrdinaryAssignment/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithOrdinaryAssignment/simple.kt @@ -1,7 +1,7 @@ // "Replace with ordinary assignment" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection // ACTION: Replace overloaded operator with function call -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: List, flag: Boolean) { var list = otherList if (flag) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithOrdinaryAssignment/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithOrdinaryAssignment/simple.kt.after index aa20dd2c8b36..13b53c1330a2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithOrdinaryAssignment/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithOrdinaryAssignment/simple.kt.after @@ -1,7 +1,7 @@ // "Replace with ordinary assignment" "true" // TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection // ACTION: Replace overloaded operator with function call -// WITH_RUNTIME +// WITH_STDLIB fun test(otherList: List, flag: Boolean) { var list = otherList if (flag) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeInferenceExpectedTypeMismatch/convertClassToKClass1Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeInferenceExpectedTypeMismatch/convertClassToKClass1Runtime.kt index 02ba31f1e47f..c49c8a13264c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeInferenceExpectedTypeMismatch/convertClassToKClass1Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeInferenceExpectedTypeMismatch/convertClassToKClass1Runtime.kt @@ -1,5 +1,5 @@ // "Remove '.java'" "true" -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -XXLanguage:-NewInference fun foo() { bar(Foo::class.java) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeInferenceExpectedTypeMismatch/convertClassToKClass1Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeInferenceExpectedTypeMismatch/convertClassToKClass1Runtime.kt.after index 649a11369f05..58895aef1136 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeInferenceExpectedTypeMismatch/convertClassToKClass1Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeInferenceExpectedTypeMismatch/convertClassToKClass1Runtime.kt.after @@ -1,5 +1,5 @@ // "Remove '.java'" "true" -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -XXLanguage:-NewInference fun foo() { bar(Foo::class) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addExclExclToQualifiedArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addExclExclToQualifiedArgument.kt index fd86e287eb03..3b13c4738f3c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addExclExclToQualifiedArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addExclExclToQualifiedArgument.kt @@ -1,5 +1,5 @@ // "Add non-null asserted (!!) call" "true" -// WITH_RUNTIME +// WITH_STDLIB class A { fun foo(): List = listOf() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addExclExclToQualifiedArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addExclExclToQualifiedArgument.kt.after index 2d4dfc26a2d1..07fcb8a1d21a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addExclExclToQualifiedArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addExclExclToQualifiedArgument.kt.after @@ -1,5 +1,5 @@ // "Add non-null asserted (!!) call" "true" -// WITH_RUNTIME +// WITH_STDLIB class A { fun foo(): List = listOf() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castQualifiedArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castQualifiedArgument.kt index 3644e111ef38..e277fc606ae5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castQualifiedArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castQualifiedArgument.kt @@ -1,5 +1,5 @@ // "Cast expression 'a.foo().single()' to 'Int'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A { fun foo(): List = listOf() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castQualifiedArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castQualifiedArgument.kt.after index 0893d45ace17..9a9632857134 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castQualifiedArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castQualifiedArgument.kt.after @@ -1,5 +1,5 @@ // "Cast expression 'a.foo().single()' to 'Int'" "true" -// WITH_RUNTIME +// WITH_STDLIB class A { fun foo(): List = listOf() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/unsigned.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/unsigned.kt index c991c87bd783..078f02e3a007 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/unsigned.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/unsigned.kt @@ -1,5 +1,5 @@ // "Cast expression '1' to 'UInt'" "false" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Conversion of signed constants to unsigned ones is prohibited // ACTION: Convert to lazy property // ACTION: Change parameter 'u' type of function 'takeUInt' to 'Int' diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeInference.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeInference.kt index a777c62dd6f6..717753131f5c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeInference.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeInference.kt @@ -1,5 +1,5 @@ // "Change return type of enclosing function 'test2' to 'List'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test2(ss: List) { return ss.map { it } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeInference.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeInference.kt.after index 82d2a0295e8a..5f0082c57d2a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeInference.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeInference.kt.after @@ -1,5 +1,5 @@ // "Change return type of enclosing function 'test2' to 'List'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test2(ss: List): List { return ss.map { it } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeMismatch.kt index fd18f30e9478..86785387bd0c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeMismatch.kt @@ -1,5 +1,5 @@ // "Change return type of enclosing function 'test1' to 'Int'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test1(ss: List) { return ss.map { it }.size diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeMismatch.kt.after index eda4072643ed..ccf87ec9c0f3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeMismatch.kt.after @@ -1,5 +1,5 @@ // "Change return type of enclosing function 'test1' to 'Int'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test1(ss: List): Int { return ss.map { it }.size diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToCollection.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToCollection.kt index d0e8923f0911..63877086d805 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToCollection.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToCollection.kt @@ -1,5 +1,5 @@ // "Convert expression to 'Collection' by inserting '.toList()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Array) { bar(a) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToCollection.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToCollection.kt.after index 4a86d1d875be..908817d6c3dd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToCollection.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToCollection.kt.after @@ -1,5 +1,5 @@ // "Convert expression to 'Collection' by inserting '.toList()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Array) { bar(a.toList()) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToIterable.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToIterable.kt index 1f67967c9c06..c417cbfdd172 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToIterable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToIterable.kt @@ -1,5 +1,5 @@ // "Convert expression to 'Iterable' by inserting '.toList()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Array) { bar(a) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToIterable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToIterable.kt.after index 61ed32f3f173..3f3e411f7ca4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToIterable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToIterable.kt.after @@ -1,5 +1,5 @@ // "Convert expression to 'Iterable' by inserting '.toList()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Array) { bar(a.toList()) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToList.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToList.kt index 72b651929539..ad9b164d4f61 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToList.kt @@ -1,5 +1,5 @@ // "Convert expression to 'List' by inserting '.toList()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Array) { bar(a) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToList.kt.after index 4d8c86a20a84..7da6207e129a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToList.kt.after @@ -1,5 +1,5 @@ // "Convert expression to 'List' by inserting '.toList()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Array) { bar(a.toList()) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToSequence.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToSequence.kt index 67edc122ede9..4945cb67a8e2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToSequence.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToSequence.kt @@ -1,5 +1,5 @@ // "Convert expression to 'Sequence' by inserting '.asSequence()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Array) { bar(a) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToSequence.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToSequence.kt.after index 9b68e153cc21..4a28f9c5cd3a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToSequence.kt.after @@ -1,5 +1,5 @@ // "Convert expression to 'Sequence' by inserting '.asSequence()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Array) { bar(a.asSequence()) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/iterableToArray.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/iterableToArray.kt index 15dfaa5be3e9..c1daf5447fd6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/iterableToArray.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/iterableToArray.kt @@ -1,5 +1,5 @@ // "Convert expression to 'Array' by inserting '.toList().toTypedArray()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Iterable) { bar(a) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/iterableToArray.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/iterableToArray.kt.after index 008d19e3ef4d..42cb454552ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/iterableToArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/iterableToArray.kt.after @@ -1,5 +1,5 @@ // "Convert expression to 'Array' by inserting '.toList().toTypedArray()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Iterable) { bar(a.toList().toTypedArray()) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArray.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArray.kt index bb8385993aaa..cfd7489e4a20 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArray.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArray.kt @@ -1,5 +1,5 @@ // "Convert expression to 'Array' by inserting '.toTypedArray()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: List) { bar(a) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArray.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArray.kt.after index 8c8e4ff851b9..43784f8fb266 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArray.kt.after @@ -1,5 +1,5 @@ // "Convert expression to 'Array' by inserting '.toTypedArray()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: List) { bar(a.toTypedArray()) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArrayBinary.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArrayBinary.kt index c1062860cee1..9d2c60d00bd3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArrayBinary.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArrayBinary.kt @@ -1,5 +1,5 @@ // "Convert expression to 'Array' by inserting '.toTypedArray()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: List, b: List) { bar(a + b) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArrayBinary.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArrayBinary.kt.after index fa8c5b2cde33..c05ecec0213b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArrayBinary.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArrayBinary.kt.after @@ -1,5 +1,5 @@ // "Convert expression to 'Array' by inserting '.toTypedArray()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: List, b: List) { bar((a + b).toTypedArray()) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToMutableList.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToMutableList.kt index ddf2bde056e6..4763ccd91520 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToMutableList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToMutableList.kt @@ -1,5 +1,5 @@ // "Convert expression to 'MutableList' by inserting '.toMutableList()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: List) { bar(a) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToMutableList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToMutableList.kt.after index 4ac5aa13914c..b6881189e7d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToMutableList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToMutableList.kt.after @@ -1,5 +1,5 @@ // "Convert expression to 'MutableList' by inserting '.toMutableList()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: List) { bar(a.toMutableList()) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToSequence.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToSequence.kt index 339b6b8da7b7..24ae318faa88 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToSequence.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToSequence.kt @@ -1,5 +1,5 @@ // "Convert expression to 'Sequence' by inserting '.asSequence()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: List) { bar(a) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToSequence.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToSequence.kt.after index 0afe8d827408..ad11531aa3bc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToSequence.kt.after @@ -1,5 +1,5 @@ // "Convert expression to 'Sequence' by inserting '.asSequence()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: List) { bar(a.asSequence()) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToArray.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToArray.kt index 036d0eec5de1..3a7c73bdc3cc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToArray.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToArray.kt @@ -1,5 +1,5 @@ // "Convert expression to 'Array' by inserting '.toList().toTypedArray()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Sequence) { bar(a) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToArray.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToArray.kt.after index 3101a2211658..23875bbe0017 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToArray.kt.after @@ -1,5 +1,5 @@ // "Convert expression to 'Array' by inserting '.toList().toTypedArray()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Sequence) { bar(a.toList().toTypedArray()) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToList.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToList.kt index 9b12abf535c0..3d92e98f1dab 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToList.kt @@ -1,5 +1,5 @@ // "Convert expression to 'List' by inserting '.toList()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Sequence) { bar(a) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToList.kt.after index 344bce3d798a..56b784af57a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToList.kt.after @@ -1,5 +1,5 @@ // "Convert expression to 'List' by inserting '.toList()'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Sequence) { bar(a.toList()) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/dontChangeOverriddenPropertyTypeToErrorType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/dontChangeOverriddenPropertyTypeToErrorType.kt index f1ac55d513cb..a5399e1da6bd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/dontChangeOverriddenPropertyTypeToErrorType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/dontChangeOverriddenPropertyTypeToErrorType.kt @@ -1,5 +1,5 @@ // "Change type to '(String) -> [ERROR : Ay]'" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add full qualifier // ACTION: Change type of base property 'A.x' to '(Int) -> Int' // ACTION: Go To Super Property diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionExtensionType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionExtensionType.kt index a040750ced11..9535f051dd05 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionExtensionType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionExtensionType.kt @@ -1,5 +1,5 @@ // "Change return type of enclosing function 'myFunction' to '(Int) -> Boolean'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { fun myFunction(s: String): (String, Int) -> Boolean = s::verifyData diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionExtensionType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionExtensionType.kt.after index 4e3fb44789f3..da10fdf3c959 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionExtensionType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionExtensionType.kt.after @@ -1,5 +1,5 @@ // "Change return type of enclosing function 'myFunction' to '(Int) -> Boolean'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { fun myFunction(s: String): (Int) -> Boolean = s::verifyData diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType.kt index 21ea6c02ca9e..dd25d2d0a258 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType.kt @@ -1,5 +1,5 @@ // "Change type of 'myFunction' to '(Int, (Int) -> Boolean) -> Boolean'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var myFunction: (Int, Int) -> Int = ::verifyData diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType.kt.after index 831b36191911..f6ef19eff305 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType.kt.after @@ -1,5 +1,5 @@ // "Change type of 'myFunction' to '(Int, (Int) -> Boolean) -> Boolean'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var myFunction: (Int, (Int) -> Boolean) -> Boolean = ::verifyData diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType2.kt index e2ab049ec981..9daedb6c0cd0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType2.kt @@ -1,5 +1,5 @@ // "Change type of 'myFunction' to '(Int) -> KFunction0'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var myFunction: (Int, Int) -> Int = ::verifyData diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType2.kt.after index 44cbe0b55a7a..5faa083b264c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType2.kt.after @@ -1,7 +1,7 @@ import kotlin.reflect.KFunction0 // "Change type of 'myFunction' to '(Int) -> KFunction0'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var myFunction: (Int) -> KFunction0 = ::verifyData diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionReflectType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionReflectType.kt index 7ec4890a3e0f..fd5531dc83ab 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionReflectType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionReflectType.kt @@ -1,5 +1,5 @@ // "Change type of 'myFunction' to 'KFunction2'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var myFunction: (Int, Int) -> Int = ::verifyData diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionReflectType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionReflectType.kt.after index fbc95d256677..b8d18a75b3a6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionReflectType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionReflectType.kt.after @@ -1,7 +1,7 @@ import kotlin.reflect.KFunction2 // "Change type of 'myFunction' to 'KFunction2'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var myFunction: KFunction2 = ::verifyData diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionType.kt index f4414b9efefa..89469a81b882 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionType.kt @@ -1,5 +1,5 @@ // "Change type of 'myFunction' to '(Int, Int) -> Boolean'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var myFunction: (Int, Int) -> Int = ::verifyData diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionType.kt.after index 01dedfc4abc7..2d6185708ef3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionType.kt.after @@ -1,5 +1,5 @@ // "Change type of 'myFunction' to '(Int, Int) -> Boolean'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var myFunction: (Int, Int) -> Boolean = ::verifyData diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterface.kt index 4ea99e2756db..786717f0185c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterface.kt @@ -1,5 +1,5 @@ // "Let 'B' implement interface 'A'" "true" -// WITH_RUNTIME +// WITH_STDLIB package let.implement fun bar() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterface.kt.after index c0f253ad5961..dd869e1f4bb5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterface.kt.after @@ -1,5 +1,5 @@ // "Let 'B' implement interface 'A'" "true" -// WITH_RUNTIME +// WITH_STDLIB package let.implement fun bar() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertExpression.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertExpression.kt index 04be7858e336..0232736a66df 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertExpression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertExpression.kt @@ -1,5 +1,5 @@ // "Convert expression to 'Int'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { bar("1".toLong()) } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertExpression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertExpression.kt.after index 98a94019282e..7c9fd3ac4977 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertExpression.kt.after @@ -1,5 +1,5 @@ // "Convert expression to 'Int'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { bar("1".toLong().toInt()) } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToSigned.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToSigned.kt index 57b39bb69718..ea488dcd7404 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToSigned.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToSigned.kt @@ -1,5 +1,5 @@ // "Convert expression to 'Int'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(param: Int) {} fun test(expr: UInt) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToSigned.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToSigned.kt.after index 7331e64b5d00..85b5dcd87ae4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToSigned.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToSigned.kt.after @@ -1,5 +1,5 @@ // "Convert expression to 'Int'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(param: Int) {} fun test(expr: UInt) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToUnsigned.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToUnsigned.kt index b2058642bbd5..2aee6b19a483 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToUnsigned.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToUnsigned.kt @@ -1,5 +1,5 @@ // "Convert expression to 'UInt'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(param: UInt) {} fun test(expr: Int) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToUnsigned.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToUnsigned.kt.after index 1c0c11486f5c..917e83ea99d1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToUnsigned.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToUnsigned.kt.after @@ -1,5 +1,5 @@ // "Convert expression to 'UInt'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(param: UInt) {} fun test(expr: Int) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterTypeOnPropertyDelegate.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterTypeOnPropertyDelegate.kt index 06972f67846f..66e12e6b24d4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterTypeOnPropertyDelegate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterTypeOnPropertyDelegate.kt @@ -1,5 +1,5 @@ // "Change parameter 'code' type of primary constructor of class 'TestDelegate' to '() -> Logger'" "true" -// WITH_RUNTIME +// WITH_STDLIB import kotlin.reflect.KProperty object Test { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterTypeOnPropertyDelegate.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterTypeOnPropertyDelegate.kt.after index 17734da4fb26..7de3b6cd3317 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterTypeOnPropertyDelegate.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterTypeOnPropertyDelegate.kt.after @@ -1,5 +1,5 @@ // "Change parameter 'code' type of primary constructor of class 'TestDelegate' to '() -> Logger'" "true" -// WITH_RUNTIME +// WITH_STDLIB import kotlin.reflect.KProperty object Test { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClass.kt index 49d304219b5c..e8c5736f3e77 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClass.kt @@ -1,5 +1,5 @@ // "Convert 'KClass' to 'Class'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { acceptClass(String::class) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClass.kt.after index 6270211a8da2..e271fc481d5a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClass.kt.after @@ -1,5 +1,5 @@ // "Convert 'KClass' to 'Class'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { acceptClass(String::class.java) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassSubtype.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassSubtype.kt index 3c808bfa1879..0094f4b4511a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassSubtype.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassSubtype.kt @@ -1,5 +1,5 @@ // "Convert 'KClass' to 'Class'" "false" -// WITH_RUNTIME +// WITH_STDLIB // IGNORE_IRRELEVANT_ACTIONS // DISABLE-ERRORS diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassTypeMismatch.kt index 855c34062387..ef6c867dadd4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassTypeMismatch.kt @@ -1,5 +1,5 @@ // "Convert 'KClass' to 'Class'" "false" -// WITH_RUNTIME +// WITH_STDLIB // IGNORE_IRRELEVANT_ACTIONS // DISABLE-ERRORS diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassVariable.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassVariable.kt index b22b2790ec99..666e596493ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassVariable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassVariable.kt @@ -1,5 +1,5 @@ // "Convert 'KClass' to 'Class'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val clazz = String::class diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassVariable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassVariable.kt.after index f2838a697227..b6f6aacd0536 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassVariable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassVariable.kt.after @@ -1,5 +1,5 @@ // "Convert 'KClass' to 'Class'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun main() { val clazz = String::class diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/unsigned.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/unsigned.kt index cf70d0a8428b..4a2548d2a143 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/unsigned.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/unsigned.kt @@ -1,5 +1,5 @@ // "Change parameter 'u' type of function 'takeUInt' to 'Int'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun takeUInt(u: UInt) = 0 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/unsigned.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/unsigned.kt.after index c34a706dbad1..ed635ea50cac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/unsigned.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/unsigned.kt.after @@ -1,5 +1,5 @@ // "Change parameter 'u' type of function 'takeUInt' to 'Int'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun takeUInt(u: Int) = 0 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatchLongNameRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatchLongNameRuntime.kt index 95313a5fe36c..0b24b39a6a42 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatchLongNameRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatchLongNameRuntime.kt @@ -1,5 +1,5 @@ // "Change type of 'f' to '(Delegates) -> Unit'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var f: Int = { x: kotlin.properties.Delegates -> } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatchLongNameRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatchLongNameRuntime.kt.after index f21c1712b416..f9d9415f5d37 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatchLongNameRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatchLongNameRuntime.kt.after @@ -1,7 +1,7 @@ import kotlin.properties.Delegates // "Change type of 'f' to '(Delegates) -> Unit'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { var f: (Delegates) -> Unit = { x: kotlin.properties.Delegates -> } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/notApplicable.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/notApplicable.kt index 3d23d09bf55e..16db9f00622d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/notApplicable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/notApplicable.kt @@ -3,7 +3,7 @@ // ACTION: Change parameter 'x' type of function 'foo' to 'Double' // ACTION: Convert expression to 'Float' // ACTION: Create function 'foo' -// WITH_RUNTIME +// WITH_STDLIB fun test(d: Double) { foo(d) } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/notApplicable2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/notApplicable2.kt index f9de45cb6032..9722ab734b70 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/notApplicable2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/notApplicable2.kt @@ -3,7 +3,7 @@ // ACTION: Change parameter 'x' type of function 'foo' to 'Long' // ACTION: Convert expression to 'Int' // ACTION: Create function 'foo' -// WITH_RUNTIME +// WITH_STDLIB fun test(l: Long) { foo(l) } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToInt.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToInt.kt index 0d05b0c53c36..82102e241d5d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToInt.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToInt.kt @@ -1,5 +1,5 @@ // "Round using roundToInt()" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test(d: Double) { foo(d) } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToInt.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToInt.kt.after index f7aad3c3e1b2..caa7c8f8153b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToInt.kt.after @@ -1,7 +1,7 @@ import kotlin.math.roundToInt // "Round using roundToInt()" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test(d: Double) { foo(d.roundToInt()) } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToLong.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToLong.kt index f872cafaee21..f95a702463ad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToLong.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToLong.kt @@ -1,5 +1,5 @@ // "Round using roundToLong()" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test(d: Double) { bar(d) } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToLong.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToLong.kt.after index e490a6a17053..bd2738af5b1d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToLong.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToLong.kt.after @@ -1,7 +1,7 @@ import kotlin.math.roundToLong // "Round using roundToLong()" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test(d: Double) { bar(d.roundToLong()) } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToInt.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToInt.kt index a23c4ff0b6d0..f15b4a200b1c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToInt.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToInt.kt @@ -1,5 +1,5 @@ // "Round using roundToInt()" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test(f: Float) { foo(f) } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToInt.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToInt.kt.after index 2ce7a023153f..d8951c835c89 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToInt.kt.after @@ -1,7 +1,7 @@ import kotlin.math.roundToInt // "Round using roundToInt()" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test(f: Float) { foo(f.roundToInt()) } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToLong.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToLong.kt index 58471a279a45..b74121a1ac8f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToLong.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToLong.kt @@ -1,5 +1,5 @@ // "Round using roundToLong()" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test(f: Float) { bar(f) } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToLong.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToLong.kt.after index 2244832bf2ca..708f8acd06d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToLong.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToLong.kt.after @@ -1,7 +1,7 @@ import kotlin.math.roundToLong // "Round using roundToLong()" "true" -// WITH_RUNTIME +// WITH_STDLIB fun test(f: Float) { bar(f.roundToLong()) } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/labeledReturn.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/labeledReturn.kt index b61b7087d8d3..1a78feeeea78 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/labeledReturn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/labeledReturn.kt @@ -1,5 +1,5 @@ // "Change return type of enclosing function 'foo' to 'Any'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(n: Int): Boolean { if (true) return "foo" n.let { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/labeledReturn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/labeledReturn.kt.after index 19dd9c329145..206a66283c2e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/labeledReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/labeledReturn.kt.after @@ -1,5 +1,5 @@ // "Change return type of enclosing function 'foo' to 'Any'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(n: Int): Any { if (true) return "foo" n.let { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/unrelatedLabeledReturn.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/unrelatedLabeledReturn.kt index 9fdef4b8986d..e820a8cf2167 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/unrelatedLabeledReturn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/unrelatedLabeledReturn.kt @@ -1,5 +1,5 @@ // "Change return type of enclosing function 'bar' to 'String?'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun bar(n: Int): Boolean { if (true) return "bar" val list = listOf(1).map { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/unrelatedLabeledReturn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/unrelatedLabeledReturn.kt.after index 32466888a9a1..0fcecebcdd12 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/unrelatedLabeledReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/unrelatedLabeledReturn.kt.after @@ -1,5 +1,5 @@ // "Change return type of enclosing function 'bar' to 'String?'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun bar(n: Int): String? { if (true) return "bar" val list = listOf(1).map { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnRuntime.kt index 5d2043468334..d5782ae5d698 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnRuntime.kt @@ -1,5 +1,5 @@ // "Change return type of enclosing function 'foo' to 'Int'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(n: Int): Boolean { n.let { return 1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnRuntime.kt.after index a85e861aa610..655f0e8033b7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnRuntime.kt.after @@ -1,5 +1,5 @@ // "Change return type of enclosing function 'foo' to 'Int'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(n: Int): Int { n.let { return 1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnWithLabelRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnWithLabelRuntime.kt index 10048fa46748..6060a337a323 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnWithLabelRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnWithLabelRuntime.kt @@ -1,5 +1,5 @@ // "Change return type of enclosing function 'foo' to 'Int'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(n: Int): Boolean { n.let { return@foo 1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnWithLabelRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnWithLabelRuntime.kt.after index e45ce0192ac0..9554edd6ba25 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnWithLabelRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnWithLabelRuntime.kt.after @@ -1,5 +1,5 @@ // "Change return type of enclosing function 'foo' to 'Int'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(n: Int): Int { n.let { return@foo 1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/noMutableList.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/noMutableList.kt index f8c8544a72e7..204724490ce0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/noMutableList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/noMutableList.kt @@ -1,6 +1,6 @@ // "class org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix" "false" // ERROR: Type mismatch: inferred type is String but MutableList was expected -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { bar(a) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/nullToListOfNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/nullToListOfNullable.kt index ce2261ae3a92..8850d2595cf2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/nullToListOfNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/nullToListOfNullable.kt @@ -1,5 +1,5 @@ // "Wrap element with 'listOf()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { bar(null) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/nullToListOfNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/nullToListOfNullable.kt.after index bcd84417e18c..218d868cf2f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/nullToListOfNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/nullToListOfNullable.kt.after @@ -1,5 +1,5 @@ // "Wrap element with 'listOf()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo() { bar(listOf(null)) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyArray.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyArray.kt index 96361bdd6760..5eb63bae9f31 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyArray.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyArray.kt @@ -1,5 +1,5 @@ // "Replace with 'emptyArray()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?): Array { val w = a ?: return null diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyArray.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyArray.kt.after index e78b06e823e8..cee86e6ac6d1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyArray.kt.after @@ -1,5 +1,5 @@ // "Replace with 'emptyArray()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?): Array { val w = a ?: return emptyArray() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyCollection.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyCollection.kt index 3a82555aefac..30d7c913f6d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyCollection.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyCollection.kt @@ -1,5 +1,5 @@ // "Replace with 'emptyList()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?): Collection { val w = a ?: return null diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyCollection.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyCollection.kt.after index b152321cd572..c9b67f746bc0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyCollection.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyCollection.kt.after @@ -1,5 +1,5 @@ // "Replace with 'emptyList()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?): Collection { val w = a ?: return emptyList() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyList.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyList.kt index df33acd54014..e179f17b6d46 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyList.kt @@ -1,5 +1,5 @@ // "Replace with 'emptyList()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?): List { val w = a ?: return null diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyList.kt.after index 3c8002be978b..46374e5b8d7e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyList.kt.after @@ -1,5 +1,5 @@ // "Replace with 'emptyList()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?): List { val w = a ?: return emptyList() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySequence.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySequence.kt index afdef1006b1c..f1731d598db3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySequence.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySequence.kt @@ -1,5 +1,5 @@ // "Replace with 'emptySequence()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?): Sequence { val w = a ?: return null diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySequence.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySequence.kt.after index c8f82ad9db5f..74f9b69cc9e1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySequence.kt.after @@ -1,5 +1,5 @@ // "Replace with 'emptySequence()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?): Sequence { val w = a ?: return emptySequence() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySet.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySet.kt index ccf4bb679847..26229f64f0a9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySet.kt @@ -1,5 +1,5 @@ // "Replace with 'emptySet()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?): Set { val w = a ?: return null diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySet.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySet.kt.after index 5ec8d0e7861f..049420b8d9ef 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySet.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySet.kt.after @@ -1,5 +1,5 @@ // "Replace with 'emptySet()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String?): Set { val w = a ?: return emptySet() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toArray.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toArray.kt index 652d2145daac..a9d00e30c8bb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toArray.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toArray.kt @@ -1,5 +1,5 @@ // "Wrap element with 'arrayOf()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { bar(a) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toArray.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toArray.kt.after index 6ed46e8337c4..412c6ce5c260 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toArray.kt.after @@ -1,5 +1,5 @@ // "Wrap element with 'arrayOf()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { bar(arrayOf(a)) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toCollection.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toCollection.kt index b709fadd8583..81e29bc6b350 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toCollection.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toCollection.kt @@ -1,5 +1,5 @@ // "Wrap element with 'listOf()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { bar(a) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toCollection.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toCollection.kt.after index 825dea0a3bcc..3ef284898897 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toCollection.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toCollection.kt.after @@ -1,5 +1,5 @@ // "Wrap element with 'listOf()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { bar(listOf(a)) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toList.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toList.kt index 3b4e9afbbb3f..2f717aba3ab2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toList.kt @@ -1,5 +1,5 @@ // "Wrap element with 'listOf()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { bar(a) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toList.kt.after index c1dfe36b936f..c14692841a55 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toList.kt.after @@ -1,5 +1,5 @@ // "Wrap element with 'listOf()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { bar(listOf(a)) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSequence.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSequence.kt index 1650f715dac7..ab9d0d7726cd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSequence.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSequence.kt @@ -1,5 +1,5 @@ // "Wrap element with 'sequenceOf()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { bar(a) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSequence.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSequence.kt.after index 51e91b65dd62..f76ab978f78f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSequence.kt.after @@ -1,5 +1,5 @@ // "Wrap element with 'sequenceOf()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { bar(sequenceOf(a)) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSet.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSet.kt index 9ee52dbcff1b..239718a1b703 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSet.kt @@ -1,5 +1,5 @@ // "Wrap element with 'setOf()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { bar(a) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSet.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSet.kt.after index 05482949cde5..8f4989fcc999 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSet.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSet.kt.after @@ -1,5 +1,5 @@ // "Wrap element with 'setOf()' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: String) { bar(setOf(a)) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToUnsigned.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToUnsigned.kt index dfff080a6baf..da7a5e06b235 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToUnsigned.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToUnsigned.kt @@ -1,5 +1,5 @@ // "Change to '1u'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(param: UInt) {} fun test() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToUnsigned.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToUnsigned.kt.after index a1bb45992999..cf6e28e67e7f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToUnsigned.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToUnsigned.kt.after @@ -1,5 +1,5 @@ // "Change to '1u'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(param: UInt) {} fun test() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/unsignedToInt.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/unsignedToInt.kt index bcf4715d4bf7..1b954cabf95b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/unsignedToInt.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/unsignedToInt.kt @@ -1,5 +1,5 @@ // "Change to '1'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(param: Int) {} fun test() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/unsignedToInt.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/unsignedToInt.kt.after index 542f7d594f3a..5b50a330c1e8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/unsignedToInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/unsignedToInt.kt.after @@ -1,5 +1,5 @@ // "Change to '1'" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(param: Int) {} fun test() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/star.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/star.kt index 030cbd5014f2..1e86bad12dbb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/star.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/star.kt @@ -1,5 +1,5 @@ // "Replace array of boxed with array of primitive" "false" -// WITH_RUNTIME +// WITH_STDLIB // ERROR: Invalid type of annotation member // ACTION: Add full qualifier // ACTION: Introduce import alias diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/string.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/string.kt index 05c6dbc9758c..bbcee3044cb7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/string.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/string.kt @@ -1,5 +1,5 @@ // "Replace array of boxed with array of primitive" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add full qualifier // ACTION: Put parameters on one line // ACTION: Introduce import alias diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/catchParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/catchParameter.kt index f1d4b4462d84..08bcd7023e3b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/catchParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/catchParameter.kt @@ -1,5 +1,5 @@ // "Remove 'val' from parameter" "true" -// WITH_RUNTIME +// WITH_STDLIB fun f() { try { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/catchParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/catchParameter.kt.after index 16410c3d96ff..bd4f64341e4a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/catchParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/catchParameter.kt.after @@ -1,5 +1,5 @@ // "Remove 'val' from parameter" "true" -// WITH_RUNTIME +// WITH_STDLIB fun f() { try { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLine.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLine.kt index 1e2aa5103a70..dd91ab6daa00 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLine.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLine.kt @@ -1,5 +1,5 @@ // "Add remaining branches" "true" -// WITH_RUNTIME +// WITH_STDLIB sealed class A class B : A() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLine.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLine.kt.after index 24224cf3fb7f..ce7e70e642d6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLine.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLine.kt.after @@ -1,5 +1,5 @@ // "Add remaining branches" "true" -// WITH_RUNTIME +// WITH_STDLIB sealed class A class B : A() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLineWithComment.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLineWithComment.kt index 56ed09eb019d..139c306a8437 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLineWithComment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLineWithComment.kt @@ -1,5 +1,5 @@ // "Add remaining branches" "true" -// WITH_RUNTIME +// WITH_STDLIB sealed class A class B : A() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLineWithComment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLineWithComment.kt.after index f235164b968d..45194ab6b38f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLineWithComment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLineWithComment.kt.after @@ -1,5 +1,5 @@ // "Add remaining branches" "true" -// WITH_RUNTIME +// WITH_STDLIB sealed class A class B : A() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumBackTicks.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumBackTicks.kt index 8ff899d64ebf..abd174e43c0c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumBackTicks.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumBackTicks.kt @@ -1,5 +1,5 @@ // "Add remaining branches" "true" -// WITH_RUNTIME +// WITH_STDLIB enum class FooEnum { A, B, `C`, `true`, `false`, `null` diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumBackTicks.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumBackTicks.kt.after index 4497f9cd83c0..bfa096172c43 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumBackTicks.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumBackTicks.kt.after @@ -1,5 +1,5 @@ // "Add remaining branches" "true" -// WITH_RUNTIME +// WITH_STDLIB enum class FooEnum { A, B, `C`, `true`, `false`, `null` diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport1.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport1.kt index cefde7f5ded9..8cce5e72120f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport1.kt @@ -1,5 +1,5 @@ // "Add remaining branches with * import" "true" -// WITH_RUNTIME +// WITH_STDLIB enum class Foo { A, B, C } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport1.kt.after index e75492e0ffcf..3177b5b36db6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport1.kt.after @@ -1,7 +1,7 @@ import Foo.* // "Add remaining branches with * import" "true" -// WITH_RUNTIME +// WITH_STDLIB enum class Foo { A, B, C } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport2.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport2.kt index e72ae5f241e0..fc960622c376 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport2.kt @@ -1,5 +1,5 @@ // "Add remaining branches with * import" "true" -// WITH_RUNTIME +// WITH_STDLIB import Foo.* enum class Foo { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport2.kt.after index 434c7c8dcc3b..ca5564f825f5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport2.kt.after @@ -1,5 +1,5 @@ // "Add remaining branches with * import" "true" -// WITH_RUNTIME +// WITH_STDLIB import Foo.* enum class Foo { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport3.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport3.kt index 18aff34f34cb..fce265a9ecac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport3.kt @@ -1,5 +1,5 @@ // "Add remaining branches with * import" "true" -// WITH_RUNTIME +// WITH_STDLIB import Foo.* enum class Foo { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport3.kt.after index 3232e16e7a5c..1e63ecb41aea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport3.kt.after @@ -1,5 +1,5 @@ // "Add remaining branches with * import" "true" -// WITH_RUNTIME +// WITH_STDLIB import Foo.* enum class Foo { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport4.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport4.kt index 368b39143366..f5d9b763f1d0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport4.kt @@ -1,5 +1,5 @@ // "Add remaining branches with * import" "true" -// WITH_RUNTIME +// WITH_STDLIB import Foo.* enum class Foo { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport4.kt.after index 0b735aae7692..c067f659e67a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport4.kt.after @@ -1,5 +1,5 @@ // "Add remaining branches with * import" "true" -// WITH_RUNTIME +// WITH_STDLIB import Baz.* import Foo.* import Foo.B diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedBackTicks.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedBackTicks.kt index 2ed61b520bfb..101ecd0693b0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedBackTicks.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedBackTicks.kt @@ -1,5 +1,5 @@ // "Add remaining branches" "true" -// WITH_RUNTIME +// WITH_STDLIB sealed class FooSealed object A: FooSealed() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedBackTicks.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedBackTicks.kt.after index 67407e074bd2..37c02f10f802 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedBackTicks.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedBackTicks.kt.after @@ -1,5 +1,5 @@ // "Add remaining branches" "true" -// WITH_RUNTIME +// WITH_STDLIB sealed class FooSealed object A: FooSealed() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhenInLabeled.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhenInLabeled.kt index 1edc2c7abf06..c8ab1b545530 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhenInLabeled.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhenInLabeled.kt @@ -1,5 +1,5 @@ // "Add '@loop' to break" "true" -// WITH_RUNTIME +// WITH_STDLIB // LANGUAGE_VERSION: 1.3 fun foo(chars: CharArray) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhenInLabeled.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhenInLabeled.kt.after index 9187fd27ae9b..a6a70cd6edb4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhenInLabeled.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhenInLabeled.kt.after @@ -1,5 +1,5 @@ // "Add '@loop' to break" "true" -// WITH_RUNTIME +// WITH_STDLIB // LANGUAGE_VERSION: 1.3 fun foo(chars: CharArray) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenInLabeled.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenInLabeled.kt index 64349f409bb9..e3441908ec52 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenInLabeled.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenInLabeled.kt @@ -1,5 +1,5 @@ // "Add '@loop' to continue" "true" -// WITH_RUNTIME +// WITH_STDLIB // LANGUAGE_VERSION: 1.3 fun foo(chars: CharArray) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenInLabeled.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenInLabeled.kt.after index 2ad223c90fea..b9deb083cad0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenInLabeled.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenInLabeled.kt.after @@ -1,5 +1,5 @@ // "Add '@loop' to continue" "true" -// WITH_RUNTIME +// WITH_STDLIB // LANGUAGE_VERSION: 1.3 fun foo(chars: CharArray) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/argumentNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/argumentNullable.kt index cdf2162ed642..1e44fb7a7857 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/argumentNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/argumentNullable.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(x: String?) { bar(x) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/argumentNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/argumentNullable.kt.after index 29fe3c66c74e..3ba82c8c0701 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/argumentNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/argumentNullable.kt.after @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(x: String?) { x?.let { bar(it) } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.kt index c1717e3684a7..4c32c3434f1a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun Int.foo(x: Int) = this + x diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.kt.after index 0c32237543f3..e76c1c26e638 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.kt.after @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun Int.foo(x: Int) = this + x diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedUnsafeCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedUnsafeCall.kt index e2751de2138b..c6f27e5cef01 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedUnsafeCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedUnsafeCall.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add non-null asserted (!!) call // ACTION: Introduce local variable // ACTION: Replace with safe (?.) call diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/elvisArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/elvisArgument.kt index f812cb48ba68..16f3e3822d25 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/elvisArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/elvisArgument.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(i: Int) {} fun test(a: Int?, b: Int?) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/elvisArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/elvisArgument.kt.after index 14d016e97dc1..77285f2fc2e9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/elvisArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/elvisArgument.kt.after @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(i: Int) {} fun test(a: Int?, b: Int?) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/expressionUnsafeCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/expressionUnsafeCall.kt index dc6bcb44f991..9b3fc6ad9e25 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/expressionUnsafeCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/expressionUnsafeCall.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add non-null asserted (!!) call // ACTION: Convert to block body // ACTION: Introduce local variable diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extensionMethod.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extensionMethod.kt index 77b0ff725e50..f69e548225d4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extensionMethod.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extensionMethod.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add non-null asserted (!!) call // ACTION: Introduce import alias // ACTION: Introduce local variable diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall.kt index ecfe92eb63cb..5551b500bc86 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun f(s: String, action: (String.() -> Unit)?) { s.action() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall.kt.after index 470884d554f7..f18e07ba4271 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall.kt.after @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun f(s: String, action: (String.() -> Unit)?) { action?.let { s.it() } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall2.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall2.kt index b021c5e584f6..e09071f3d920 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall2.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun f(s: String, action: (String.() -> Unit)?) { s.foo().bar().action() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall2.kt.after index 25487a8da95c..03d0081d3b2c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall2.kt.after @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun f(s: String, action: (String.() -> Unit)?) { action?.let { s.foo().bar().it() } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.kt index 3177eb40747d..6ff3763d2f32 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(x: String?, y: String) { y.let { bar(x, it) } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.kt.after index fbb2cdfbec72..9c713dfb530d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.kt.after @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(x: String?, y: String) { y.let { x?.let { it1 -> bar(it1, it) } } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFuncUnsafe.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFuncUnsafe.kt index 4bd1371edb42..ee75bdc0389d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFuncUnsafe.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFuncUnsafe.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(exec: (() -> Unit)?) { exec() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFuncUnsafe.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFuncUnsafe.kt.after index cde4011712c0..3714c732c7b1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFuncUnsafe.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFuncUnsafe.kt.after @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(exec: (() -> Unit)?) { exec?.let { it() } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType.kt index bdce40740006..e4614b35ee42 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB interface Foo { val bar: ((Int) -> Unit)? diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType.kt.after index dc43415d40b8..dcab0d7b0a13 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType.kt.after @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB interface Foo { val bar: ((Int) -> Unit)? diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType2.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType2.kt index 3e313c9c1806..f6950c1c720a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType2.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB interface Foo { val bar: ((Int) -> Unit)? diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType2.kt.after index d2168201a2e3..18bff3f0dcc3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType2.kt.after @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB interface Foo { val bar: ((Int) -> Unit)? diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator.kt index 986956cc4ee9..3680f08da513 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo(val bar: Bar) class Bar { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator.kt.after index 4316cd48d4a8..ce90e772bf29 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator.kt.after @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo(val bar: Bar) class Bar { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator2.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator2.kt index fc7c493ddc89..5618a1018aa7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator2.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo(val bar: Bar?) class Bar(val baz: Baz) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator2.kt.after index 50b3ffb83480..21d4a6a2994b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator2.kt.after @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB class Foo(val bar: Bar?) class Bar(val baz: Baz) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt index fdaef56783e1..cea4e9119303 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB operator fun Int.invoke() = this diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt.after index bba4c445cf6f..4fb173215432 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt.after @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB operator fun Int.invoke() = this diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/objectQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/objectQualifier.kt index aa99e254793d..e00b8ebc0cc5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/objectQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/objectQualifier.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB object Obj { fun foo(x: Int) = x diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/objectQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/objectQualifier.kt.after index 2ea84281365a..948d625c0960 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/objectQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/objectQualifier.kt.after @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB object Obj { fun foo(x: Int) = x diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe.kt index 68f2aac1d51a..d6029b17495d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) {} fun bar(s: String?) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe.kt.after index 9407c2ece764..fbed097f7e77 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe.kt.after @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String) {} fun bar(s: String?) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe2.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe2.kt index 5d426e3b941b..b7e93db30834 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe2.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB class A(val b: B) class B { fun c(s: String) {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe2.kt.after index 7667693e8f60..4f60ecc60d02 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe2.kt.after @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "true" -// WITH_RUNTIME +// WITH_STDLIB class A(val b: B) class B { fun c(s: String) {} diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafeForNullableParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafeForNullableParameter.kt index 173147d33487..af1e92538ba7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafeForNullableParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafeForNullableParameter.kt @@ -6,7 +6,7 @@ // ACTION: Convert to with // ACTION: Surround with null check // DISABLE-ERRORS -// WITH_RUNTIME +// WITH_STDLIB fun foo(s: String?) {} fun bar(s: String?) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unstableValue.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unstableValue.kt index cb2270d893fe..25c264209078 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unstableValue.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unstableValue.kt @@ -1,5 +1,5 @@ // "Wrap with '?.let { ... }' call" "false" -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Add non-null asserted (!!) call // ACTION: Replace with safe (?.) call // ACTION: Convert to run diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/callWithPlatformTypeReceiver.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/callWithPlatformTypeReceiver.kt index 15a773a1bc81..6a8712cb6269 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/callWithPlatformTypeReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/callWithPlatformTypeReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_RETURN_TYPES: kotlin.Boolean?, kotlin.Boolean // PARAM_DESCRIPTOR: value-parameter it: kotlin.collections.Map.Entry defined in test. // PARAM_TYPES: kotlin.collections.Map.Entry diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/callWithPlatformTypeReceiver.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/callWithPlatformTypeReceiver.kt.after index 33c1a1a840e5..620ba9818b53 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/callWithPlatformTypeReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/callWithPlatformTypeReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_RETURN_TYPES: kotlin.Boolean?, kotlin.Boolean // PARAM_DESCRIPTOR: value-parameter it: kotlin.collections.Map.Entry defined in test. // PARAM_TYPES: kotlin.collections.Map.Entry diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/callableReferenceSelector.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/callableReferenceSelector.kt index 543edde7b270..83b03d520a00 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/callableReferenceSelector.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/callableReferenceSelector.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: map, stringStringMap, stringMap // PARAM_DESCRIPTOR: value-parameter arg: kotlin.String defined in Foo.Companion.bar // PARAM_TYPES: kotlin.String diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/callableReferenceSelector.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/callableReferenceSelector.kt.after index 79ca6d268d67..9168b983aabd 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/callableReferenceSelector.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/callableReferenceSelector.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: map, stringStringMap, stringMap // PARAM_DESCRIPTOR: value-parameter arg: kotlin.String defined in Foo.Companion.bar // PARAM_TYPES: kotlin.String diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/inlineReified2.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/inlineReified2.kt index 21fcefd0bd03..cc7aa04095e2 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/inlineReified2.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/inlineReified2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB inline fun foo() { listOf(T::class, U::class) diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/inlineReified2.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/inlineReified2.kt.after index dcfb2cb0d561..92020ddedd4c 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/inlineReified2.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/inlineReified2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB inline fun foo() { __dummyTestFun__() diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/memberValUnderSmartCastAndImplicitReceiver.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/memberValUnderSmartCastAndImplicitReceiver.kt index 550894e9d21b..db89da6a3975 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/memberValUnderSmartCastAndImplicitReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/memberValUnderSmartCastAndImplicitReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: i, getKm // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: public final val meters: kotlin.Int? defined in A diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/memberValUnderSmartCastAndImplicitReceiver.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/memberValUnderSmartCastAndImplicitReceiver.kt.after index b1f49c77418b..d2b4a0558650 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/memberValUnderSmartCastAndImplicitReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/memberValUnderSmartCastAndImplicitReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: i, getKm // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: public final val meters: kotlin.Int? defined in A diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/unnecessaryNullabilityAnnotation.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/unnecessaryNullabilityAnnotation.kt index 85b0b8389669..5da8a78eb377 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/unnecessaryNullabilityAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/unnecessaryNullabilityAnnotation.kt @@ -1,6 +1,6 @@ // PARAM_DESCRIPTOR: val s: kotlin.String defined in foo // PARAM_TYPES: kotlin.String, kotlin.Comparable, kotlin.CharSequence, java.io.Serializable, kotlin.Any -// WITH_RUNTIME +// WITH_STDLIB import org.jetbrains.annotations.NotNull diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/unnecessaryNullabilityAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/unnecessaryNullabilityAnnotation.kt.after index f136ec06c89c..34468b996fc1 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/unnecessaryNullabilityAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/basic/unnecessaryNullabilityAnnotation.kt.after @@ -1,6 +1,6 @@ // PARAM_DESCRIPTOR: val s: kotlin.String defined in foo // PARAM_TYPES: kotlin.String, kotlin.Comparable, kotlin.CharSequence, java.io.Serializable, kotlin.Any -// WITH_RUNTIME +// WITH_STDLIB import org.jetbrains.annotations.NotNull diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/default/defaultCF.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/default/defaultCF.kt index b137ffd6b09b..9f26d4f68926 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/default/defaultCF.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/default/defaultCF.kt @@ -2,7 +2,7 @@ // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in foo // PARAM_DESCRIPTOR: val b: kotlin.Int defined in foo -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: fun foo(a: Int) { val b: Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/default/defaultCF.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/default/defaultCF.kt.after index a9fc4abc7f42..3a2292cbdf16 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/default/defaultCF.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/default/defaultCF.kt.after @@ -2,7 +2,7 @@ // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in foo // PARAM_DESCRIPTOR: val b: kotlin.Int defined in foo -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: fun foo(a: Int) { val b: Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/default/defaultCFWithExtraVars.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/default/defaultCFWithExtraVars.kt index d48590402ce0..00d366caa4c7 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/default/defaultCFWithExtraVars.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/default/defaultCFWithExtraVars.kt @@ -2,7 +2,7 @@ // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in foo // PARAM_DESCRIPTOR: val b: kotlin.Int defined in foo -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: fun foo(a: Int) { val b: Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/default/defaultCFWithExtraVars.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/default/defaultCFWithExtraVars.kt.after index 3fba6bdb5872..185b601839de 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/default/defaultCFWithExtraVars.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/default/defaultCFWithExtraVars.kt.after @@ -2,7 +2,7 @@ // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in foo // PARAM_DESCRIPTOR: val b: kotlin.Int defined in foo -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: fun foo(a: Int) { val b: Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/labeledAndUnlabeledReturn1.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/labeledAndUnlabeledReturn1.kt index bf7327e7191d..d7e0dd253329 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/labeledAndUnlabeledReturn1.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/labeledAndUnlabeledReturn1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: value-parameter it: kotlin.Int defined in foo. // PARAM_TYPES: kotlin.Int fun foo(a: Int): Int { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/labeledAndUnlabeledReturn1.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/labeledAndUnlabeledReturn1.kt.after index 38dcec62a52d..3c23ab47ea4b 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/labeledAndUnlabeledReturn1.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/labeledAndUnlabeledReturn1.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: value-parameter it: kotlin.Int defined in foo. // PARAM_TYPES: kotlin.Int fun foo(a: Int): Int { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/labeledAndUnlabeledReturn2.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/labeledAndUnlabeledReturn2.kt index d5c07310ed2d..10030ecd80cc 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/labeledAndUnlabeledReturn2.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/labeledAndUnlabeledReturn2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: value-parameter it: kotlin.Int defined in foo. // PARAM_TYPES: kotlin.Int fun foo(a: Int): Int { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/labeledAndUnlabeledReturn2.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/labeledAndUnlabeledReturn2.kt.after index 6a574cb7ef74..e590e3b8fb5a 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/labeledAndUnlabeledReturn2.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/labeledAndUnlabeledReturn2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: value-parameter it: kotlin.Int defined in foo. // PARAM_TYPES: kotlin.Int fun foo(a: Int): Int { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/nonLocalReturn.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/nonLocalReturn.kt index 3d7a3319e990..a994c3bfa64f 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/nonLocalReturn.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/nonLocalReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: value-parameter it: kotlin.Int defined in foo. // PARAM_TYPES: kotlin.Int fun foo(): Int { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/nonLocalReturn.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/nonLocalReturn.kt.after index 6145abeb1234..0b557c380804 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/nonLocalReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/nonLocalReturn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: value-parameter it: kotlin.Int defined in foo. // PARAM_TYPES: kotlin.Int fun foo(): Int { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/nonLocalReturnWithLabel.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/nonLocalReturnWithLabel.kt index a8f0354e55eb..fd2cede2b181 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/nonLocalReturnWithLabel.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/nonLocalReturnWithLabel.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: value-parameter it: kotlin.Int defined in foo. // PARAM_TYPES: kotlin.Int fun foo(): Int { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/nonLocalReturnWithLabel.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/nonLocalReturnWithLabel.kt.after index 6bdee1d901c0..2b9fdb4f30bb 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/nonLocalReturnWithLabel.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/definiteReturns/nonLocalReturnWithLabel.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: value-parameter it: kotlin.Int defined in foo. // PARAM_TYPES: kotlin.Int fun foo(): Int { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/exitPointEquivalence/defaultAndReturnInWhen.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/exitPointEquivalence/defaultAndReturnInWhen.kt index ae25b0af54e5..9ba4909fe8f2 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/exitPointEquivalence/defaultAndReturnInWhen.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/exitPointEquivalence/defaultAndReturnInWhen.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int, kotlin.Comparable // PARAM_DESCRIPTOR: value-parameter i: kotlin.Int defined in example fun example(i: Int) { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/exitPointEquivalence/defaultAndReturnInWhen.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/exitPointEquivalence/defaultAndReturnInWhen.kt.after index 397986970066..8b758b86e2fa 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/exitPointEquivalence/defaultAndReturnInWhen.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/exitPointEquivalence/defaultAndReturnInWhen.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int, kotlin.Comparable // PARAM_DESCRIPTOR: value-parameter i: kotlin.Int defined in example fun example(i: Int) { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/genericPair.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/genericPair.kt index bdafc73053ba..7f59751458c2 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/genericPair.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/genericPair.kt @@ -1,6 +1,6 @@ // SUGGESTED_NAMES: pair, aIntPair // COMPILER_ARGUMENTS: -XXLanguage:-NewInference -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: A?, kotlin.Any? // PARAM_TYPES: B, A // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/genericPair.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/genericPair.kt.after index 521d1d09bf91..4e55f0f0d723 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/genericPair.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/genericPair.kt.after @@ -1,6 +1,6 @@ // SUGGESTED_NAMES: pair, aIntPair // COMPILER_ARGUMENTS: -XXLanguage:-NewInference -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: A?, kotlin.Any? // PARAM_TYPES: B, A // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/initializersAndUpdate.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/initializersAndUpdate.kt index a22a3fa46a6d..fe401935baf8 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/initializersAndUpdate.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/initializersAndUpdate.kt @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: triple, intIntIntTriple, intIntTriple, intTriple -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: var k: kotlin.Int defined in foo // SIBLING: diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/initializersAndUpdate.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/initializersAndUpdate.kt.after index 065a727543e4..583bf974357d 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/initializersAndUpdate.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/initializersAndUpdate.kt.after @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: triple, intIntIntTriple, intIntTriple, intTriple -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: var k: kotlin.Int defined in foo // SIBLING: diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/nestedNonInlinableCall.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/nestedNonInlinableCall.kt index 3d950d67f724..8a0ceeb46b22 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/nestedNonInlinableCall.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/nestedNonInlinableCall.kt @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in foo diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/nestedNonInlinableCall.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/nestedNonInlinableCall.kt.after index 3ac53f4e612f..567f55079ee4 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/nestedNonInlinableCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/nestedNonInlinableCall.kt.after @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in foo diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithExpression.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithExpression.kt index 73f60c8fa8e4..25ae117d5882 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithExpression.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: pair, intIntPair, intPair, getT // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithExpression.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithExpression.kt.after index f1814f5b6a1d..a20fd4205595 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: pair, intIntPair, intPair, getT // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithReturn.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithReturn.kt index 81ff90901793..06f30e3bdbfb 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithReturn.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithReturn.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: var b: kotlin.Int defined in foo diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithReturn.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithReturn.kt.after index 6c80811e80d2..a56cd0d0043e 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithReturn.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: var b: kotlin.Int defined in foo diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithSingleLineExpression.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithSingleLineExpression.kt index 99e308d5a72c..508c40338829 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithSingleLineExpression.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithSingleLineExpression.kt @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair, getT -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: var b: kotlin.Int defined in foo diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithSingleLineExpression.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithSingleLineExpression.kt.after index b0e6e7cb5bb5..e4e92daba1cd 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithSingleLineExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValueWithSingleLineExpression.kt.after @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair, getT -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: var b: kotlin.Int defined in foo diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValuesWithExpression.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValuesWithExpression.kt index 67ad97309b85..caf560addc61 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValuesWithExpression.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValuesWithExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: triple, intIntIntTriple, intIntTriple, intTriple, getT // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValuesWithExpression.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValuesWithExpression.kt.after index e30360e44153..71def475c64b 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValuesWithExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/outputValuesWithExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: triple, intIntIntTriple, intIntTriple, intTriple, getT // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pair.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pair.kt index 1eae492ff766..d59b32e67bf9 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pair.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pair.kt @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pair.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pair.kt.after index cb62060e502c..cf37acf32b64 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pair.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pair.kt.after @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairOfInitalizersWithNonLocalUsages.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairOfInitalizersWithNonLocalUsages.kt index b04df146b826..2ba388949ca7 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairOfInitalizersWithNonLocalUsages.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairOfInitalizersWithNonLocalUsages.kt @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: fun foo() { val a = 1 diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairOfInitalizersWithNonLocalUsages.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairOfInitalizersWithNonLocalUsages.kt.after index 4582acd4808e..1f3a7e37cf9d 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairOfInitalizersWithNonLocalUsages.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairOfInitalizersWithNonLocalUsages.kt.after @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: fun foo() { val (a, b) = pair() diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairOfVarInitalizersWithNonLocalUsages.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairOfVarInitalizersWithNonLocalUsages.kt index 73b054e44d74..626c517355ab 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairOfVarInitalizersWithNonLocalUsages.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairOfVarInitalizersWithNonLocalUsages.kt @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: fun foo() { var a = 1 diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairOfVarInitalizersWithNonLocalUsages.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairOfVarInitalizersWithNonLocalUsages.kt.after index c1625314344f..11227c3d4dcd 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairOfVarInitalizersWithNonLocalUsages.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairOfVarInitalizersWithNonLocalUsages.kt.after @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: fun foo() { var (a, b) = pair() diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithIf.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithIf.kt index 2f7bf3822905..a25247ca17d3 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithIf.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithIf.kt @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithIf.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithIf.kt.after index 42c5acbdff54..c4669e29cad7 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithIf.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithIf.kt.after @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithNameClash.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithNameClash.kt index 988cb4807132..17521e714b50 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithNameClash.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithNameClash.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: pair, intIntPair, intPair // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithNameClash.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithNameClash.kt.after index 8f9ce58219a4..6b152c23eb4e 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithNameClash.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithNameClash.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: pair, intIntPair, intPair // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithWhen.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithWhen.kt index 2a9f10b7840d..76bc7a0e6d43 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithWhen.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithWhen.kt @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithWhen.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithWhen.kt.after index d4fc52f02dd1..7b86384a2c0d 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithWhen.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/pairWithWhen.kt.after @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/tooManyOutputValues.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/tooManyOutputValues.kt index c2836d4c6d15..de0e4d9e1a19 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/tooManyOutputValues.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/tooManyOutputValues.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/tooManyOutputValuesAsList.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/tooManyOutputValuesAsList.kt index 22cbc2a03cb7..8f92c3631c62 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/tooManyOutputValuesAsList.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/tooManyOutputValuesAsList.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: ints, intList, list // OPTIONS: true, true, false, false, false // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/tooManyOutputValuesAsList.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/tooManyOutputValuesAsList.kt.after index 37cd98e6d5cc..482f75075f5f 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/tooManyOutputValuesAsList.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/tooManyOutputValuesAsList.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: ints, intList, list // OPTIONS: true, true, false, false, false // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/triple.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/triple.kt index 55a34f2fa46a..0329f730cb05 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/triple.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/triple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: triple, intIntIntTriple, intIntTriple, intTriple // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/triple.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/triple.kt.after index 95ef46fe9e63..3ec4c6fdf68f 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/triple.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/triple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: triple, intIntIntTriple, intIntTriple, intTriple // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/usedAndUnusedOutputValues.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/usedAndUnusedOutputValues.kt index 635204ab51ee..f5add07219c9 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/usedAndUnusedOutputValues.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/usedAndUnusedOutputValues.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/usedAndUnusedOutputValues.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/usedAndUnusedOutputValues.kt.after index e11d80407df4..d26bf719d486 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/usedAndUnusedOutputValues.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/usedAndUnusedOutputValues.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/valAndVarInitalizersWithNonLocalUsages.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/valAndVarInitalizersWithNonLocalUsages.kt index 51bdd4ef170d..17c778a0e0a8 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/valAndVarInitalizersWithNonLocalUsages.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/valAndVarInitalizersWithNonLocalUsages.kt @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: fun foo() { val a = 1 diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/valAndVarInitalizersWithNonLocalUsages.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/valAndVarInitalizersWithNonLocalUsages.kt.after index 749cb9fcfc9c..a0e31fcd0f91 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/valAndVarInitalizersWithNonLocalUsages.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/outputValues/valAndVarInitalizersWithNonLocalUsages.kt.after @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: fun foo() { val pair = pair() diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/returnTypeCandidates/javaAnnotatedNotNull.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/returnTypeCandidates/javaAnnotatedNotNull.kt index bf9f63044a2d..8e29c3cfbb65 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/returnTypeCandidates/javaAnnotatedNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/returnTypeCandidates/javaAnnotatedNotNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: s, getS fun test() { val s = J.notNull() diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/returnTypeCandidates/javaAnnotatedNotNull.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/returnTypeCandidates/javaAnnotatedNotNull.kt.after index 8beb976a4dc4..1df375079afb 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/returnTypeCandidates/javaAnnotatedNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/returnTypeCandidates/javaAnnotatedNotNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: s, getS fun test() { val s = s() diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/throws/implicitThrow.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/throws/implicitThrow.kt index a52aabb5a771..cf4c20b0b4d1 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/throws/implicitThrow.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/throws/implicitThrow.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: value-parameter a: kotlin.Int? defined in foo // PARAM_TYPES: kotlin.Int? fun foo(a: Int?): Int { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/throws/implicitThrow.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/throws/implicitThrow.kt.after index f6cc7bcc610b..e6ab96b694ca 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/throws/implicitThrow.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/throws/implicitThrow.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: value-parameter a: kotlin.Int? defined in foo // PARAM_TYPES: kotlin.Int? fun foo(a: Int?): Int { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/unextractable/unmatchedReturnTargets.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/unextractable/unmatchedReturnTargets.kt index 9ec9f95f6e44..cb5fea2009ac 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/unextractable/unmatchedReturnTargets.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/controlFlow/unextractable/unmatchedReturnTargets.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(a: Int): Int { a.let { if (it > 0) return@let it else return@foo -it diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/branchingMatch1.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/branchingMatch1.kt index c76d4846874f..51c37acd2d43 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/branchingMatch1.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/branchingMatch1.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: i, getT // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/branchingMatch1.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/branchingMatch1.kt.after index bce818fc4f87..aed5ba0ac6fe 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/branchingMatch1.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/branchingMatch1.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: i, getT // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/branchingMatch2.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/branchingMatch2.kt index 5c7066e117b1..771923152fa9 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/branchingMatch2.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/branchingMatch2.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in test diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/branchingMatch2.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/branchingMatch2.kt.after index b8e151fb25ce..1c1c6915ff0c 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/branchingMatch2.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/branchingMatch2.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in test diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/multipleOutputValuesMatching.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/multipleOutputValuesMatching.kt index 4d0cff3d3573..346291dc9612 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/multipleOutputValuesMatching.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/multipleOutputValuesMatching.kt @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in test diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/multipleOutputValuesMatching.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/multipleOutputValuesMatching.kt.after index c0c3e368d5f3..355b5c3f5604 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/multipleOutputValuesMatching.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/multipleOutputValuesMatching.kt.after @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in test diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/outputValueAndUnitMatching.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/outputValueAndUnitMatching.kt index 45ddeecf7c99..08780ece7190 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/outputValueAndUnitMatching.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/outputValueAndUnitMatching.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: val z: kotlin.Int defined in test diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/outputValueAndUnitMatching.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/outputValueAndUnitMatching.kt.after index e9aae63698b9..215ca29c02c6 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/outputValueAndUnitMatching.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/outputValueAndUnitMatching.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: val z: kotlin.Int defined in test diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/outputValueMatching.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/outputValueMatching.kt index 5dce693dfa11..a5f5f488e6ab 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/outputValueMatching.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/outputValueMatching.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in test diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/outputValueMatching.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/outputValueMatching.kt.after index f2552a3bf24e..fe1465f0591a 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/outputValueMatching.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/duplicates/outputValueMatching.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.Int // PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in test diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/initializers/properties/multiDeclaration.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/initializers/properties/multiDeclaration.kt index 180a5914d044..613734acd0a4 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/initializers/properties/multiDeclaration.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/initializers/properties/multiDeclaration.kt @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: fun foo() { val (a, b) = 1 to 2 diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/initializers/properties/multiDeclaration.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/initializers/properties/multiDeclaration.kt.after index eea8027f36d0..63801bc4dd45 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/initializers/properties/multiDeclaration.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/initializers/properties/multiDeclaration.kt.after @@ -1,5 +1,5 @@ // SUGGESTED_NAMES: pair, intIntPair, intPair -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: fun foo() { val (a, b) = pair() diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/initializers/properties/nestedInMultiDeclaration.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/initializers/properties/nestedInMultiDeclaration.kt index 626994563202..1e6afb8f96f0 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/initializers/properties/nestedInMultiDeclaration.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/initializers/properties/nestedInMultiDeclaration.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: fun foo() { val (a, b) = diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/initializers/properties/nestedInMultiDeclaration.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/initializers/properties/nestedInMultiDeclaration.kt.after index f01da303afc5..4719505c313c 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/initializers/properties/nestedInMultiDeclaration.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/initializers/properties/nestedInMultiDeclaration.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: fun foo() { val (a, b) = diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/cantLiftAnonymousToSupertype.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/cantLiftAnonymousToSupertype.kt index 69863a4a1c5e..3a66aaa5b66f 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/cantLiftAnonymousToSupertype.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/cantLiftAnonymousToSupertype.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: val x = object { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/flexibleTypesWithNull.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/flexibleTypesWithNull.kt index e89399130378..108969669e97 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/flexibleTypesWithNull.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/flexibleTypesWithNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: i, getN // PARAM_TYPES: kotlin.String?, kotlin.String, kotlin.CharSequence?, kotlin.CharSequence // PARAM_DESCRIPTOR: val property: kotlin.String! defined in test diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/flexibleTypesWithNull.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/flexibleTypesWithNull.kt.after index d1631097c149..38580c09d75d 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/flexibleTypesWithNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/flexibleTypesWithNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: i, getN // PARAM_TYPES: kotlin.String?, kotlin.String, kotlin.CharSequence?, kotlin.CharSequence // PARAM_DESCRIPTOR: val property: kotlin.String! defined in test diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/flexibleTypesWithoutNull.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/flexibleTypesWithoutNull.kt index 05ebeeac9d4c..e9035f2dcb00 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/flexibleTypesWithoutNull.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/flexibleTypesWithoutNull.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: i, getN // PARAM_TYPES: kotlin.String, kotlin.CharSequence // PARAM_DESCRIPTOR: val property: kotlin.String! defined in test diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/flexibleTypesWithoutNull.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/flexibleTypesWithoutNull.kt.after index a6ea56ea7464..75f8b279bff7 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/flexibleTypesWithoutNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/flexibleTypesWithoutNull.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SUGGESTED_NAMES: i, getN // PARAM_TYPES: kotlin.String, kotlin.CharSequence // PARAM_DESCRIPTOR: val property: kotlin.String! defined in test diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/liftAnonymousToSupertype1.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/liftAnonymousToSupertype1.kt index fe58c289548d..1d2e43fc75fe 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/liftAnonymousToSupertype1.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/liftAnonymousToSupertype1.kt @@ -1,6 +1,6 @@ // PARAM_DESCRIPTOR: local final class defined in x // PARAM_TYPES: kotlin.Any -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: val x = object { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/liftAnonymousToSupertype1.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/liftAnonymousToSupertype1.kt.after index 87067bb7987d..2e10a5c9cf0e 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/liftAnonymousToSupertype1.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/liftAnonymousToSupertype1.kt.after @@ -1,6 +1,6 @@ // PARAM_DESCRIPTOR: local final class defined in x // PARAM_TYPES: kotlin.Any -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: val x = object { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/liftAnonymousToSupertype2.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/liftAnonymousToSupertype2.kt index e273e266daaf..18addfc2a0e3 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/liftAnonymousToSupertype2.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/liftAnonymousToSupertype2.kt @@ -1,6 +1,6 @@ // PARAM_DESCRIPTOR: val x: defined in test // PARAM_TYPES: A -// WITH_RUNTIME +// WITH_STDLIB open class A { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/liftAnonymousToSupertype2.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/liftAnonymousToSupertype2.kt.after index 083b30f0d889..56205aa302e8 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/liftAnonymousToSupertype2.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/liftAnonymousToSupertype2.kt.after @@ -1,6 +1,6 @@ // PARAM_DESCRIPTOR: val x: defined in test // PARAM_TYPES: A -// WITH_RUNTIME +// WITH_STDLIB open class A { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/mutablyFlexibleType.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/mutablyFlexibleType.kt index 2e91d1ad2984..0ffb551fa59b 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/mutablyFlexibleType.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/mutablyFlexibleType.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: val data: kotlin.collections.(Mutable)List defined in test // PARAM_TYPES: kotlin.collections.List, kotlin.collections.MutableList, kotlin.collections.MutableCollection, kotlin.collections.Collection fun test(): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/mutablyFlexibleType.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/mutablyFlexibleType.kt.after index eb47a1c470f8..2b699e93496e 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/mutablyFlexibleType.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/mutablyFlexibleType.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: val data: kotlin.collections.(Mutable)List defined in test // PARAM_TYPES: kotlin.collections.List, kotlin.collections.MutableList, kotlin.collections.MutableCollection, kotlin.collections.Collection fun test(): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/receiverCandidateTypes.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/receiverCandidateTypes.kt index a337ee41730d..c4de099919d1 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/receiverCandidateTypes.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/receiverCandidateTypes.kt @@ -1,6 +1,6 @@ // PARAM_DESCRIPTOR: public fun Bar.foo(): kotlin.Unit defined in root package in file receiverCandidateTypes.kt // PARAM_TYPES: Bar, Foo, kotlin.Any -// WITH_RUNTIME +// WITH_STDLIB open class Foo class Bar : Foo() diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/receiverCandidateTypes.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/receiverCandidateTypes.kt.after index ca7327e91cc6..96058722d3da 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/receiverCandidateTypes.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/candidateTypes/receiverCandidateTypes.kt.after @@ -1,6 +1,6 @@ // PARAM_DESCRIPTOR: public fun Bar.foo(): kotlin.Unit defined in root package in file receiverCandidateTypes.kt // PARAM_TYPES: Bar, Foo, kotlin.Any -// WITH_RUNTIME +// WITH_STDLIB open class Foo class Bar : Foo() diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticProperty.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticProperty.kt index 5f40433977a2..9aa3a186a8ea 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticProperty.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticProperty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: private final fun Named.foo(): kotlin.String defined in Test // PARAM_TYPES: Named public class Test { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticProperty.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticProperty.kt.after index fbcadad6f642..a426b3883291 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticProperty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: private final fun Named.foo(): kotlin.String defined in Test // PARAM_TYPES: Named public class Test { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticPropertyWithDelegation.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticPropertyWithDelegation.kt index c013b716339d..173e04ec335b 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticPropertyWithDelegation.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticPropertyWithDelegation.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: private final fun NamedEx.foo(): kotlin.String defined in Test // PARAM_TYPES: NamedEx // SIBLING: diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticPropertyWithDelegation.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticPropertyWithDelegation.kt.after index 090c3918d5d1..2330e27bffb3 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticPropertyWithDelegation.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticPropertyWithDelegation.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: private final fun NamedEx.foo(): kotlin.String defined in Test // PARAM_TYPES: NamedEx // SIBLING: diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticPropertyWithOverride.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticPropertyWithOverride.kt index 926cfacf79f1..a82d9beec4cf 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticPropertyWithOverride.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticPropertyWithOverride.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: private final fun NamedEx.foo(): kotlin.String defined in Test // PARAM_TYPES: NamedEx // SIBLING: diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticPropertyWithOverride.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticPropertyWithOverride.kt.after index 4bd0555edbbd..c2fc0e81d720 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticPropertyWithOverride.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/extractThis/javaSyntheticPropertyWithOverride.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: private final fun NamedEx.foo(): kotlin.String defined in Test // PARAM_TYPES: NamedEx // SIBLING: diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/typeParameters/typeParameterNotResolvableInTargetScope.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/typeParameters/typeParameterNotResolvableInTargetScope.kt index 94a93bc3f4e9..5fe944de56f1 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/typeParameters/typeParameterNotResolvableInTargetScope.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/typeParameters/typeParameterNotResolvableInTargetScope.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: Foo // PARAM_TYPES: kotlin.String // PARAM_DESCRIPTOR: internal final class Foo defined in root package in file typeParameterNotResolvableInTargetScope.kt diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/typeParameters/typeParameterNotResolvableInTargetScope.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/typeParameters/typeParameterNotResolvableInTargetScope.kt.after index 17a3d76eced0..d0c95c3f3313 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/typeParameters/typeParameterNotResolvableInTargetScope.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/typeParameters/typeParameterNotResolvableInTargetScope.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: Foo // PARAM_TYPES: kotlin.String // PARAM_DESCRIPTOR: internal final class Foo defined in root package in file typeParameterNotResolvableInTargetScope.kt diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/typeParameters/typeParameterResolvableInTargetScope.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/typeParameters/typeParameterResolvableInTargetScope.kt index a0342c44bcc4..c716caa20406 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/typeParameters/typeParameterResolvableInTargetScope.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/typeParameters/typeParameterResolvableInTargetScope.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.String // PARAM_DESCRIPTOR: value-parameter l: kotlin.String defined in Foo.test diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/typeParameters/typeParameterResolvableInTargetScope.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/typeParameters/typeParameterResolvableInTargetScope.kt.after index 4d51148f0716..38eeb0376814 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/typeParameters/typeParameterResolvableInTargetScope.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/typeParameters/typeParameterResolvableInTargetScope.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_TYPES: kotlin.String // PARAM_DESCRIPTOR: value-parameter l: kotlin.String defined in Foo.test diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractSuperclass/dropPropertyParameterModifiers.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractSuperclass/dropPropertyParameterModifiers.kt index 673fc37a14a1..28352497ac3f 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractSuperclass/dropPropertyParameterModifiers.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractSuperclass/dropPropertyParameterModifiers.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // NAME: Middle open class Parent(open val bad: String) { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractSuperclass/dropPropertyParameterModifiers.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractSuperclass/dropPropertyParameterModifiers.kt.after index 266a7858aba3..41476eb0ca90 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractSuperclass/dropPropertyParameterModifiers.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractSuperclass/dropPropertyParameterModifiers.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // NAME: Middle open class Parent(open val bad: String) { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/inline/inlineVariableOrProperty/ifInQualifiedExpression.kt b/plugins/kotlin/idea/tests/testData/refactoring/inline/inlineVariableOrProperty/ifInQualifiedExpression.kt index 356041a7c4d4..a70b932f2154 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/inline/inlineVariableOrProperty/ifInQualifiedExpression.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/inline/inlineVariableOrProperty/ifInQualifiedExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun boo() : Pair { val flag = true val value = if (flag) 0 else 1 diff --git a/plugins/kotlin/idea/tests/testData/refactoring/inline/inlineVariableOrProperty/ifInQualifiedExpression.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/inline/inlineVariableOrProperty/ifInQualifiedExpression.kt.after index d5e5cb0b0e59..cd5595542852 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/inline/inlineVariableOrProperty/ifInQualifiedExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/inline/inlineVariableOrProperty/ifInQualifiedExpression.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun boo() : Pair { val flag = true return (if (flag) 0 else 1).to("value") diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceLambdaParameter/lambdaArgument.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceLambdaParameter/lambdaArgument.kt index 5b71fe8cd71f..ba6c4c6fbb4a 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceLambdaParameter/lambdaArgument.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceLambdaParameter/lambdaArgument.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List) = list.filter { it.length > 6 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceLambdaParameter/lambdaArgument.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceLambdaParameter/lambdaArgument.kt.after index c2d53e6c61c4..ed8ca76cb194 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceLambdaParameter/lambdaArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceLambdaParameter/lambdaArgument.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List, function: () -> (String) -> Boolean = { { it.length > 6 } }) = list.filter(function()) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/foreignParameterRef.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/foreignParameterRef.kt index f13dd81da4e2..c1fcea0e1aa8 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/foreignParameterRef.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/foreignParameterRef.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITH_DEFAULT_VALUE: false fun a() { 1.b(2) diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/foreignParameterRef.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/foreignParameterRef.kt.after index 8e16e0089ece..12f471250b38 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/foreignParameterRef.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/foreignParameterRef.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITH_DEFAULT_VALUE: false fun a() { 1.b(2.foo { it + this + 2 + 1 }) diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/lambdaArgument.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/lambdaArgument.kt index 5b71fe8cd71f..ba6c4c6fbb4a 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/lambdaArgument.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/lambdaArgument.kt @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List) = list.filter { it.length > 6 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/lambdaArgument.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/lambdaArgument.kt.after index 3fc252a542ad..8133187cf895 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/lambdaArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/lambdaArgument.kt.after @@ -1,2 +1,2 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(list: List, function: (String) -> Boolean = { it.length > 6 }) = list.filter(function) \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/unusedDispatchReceiver.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/unusedDispatchReceiver.kt index 753b523c499d..910f33e70c38 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/unusedDispatchReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/unusedDispatchReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITH_DEFAULT_VALUE: false class A(val n: Int) { fun foo(): Int { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/unusedDispatchReceiver.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/unusedDispatchReceiver.kt.after index 5e166c8cc540..cba483728fbb 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/unusedDispatchReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/unusedDispatchReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITH_DEFAULT_VALUE: false class A(val n: Int) { fun foo(i: Int): Int { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/unusedExtensionReceiver.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/unusedExtensionReceiver.kt index a213f3e7f5d8..6140ee861c06 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/unusedExtensionReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/unusedExtensionReceiver.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITH_DEFAULT_VALUE: false class A(val n: Int) diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/unusedExtensionReceiver.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/unusedExtensionReceiver.kt.after index 191b02e9b2cd..8b32c1e2b595 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/unusedExtensionReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceParameter/unusedExtensionReceiver.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // WITH_DEFAULT_VALUE: false class A(val n: Int) diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyMultipleExpressions.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyMultipleExpressions.kt index ec41ca6fd535..43e1797b7c99 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyMultipleExpressions.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyMultipleExpressions.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // EXTRACTION_TARGET: lazy property class A { fun foo(): Int { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyMultipleExpressions.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyMultipleExpressions.kt.after index 663ad92ea9ac..14fec271bfb7 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyMultipleExpressions.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyMultipleExpressions.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // EXTRACTION_TARGET: lazy property class A { private val i: Int by lazy { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyToClass.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyToClass.kt index 013b060075cd..73b96ae4e5a5 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyToClass.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyToClass.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // EXTRACTION_TARGET: lazy property class A(val n: Int = 1) { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyToClass.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyToClass.kt.after index 086f19a4b46e..954a3ec9f061 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyToClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyToClass.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // EXTRACTION_TARGET: lazy property class A(val n: Int = 1) { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyToFile.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyToFile.kt index 7e0ebee84bc7..174ef6ec72ba 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyToFile.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyToFile.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // EXTRACTION_TARGET: lazy property val n: Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyToFile.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyToFile.kt.after index 871502b22235..a263958b7824 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyToFile.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyToFile.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // EXTRACTION_TARGET: lazy property val n: Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyWithBlock.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyWithBlock.kt index 8d498b6ceafd..5664f3d258a6 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyWithBlock.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyWithBlock.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // EXTRACTION_TARGET: lazy property class A(val n: Int = 1) { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyWithBlock.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyWithBlock.kt.after index 391c95ec0853..1bb2fdacf7ee 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyWithBlock.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/extractLazyWithBlock.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // EXTRACTION_TARGET: lazy property class A(val n: Int = 1) { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/typeParameterNotResolvableInTargetScope.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/typeParameterNotResolvableInTargetScope.kt index cbabe07ac5ae..075c52b6c6c0 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/typeParameterNotResolvableInTargetScope.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/typeParameterNotResolvableInTargetScope.kt @@ -1,5 +1,5 @@ // EXTRACTION_TARGET: property with getter -// WITH_RUNTIME +// WITH_STDLIB import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/typeParameterNotResolvableInTargetScope.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/typeParameterNotResolvableInTargetScope.kt.after index b9961b8e82ad..554a4f8e10c4 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/typeParameterNotResolvableInTargetScope.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/typeParameterNotResolvableInTargetScope.kt.after @@ -1,5 +1,5 @@ // EXTRACTION_TARGET: property with getter -// WITH_RUNTIME +// WITH_STDLIB import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/typeParameterResolvableInTargetScope.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/typeParameterResolvableInTargetScope.kt index 1b150c2e3f56..30689311774f 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/typeParameterResolvableInTargetScope.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/typeParameterResolvableInTargetScope.kt @@ -1,5 +1,5 @@ // EXTRACTION_TARGET: property with initializer -// WITH_RUNTIME +// WITH_STDLIB import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/typeParameterResolvableInTargetScope.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/typeParameterResolvableInTargetScope.kt.after index bb93184ba450..341d381fb1bc 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/typeParameterResolvableInTargetScope.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceProperty/typeParameterResolvableInTargetScope.kt.after @@ -1,5 +1,5 @@ // EXTRACTION_TARGET: property with initializer -// WITH_RUNTIME +// WITH_STDLIB import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceTypeAlias/suggestedName.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceTypeAlias/suggestedName.kt index 963f6cfaec5f..f7073182ab46 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceTypeAlias/suggestedName.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceTypeAlias/suggestedName.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: fun foo(list: List<(String?) -> Boolean>) { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceTypeAlias/suggestedName.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceTypeAlias/suggestedName.kt.after index c805dc286e3a..5e69beeca8e7 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceTypeAlias/suggestedName.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceTypeAlias/suggestedName.kt.after @@ -1,6 +1,6 @@ typealias NullableStringToBooleanList = List<(String?) -> Boolean> -// WITH_RUNTIME +// WITH_STDLIB // SIBLING: fun foo(list: NullableStringToBooleanList) { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/ComplexCallee.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/ComplexCallee.kt index dedca1a8f9cf..09f15735c370 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/ComplexCallee.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/ComplexCallee.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun fn(index : Int, list: List<()->Unit>) { when { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/ComplexCallee.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/ComplexCallee.kt.after index 31df8b9a0426..e0d092c813b0 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/ComplexCallee.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/ComplexCallee.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun fn(index : Int, list: List<()->Unit>) { when { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/FunctionLiteral.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/FunctionLiteral.kt index 97416523608f..3966588064aa 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/FunctionLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/FunctionLiteral.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(c : Collection){ c.filter{it; false} } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/FunctionLiteral.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/FunctionLiteral.kt.after index f56fa8ffcf26..87bf26a76d1a 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/FunctionLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/FunctionLiteral.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(c : Collection){ val predicate: (String) -> Boolean = { it; false } c.filter(predicate) diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/FunctionLiteralWithExtraArgs.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/FunctionLiteralWithExtraArgs.kt index 8da215017ca4..679eb7db723d 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/FunctionLiteralWithExtraArgs.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/FunctionLiteralWithExtraArgs.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(c : Collection){ c.filterTo(ArrayList()){ it.length > 1 } } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/FunctionLiteralWithExtraArgs.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/FunctionLiteralWithExtraArgs.kt.after index d477781b1e1c..f7b4d5cedf6c 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/FunctionLiteralWithExtraArgs.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/FunctionLiteralWithExtraArgs.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(c : Collection){ val predicate: (String) -> Boolean = { it.length > 1 } c.filterTo(ArrayList(), predicate) diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/IntroduceLambdaAndCreateBlock.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/IntroduceLambdaAndCreateBlock.kt index d23762a8e91e..a3d5f25d977f 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/IntroduceLambdaAndCreateBlock.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/IntroduceLambdaAndCreateBlock.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(p: Int, list: List) { if (p > 0) list.filter { it > 0 } diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/IntroduceLambdaAndCreateBlock.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/IntroduceLambdaAndCreateBlock.kt.after index 8397c3dde4a5..f5e2c63699a2 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/IntroduceLambdaAndCreateBlock.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/IntroduceLambdaAndCreateBlock.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo(p: Int, list: List) { if (p > 0) { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/NoExplicitReceivers.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/NoExplicitReceivers.kt index 617c593d7bdc..5e9c18bf3d03 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/NoExplicitReceivers.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/NoExplicitReceivers.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main(args: Array) { with(A()) { println(prop) diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/NoExplicitReceivers.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/NoExplicitReceivers.kt.after index 5fafc9f70bae..fbb10916e1e5 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/NoExplicitReceivers.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/NoExplicitReceivers.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main(args: Array) { with(A()) { val message = prop diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/arrayAssignment.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/arrayAssignment.kt index c6e23d765c9f..9f7ad9dce8c9 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/arrayAssignment.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/arrayAssignment.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo(var bar: IntArray) fun test() { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/arrayAssignment.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/arrayAssignment.kt.after index dd0fb2b50eff..be45b58b0e1a 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/arrayAssignment.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/arrayAssignment.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo(var bar: IntArray) fun test() { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/DeeperNestedCall.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/DeeperNestedCall.kt index c07a1ae65ee8..c8e60b2d4970 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/DeeperNestedCall.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/DeeperNestedCall.kt @@ -1,5 +1,5 @@ // COMPILER_ARGUMENTS: -XXLanguage:-NewInference -// WITH_RUNTIME +// WITH_STDLIB import java.util.ArrayList fun f() { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/DeeperNestedCall.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/DeeperNestedCall.kt.after index a2ba99ef2f27..1b92ebb52285 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/DeeperNestedCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/DeeperNestedCall.kt.after @@ -1,5 +1,5 @@ // COMPILER_ARGUMENTS: -XXLanguage:-NewInference -// WITH_RUNTIME +// WITH_STDLIB import java.util.ArrayList fun f() { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/NestedCall.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/NestedCall.kt index d506c740c3e8..aa597d7376ca 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/NestedCall.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/NestedCall.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.ArrayList fun f() { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/NestedCall.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/NestedCall.kt.after index c024ec2578ef..26cfce79cdd6 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/NestedCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/NestedCall.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.ArrayList fun f() { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Parenthesized.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Parenthesized.kt index 50698ea82c64..b195a44478d6 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Parenthesized.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Parenthesized.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun f() { val v : List = (listOf()) } diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Parenthesized.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Parenthesized.kt.after index 0c20568e981c..10e4d220b13e 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Parenthesized.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Parenthesized.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun f() { val listOf = listOf() val v : List = listOf diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Qualified.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Qualified.kt index cd6abf58becb..7844e5462494 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Qualified.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Qualified.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun String.ext(): List = listOf() fun f() { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Qualified.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Qualified.kt.after index 334b080fb886..28b64ce01bde 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Qualified.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Qualified.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun String.ext(): List = listOf() fun f() { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Simple.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Simple.kt index 5cae582bdac3..81dfb684f09d 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Simple.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Simple.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun f() { val v : List = listOf() } diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Simple.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Simple.kt.after index 0c20568e981c..10e4d220b13e 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/Simple.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun f() { val listOf = listOf() val v : List = listOf diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/UnmatchedOccurrences.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/UnmatchedOccurrences.kt index 102821f5dd5c..2ea4c896266f 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/UnmatchedOccurrences.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/UnmatchedOccurrences.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun f() { val v : List = listOf() val u : List = listOf() diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/UnmatchedOccurrences.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/UnmatchedOccurrences.kt.after index b592f4f761f6..68fc053c4f86 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/UnmatchedOccurrences.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/explicateTypeArguments/UnmatchedOccurrences.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun f() { val listOf = listOf() val v : List = listOf diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/array.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/array.kt index 76cb424b71a1..acf66e8cfc4c 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/array.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/array.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { arrayOf("1", "2", "3") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/array.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/array.kt.after index a88dfcc394be..5f0ec6448d33 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/array.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/array.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val arrayOf = arrayOf("1", "2", "3") } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/intArray.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/intArray.kt index 348087dbf9bf..b6db9a19fcad 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/intArray.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/intArray.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { intArrayOf(1, 2, 3) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/intArray.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/intArray.kt.after index bbd1f9096738..f2bc0c583b8c 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/intArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/intArray.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val intArrayOf = intArrayOf(1, 2, 3) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/list.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/list.kt index c598c14a927d..97687b847fb2 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/list.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/list.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { listOf(1, 2, 3) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/list.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/list.kt.after index 9250e09e9532..33dff6606c01 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/list.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/list.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun foo() { val listOf = listOf(1, 2, 3) } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/unusedExpr.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/unusedExpr.kt index b43b2751f1e8..bddcf137f63d 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/unusedExpr.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/unusedExpr.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { 1 to 2 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/unusedExpr.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/unusedExpr.kt.after index c351e88bd399..4628cf84b889 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/unusedExpr.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/unusedExpr.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val (i, i1) = 1 to 2 } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/usedExpr.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/usedExpr.kt index 34acc5a6e809..4521dff23fcb 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/usedExpr.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/usedExpr.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { (1 to 2).first } \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/usedExpr.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/usedExpr.kt.after index e31180605c1d..e721b7196df2 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/usedExpr.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/usedExpr.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun test() { val pair = 1 to 2 pair.first diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/onAssignmentLHS.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/onAssignmentLHS.kt index bf040348c461..9eaa93d700a2 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/onAssignmentLHS.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/onAssignmentLHS.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo(var bar: Int) fun test() { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/selectorAssignment.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/selectorAssignment.kt index 15e4f68d77a1..a8cbaa287c17 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/selectorAssignment.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/selectorAssignment.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo(var bar: Bar) class Bar(var baz: Int) diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/selectorAssignment.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/selectorAssignment.kt.after index 359661e7ea85..493116c439a3 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/selectorAssignment.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/selectorAssignment.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo(var bar: Bar) class Bar(var baz: Int) diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/skipClassReference.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/skipClassReference.kt index 2ad782dacfef..1790aba675fa 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/skipClassReference.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/skipClassReference.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.* fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/skipClassReference.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/skipClassReference.kt.after index 18588f7b9c7a..0433a99caaee 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/skipClassReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/skipClassReference.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.* fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/skipUsageInAssignmentLHS.kt b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/skipUsageInAssignmentLHS.kt index aaaa8932d419..598db6b807e9 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/skipUsageInAssignmentLHS.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/skipUsageInAssignmentLHS.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo(var bar: Int) fun test() { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/skipUsageInAssignmentLHS.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/skipUsageInAssignmentLHS.kt.after index 29adf8b30765..55e5776e4f63 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/skipUsageInAssignmentLHS.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/skipUsageInAssignmentLHS.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Foo(var bar: Int) fun test() { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/Iterable.kt b/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/Iterable.kt index 37ce4e44fafc..7ac678e1c309 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/Iterable.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/Iterable.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Sample fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/ListOfClasses.kt b/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/ListOfClasses.kt index f79dc842540c..e253d6b641c0 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/ListOfClasses.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/ListOfClasses.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB class Sample fun foo() { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/ListOfInts.kt b/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/ListOfInts.kt index 33e3c990c1a9..e24207568bd5 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/ListOfInts.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/ListOfInts.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main(args : Array) { ArrayList() } diff --git a/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/ParameterNameByArgumentExpression.kt b/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/ParameterNameByArgumentExpression.kt index 97714ba67b94..db3cd4557a33 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/ParameterNameByArgumentExpression.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/ParameterNameByArgumentExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun x(items : Sequence) {} fun y() { x(sequenceOf("")) diff --git a/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/ParameterNameByParenthesizedArgumentExpression.kt b/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/ParameterNameByParenthesizedArgumentExpression.kt index 385629ef954c..48a5adf02e89 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/ParameterNameByParenthesizedArgumentExpression.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/ParameterNameByParenthesizedArgumentExpression.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun x(items : Sequence) {} fun y() { x(foo@ (sequenceOf(""))) diff --git a/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/StringIntMap.kt b/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/StringIntMap.kt index e8adf67bbb5c..87b8632f42a3 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/StringIntMap.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/nameSuggester/StringIntMap.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun main(args : Array) { HashMap() } diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/constructorParameterToClass.kt b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/constructorParameterToClass.kt index 8dca401fbb0f..199047879cf8 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/constructorParameterToClass.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/constructorParameterToClass.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class B( // INFO: {"checked": "true"} val n: Int, diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/constructorParameterToClass.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/constructorParameterToClass.kt.after index 6e55c71ab1a3..175e5d8f5063 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/constructorParameterToClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/constructorParameterToClass.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class B( // INFO: {"checked": "true"} // INFO: {"checked": "true"} diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClass.kt b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClass.kt index c22e18ae3889..249a0dea3f95 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClass.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClass.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class B: A() { companion object { // INFO: {"checked": "true"} diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClass.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClass.kt.after index 99f6a815d933..172177a26300 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClass.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class B: A() { // INFO: {"checked": "true"} diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClassAndMakeAbstract.kt b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClassAndMakeAbstract.kt index 5294fd29b6c7..12a98380cc2e 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClassAndMakeAbstract.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClassAndMakeAbstract.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class B: A() { // INFO: {"checked": "true", "toAbstract": "true"} val x = 1 diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClassAndMakeAbstract.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClassAndMakeAbstract.kt.after index 3063312d3ea5..e405ce783486 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClassAndMakeAbstract.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClassAndMakeAbstract.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class B: A() { // INFO: {"checked": "true", "toAbstract": "true"} val y: Int get() = 2 diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClassWithGenerics.kt b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClassWithGenerics.kt index 6b7e5bea1518..e06c342f7cdf 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClassWithGenerics.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClassWithGenerics.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface I interface Z diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClassWithGenerics.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClassWithGenerics.kt.after index b26204b4ce4f..fc483c35a208 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClassWithGenerics.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToClassWithGenerics.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface I interface Z diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToInterface.kt b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToInterface.kt index 73bd1d3b8b89..a25c435a8d48 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToInterface.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToInterface.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class B: I { // INFO: {"checked": "true"} val x = 1 diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToInterface.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToInterface.kt.after index 464bacfba976..e59a692bebd4 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToInterface.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class B: I { // INFO: {"checked": "true"} val x = 1 diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToNestedClass.kt b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToNestedClass.kt index 919f66d377fc..a72c3582b0ad 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToNestedClass.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToNestedClass.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class B: T.A() { // INFO: {"checked": "true"} val x = 1 diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToNestedClass.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToNestedClass.kt.after index 104444d5dd78..ac5e6fa93d52 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToNestedClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2j/fromClassToNestedClass.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class B: T.A() { // INFO: {"checked": "true"} val y: Int get() = 2 diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/abstractFromInterfaceToInterface.kt b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/abstractFromInterfaceToInterface.kt index 3a79e24c6488..57beb2a1e325 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/abstractFromInterfaceToInterface.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/abstractFromInterfaceToInterface.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface T interface U: T { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/abstractFromInterfaceToInterface.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/abstractFromInterfaceToInterface.kt.after index 7b183b718216..0bb25d87695b 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/abstractFromInterfaceToInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/abstractFromInterfaceToInterface.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface T { // INFO: {"checked": "true"} val x: Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClass.kt b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClass.kt index 0d40114bf828..e0997f7fab87 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClass.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClass.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB open class A abstract class B: A() { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClass.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClass.kt.after index 6c152e80a726..5fe69a98ed0e 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClass.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class A { // INFO: {"checked": "true"} val x = 1 diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClassMakeAbstract.kt b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClassMakeAbstract.kt index a3cd3d173614..d90cb705af8b 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClassMakeAbstract.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClassMakeAbstract.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB open class A abstract class B: A() { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClassMakeAbstract.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClassMakeAbstract.kt.after index e0b3cb506a7b..414e099a2c01 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClassMakeAbstract.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClassMakeAbstract.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB abstract class A { // INFO: {"checked": "true", "toAbstract": "true"} abstract val x: Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClassWithGenerics.kt b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClassWithGenerics.kt index b42f59241099..49bc39559a9f 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClassWithGenerics.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClassWithGenerics.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface I interface Z diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClassWithGenerics.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClassWithGenerics.kt.after index 495c5936c620..2b6e677356ea 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClassWithGenerics.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToClassWithGenerics.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface I interface Z diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToInterface.kt b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToInterface.kt index 499fb7d8702b..d2e5611b7608 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToInterface.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToInterface.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface T abstract class B: T { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToInterface.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToInterface.kt.after index a3a9ec682684..6f225d91fd88 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToInterface.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface T { // INFO: {"checked": "true"} val x: Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToInterfaceMakeAbstract.kt b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToInterfaceMakeAbstract.kt index 464536d9a140..22530cf3ccb2 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToInterfaceMakeAbstract.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToInterfaceMakeAbstract.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface T abstract class B: T { diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToInterfaceMakeAbstract.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToInterfaceMakeAbstract.kt.after index a20cc2f25c2a..b8d567b130b9 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToInterfaceMakeAbstract.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/fromClassToInterfaceMakeAbstract.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface T { // INFO: {"checked": "true", "toAbstract": "true"} val x: Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/innerClassToInterface.kt b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/innerClassToInterface.kt index 86069d5243a8..83a044227ee7 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/innerClassToInterface.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/pullUp/k2k/innerClassToInterface.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB interface T abstract class B: T { diff --git a/plugins/kotlin/idea/tests/testData/slicer/inflow/funParamerer.kt b/plugins/kotlin/idea/tests/testData/slicer/inflow/funParamerer.kt index e7980e7caf33..7118947df6c0 100644 --- a/plugins/kotlin/idea/tests/testData/slicer/inflow/funParamerer.kt +++ b/plugins/kotlin/idea/tests/testData/slicer/inflow/funParamerer.kt @@ -1,5 +1,5 @@ // FLOW: IN -// WITH_RUNTIME +// WITH_STDLIB @JvmOverloads fun foo(n: Int, s: String = "???") { diff --git a/plugins/kotlin/idea/tests/testData/slicer/inflow/funParamererWithDefault.kt b/plugins/kotlin/idea/tests/testData/slicer/inflow/funParamererWithDefault.kt index 1b4c7c27241f..6f72360a5579 100644 --- a/plugins/kotlin/idea/tests/testData/slicer/inflow/funParamererWithDefault.kt +++ b/plugins/kotlin/idea/tests/testData/slicer/inflow/funParamererWithDefault.kt @@ -1,5 +1,5 @@ // FLOW: IN -// WITH_RUNTIME +// WITH_STDLIB @JvmOverloads fun foo(n: Int, s: String = "???") { diff --git a/plugins/kotlin/idea/tests/testData/slicer/inflow/openFun.kt b/plugins/kotlin/idea/tests/testData/slicer/inflow/openFun.kt index 565cb76b1f1f..4595434aa0e5 100644 --- a/plugins/kotlin/idea/tests/testData/slicer/inflow/openFun.kt +++ b/plugins/kotlin/idea/tests/testData/slicer/inflow/openFun.kt @@ -1,5 +1,5 @@ // FLOW: IN -// WITH_RUNTIME +// WITH_STDLIB open class C { private var other: C? = null diff --git a/plugins/kotlin/idea/tests/testData/slicer/inflow/openFunInvokeOnParameter.kt b/plugins/kotlin/idea/tests/testData/slicer/inflow/openFunInvokeOnParameter.kt index 11e427fbd1fa..588300ce035e 100644 --- a/plugins/kotlin/idea/tests/testData/slicer/inflow/openFunInvokeOnParameter.kt +++ b/plugins/kotlin/idea/tests/testData/slicer/inflow/openFunInvokeOnParameter.kt @@ -1,5 +1,5 @@ // FLOW: IN -// WITH_RUNTIME +// WITH_STDLIB open class C { private var other: C? = null diff --git a/plugins/kotlin/idea/tests/testData/slicer/inflow/primaryConstructorParameter.kt b/plugins/kotlin/idea/tests/testData/slicer/inflow/primaryConstructorParameter.kt index a79bba07ff01..50cdebfd338e 100644 --- a/plugins/kotlin/idea/tests/testData/slicer/inflow/primaryConstructorParameter.kt +++ b/plugins/kotlin/idea/tests/testData/slicer/inflow/primaryConstructorParameter.kt @@ -1,5 +1,5 @@ // FLOW: IN -// WITH_RUNTIME +// WITH_STDLIB open class A @JvmOverloads constructor(n: Int, s: String = "???") diff --git a/plugins/kotlin/idea/tests/testData/slicer/inflow/primaryConstructorParameterWithDefault.kt b/plugins/kotlin/idea/tests/testData/slicer/inflow/primaryConstructorParameterWithDefault.kt index 2d5d157e6979..5d78331d1ddb 100644 --- a/plugins/kotlin/idea/tests/testData/slicer/inflow/primaryConstructorParameterWithDefault.kt +++ b/plugins/kotlin/idea/tests/testData/slicer/inflow/primaryConstructorParameterWithDefault.kt @@ -1,5 +1,5 @@ // FLOW: IN -// WITH_RUNTIME +// WITH_STDLIB open class A @JvmOverloads constructor(n: Int, s: String = "???") diff --git a/plugins/kotlin/idea/tests/testData/slicer/inflow/secondaryConstructorParameter.kt b/plugins/kotlin/idea/tests/testData/slicer/inflow/secondaryConstructorParameter.kt index 734580463730..dadace0699ee 100644 --- a/plugins/kotlin/idea/tests/testData/slicer/inflow/secondaryConstructorParameter.kt +++ b/plugins/kotlin/idea/tests/testData/slicer/inflow/secondaryConstructorParameter.kt @@ -1,5 +1,5 @@ // FLOW: IN -// WITH_RUNTIME +// WITH_STDLIB open class A { @JvmOverloads constructor(n: Int, s: String = "???") diff --git a/plugins/kotlin/idea/tests/testData/slicer/inflow/secondaryConstructorParameterWithDefault.kt b/plugins/kotlin/idea/tests/testData/slicer/inflow/secondaryConstructorParameterWithDefault.kt index d3df8e984970..89d20d9cfa6c 100644 --- a/plugins/kotlin/idea/tests/testData/slicer/inflow/secondaryConstructorParameterWithDefault.kt +++ b/plugins/kotlin/idea/tests/testData/slicer/inflow/secondaryConstructorParameterWithDefault.kt @@ -1,5 +1,5 @@ // FLOW: IN -// WITH_RUNTIME +// WITH_STDLIB open class A { @JvmOverloads constructor(n: Int, s: String = "???") diff --git a/plugins/kotlin/idea/tests/testData/slicer/inflow/settersViaDelegateForQualifiedRef.kt b/plugins/kotlin/idea/tests/testData/slicer/inflow/settersViaDelegateForQualifiedRef.kt index 266f4d6f04c7..168e6bb85fe4 100644 --- a/plugins/kotlin/idea/tests/testData/slicer/inflow/settersViaDelegateForQualifiedRef.kt +++ b/plugins/kotlin/idea/tests/testData/slicer/inflow/settersViaDelegateForQualifiedRef.kt @@ -1,5 +1,5 @@ // FLOW: IN -// WITH_RUNTIME +// WITH_STDLIB import kotlin.reflect.KProperty class Delegate { diff --git a/plugins/kotlin/idea/tests/testData/slicer/outflow/jvmFieldMemberPropertyJavaUsages.kt b/plugins/kotlin/idea/tests/testData/slicer/outflow/jvmFieldMemberPropertyJavaUsages.kt index 8e4763f7dba5..5c49d438a57e 100644 --- a/plugins/kotlin/idea/tests/testData/slicer/outflow/jvmFieldMemberPropertyJavaUsages.kt +++ b/plugins/kotlin/idea/tests/testData/slicer/outflow/jvmFieldMemberPropertyJavaUsages.kt @@ -1,5 +1,5 @@ // FLOW: OUT -// WITH_RUNTIME +// WITH_STDLIB class A { @JvmField val x = 1 diff --git a/plugins/kotlin/idea/tests/testData/slicer/outflow/topLevelPropertyUsages.kt b/plugins/kotlin/idea/tests/testData/slicer/outflow/topLevelPropertyUsages.kt index 2aaf4162d73c..874fc680069b 100644 --- a/plugins/kotlin/idea/tests/testData/slicer/outflow/topLevelPropertyUsages.kt +++ b/plugins/kotlin/idea/tests/testData/slicer/outflow/topLevelPropertyUsages.kt @@ -1,5 +1,5 @@ // FLOW: OUT -// WITH_RUNTIME +// WITH_STDLIB val x = 1 diff --git a/plugins/kotlin/idea/tests/testData/slicer/outflow/wrongThis.kt b/plugins/kotlin/idea/tests/testData/slicer/outflow/wrongThis.kt index 24fc561d566b..7213c1648c28 100644 --- a/plugins/kotlin/idea/tests/testData/slicer/outflow/wrongThis.kt +++ b/plugins/kotlin/idea/tests/testData/slicer/outflow/wrongThis.kt @@ -1,5 +1,5 @@ // FLOW: OUT -// WITH_RUNTIME +// WITH_STDLIB class C { fun String.extensionFun(): Any { diff --git a/plugins/kotlin/idea/tests/testData/usageHighlighter/importAliasFromStdLibClass.kt b/plugins/kotlin/idea/tests/testData/usageHighlighter/importAliasFromStdLibClass.kt index e94eba1d16b1..723262cfe56f 100644 --- a/plugins/kotlin/idea/tests/testData/usageHighlighter/importAliasFromStdLibClass.kt +++ b/plugins/kotlin/idea/tests/testData/usageHighlighter/importAliasFromStdLibClass.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import kotlin.collections.List as ~List1 fun main() { diff --git a/plugins/kotlin/idea/tests/testData/usageHighlighter/importAliasFromStdLibFunction.kt b/plugins/kotlin/idea/tests/testData/usageHighlighter/importAliasFromStdLibFunction.kt index cb2825fe9a89..7183dbab6896 100644 --- a/plugins/kotlin/idea/tests/testData/usageHighlighter/importAliasFromStdLibFunction.kt +++ b/plugins/kotlin/idea/tests/testData/usageHighlighter/importAliasFromStdLibFunction.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import kotlin.let as ~myLet fun main() { diff --git a/plugins/kotlin/idea/tests/testData/usageHighlighter/importAliasFromStdLibFunctionFromObject.kt b/plugins/kotlin/idea/tests/testData/usageHighlighter/importAliasFromStdLibFunctionFromObject.kt index 3a3a7a70bcb1..d857f5e65dd5 100644 --- a/plugins/kotlin/idea/tests/testData/usageHighlighter/importAliasFromStdLibFunctionFromObject.kt +++ b/plugins/kotlin/idea/tests/testData/usageHighlighter/importAliasFromStdLibFunctionFromObject.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import kotlin.Result.Companion.success as ~mySuccess fun main() { diff --git a/plugins/kotlin/idea/tests/testData/usageHighlighter/importAliasFromStdLibPropertyFromObject.kt b/plugins/kotlin/idea/tests/testData/usageHighlighter/importAliasFromStdLibPropertyFromObject.kt index bc069fbbb760..9961586ec10c 100644 --- a/plugins/kotlin/idea/tests/testData/usageHighlighter/importAliasFromStdLibPropertyFromObject.kt +++ b/plugins/kotlin/idea/tests/testData/usageHighlighter/importAliasFromStdLibPropertyFromObject.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import kotlin.Int.Companion.MAX_VALUE as ~maxValue fun main() { diff --git a/plugins/kotlin/jvm-debugger/test/testData/fileRanking/propertyDelegates.kt b/plugins/kotlin/jvm-debugger/test/testData/fileRanking/propertyDelegates.kt index 6d60b7ceb61c..1e028d6eb9a7 100644 --- a/plugins/kotlin/jvm-debugger/test/testData/fileRanking/propertyDelegates.kt +++ b/plugins/kotlin/jvm-debugger/test/testData/fileRanking/propertyDelegates.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB //FILE: a/a.kt package foo diff --git a/plugins/kotlin/jvm-debugger/test/testData/fileRanking/topLevel.kt b/plugins/kotlin/jvm-debugger/test/testData/fileRanking/topLevel.kt index f3d4c69b0e04..4f7aff8d00ba 100644 --- a/plugins/kotlin/jvm-debugger/test/testData/fileRanking/topLevel.kt +++ b/plugins/kotlin/jvm-debugger/test/testData/fileRanking/topLevel.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB //FILE: a/a.kt package a diff --git a/plugins/kotlin/test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt b/plugins/kotlin/test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt index 2b0e3718f90b..263e327ef9f2 100644 --- a/plugins/kotlin/test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt +++ b/plugins/kotlin/test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt @@ -196,9 +196,10 @@ abstract class KotlinLightCodeInsightFixtureTestCase : KotlinLightCodeInsightFix val minJavaVersion = InTextDirectivesUtils.findStringWithPrefixes(fileText, "MIN_JAVA_VERSION:")?.toInt() if (minJavaVersion != null && !(InTextDirectivesUtils.isDirectiveDefined(fileText, "RUNTIME") || - InTextDirectivesUtils.isDirectiveDefined(fileText, "WITH_RUNTIME")) + InTextDirectivesUtils.isDirectiveDefined(fileText, "WITH_RUNTIME") || + InTextDirectivesUtils.isDirectiveDefined(fileText, "WITH_STDLIB")) ) { - error("MIN_JAVA_VERSION so far is supported for RUNTIME/WITH_RUNTIME only") + error("MIN_JAVA_VERSION so far is supported for RUNTIME/WITH_STDLIB only") } return when { withLibraryDirective.isNotEmpty() -> @@ -226,7 +227,8 @@ abstract class KotlinLightCodeInsightFixtureTestCase : KotlinLightCodeInsightFix KotlinWithJdkAndRuntimeLightProjectDescriptor.INSTANCE_WITH_SCRIPT_RUNTIME InTextDirectivesUtils.isDirectiveDefined(fileText, "RUNTIME") || - InTextDirectivesUtils.isDirectiveDefined(fileText, "WITH_RUNTIME") -> + InTextDirectivesUtils.isDirectiveDefined(fileText, "WITH_RUNTIME") || + InTextDirectivesUtils.isDirectiveDefined(fileText, "WITH_STDLIB") -> if (minJavaVersion != null) { object : KotlinWithJdkAndRuntimeLightProjectDescriptor(INSTANCE.libraryFiles, INSTANCE.librarySourceFiles) { val sdkValue by lazy { sdk(minJavaVersion) }