[java-inspections] ReplaceWithConstantValueFix: suggest to extract side effects when applicable

Fixes IDEA-323618 Side-effect ignored by code assist

GitOrigin-RevId: 6206743a4af64948f95d722708e42caf05dda2f3
This commit is contained in:
Tagir Valeev
2023-07-03 20:35:10 +02:00
committed by intellij-monorepo-bot
parent 37ac327415
commit cf2584bfdd
6 changed files with 107 additions and 19 deletions

View File

@@ -385,6 +385,7 @@ replace.with.0=Replace with {0}
replace.with.stream.api.fix=Collapse loop with stream ''{0}()''
replace.with.comparator=Replace with comparator
replace.with.constant.value=Replace with constant value
replace.with.constant.value.title=Replace with Constant Value
replace.with.expression.lambda=Replace with expression lambda
replace.with.lambda=Replace with lambda
replace.with.boolean.equals=Replace with Boolean.equals