[java-inspections] IDEA-371838 Convert SideEffectsMethodRefToLambdaFix to ModCommand

GitOrigin-RevId: 8e1fff8b05604adf5fe3e6dc853d8ac952b5a242
This commit is contained in:
Tagir Valeev
2025-04-29 13:01:39 +00:00
committed by intellij-monorepo-bot
parent 943fdcf538
commit 5fd8eb4a09
87 changed files with 210 additions and 301 deletions
@@ -2129,6 +2129,8 @@ lambda.can.be.replaced.with.anonymous.name=Lambda can be replaced with anonymous
lambda.can.be.replaced.with.anonymous.quickfix=Replace lambda with anonymous class
method.ref.can.be.replaced.with.lambda.name=Method reference can be replaced with lambda
method.ref.can.be.replaced.with.lambda.quickfix=Replace method reference with lambda
method.ref.can.be.replaced.with.lambda.quickfix.side.effects=Extract possible side effects into a variable
method.ref.can.be.replaced.with.lambda.quickfix.no.side.effects=Keep possible side effects inside lambda
try.statement.with.multiple.resources.name='try' statement with multiple resources can be split
try.statement.with.multiple.resources.quickfix=Split 'try' statement with multiple resources
multi.catch.can.be.split.name=Multi-catch can be split into separate catch blocks
@@ -2455,7 +2457,6 @@ use.equalsignorecase.for.case.insensitive.comparison=Use 'equalsIgnoreCase()' fo
use.contentequals=Use 'contentEquals()' for comparison with 'AbstractStringBuilder'
use.isblank.to.check.if.string.is.whitespace.or.empty=Use 'isBlank()' to check if a string is empty or only contains whitespace
make.class.final.fix.family.name=Make class final
side.effects.method.ref.to.lambda.fix.family.name={0} (side effects)
encapsulate.variable.fix.family.name=Encapsulate field
method.may.be.static.replaces.qualifiers.with.class.references.option=Quick-fix replaces instance qualifiers with class references
method.may.be.static.ignore.default.methods.option=Ignore 'default' methods