[java-refactoring] ReplaceConstructorWithBuilderProcessor: use anchor instead of null, as new conflict dialog requires it

Fixes IDEA-354549 Creating builder from constructor not working

GitOrigin-RevId: e793d9fff9af4125a5b442069e70e7bc314b6912
This commit is contained in:
Tagir Valeev
2024-08-29 14:14:12 +02:00
committed by intellij-monorepo-bot
parent 07c73fd64a
commit f7976fa52c
2 changed files with 4 additions and 3 deletions

View File

@@ -774,7 +774,7 @@ replace.constructor.builder.error.no.constructors=Current class doesn't have con
replace.constructor.builder.error.caret.position=The caret should be positioned inside a class whose constructors are to be replaced with builder.
replace.constructor.builder.error.no.constructor.chain=Found constructors are not reducible to a simple chain
replace.constructor.builder.error.class.with.chosen.name.already.exist=A class with the selected name already exist.
replace.constructor.builder.error.selected.class.was.not.found=Selected class was not found.
replace.constructor.builder.error.selected.class.was.not.found=Selected builder class ''{0}'' was not found.
replace.constructor.factory.error.invalid.factory.method.name=''{0}'' not a valid factory method name
replace.constructor.factory.error.factory.method.already.exists=Factory method {0} already exists and will be used instead of the newly created.
java.safe.delete.empty.callee.text=Callee text would be shown here