diff --git a/java/java-impl/resources/inspectionDescriptions/ClassCanBeRecord.html b/java/java-impl/resources/inspectionDescriptions/ClassCanBeRecord.html index 5fdb29caef7e..824f2627e735 100644 --- a/java/java-impl/resources/inspectionDescriptions/ClassCanBeRecord.html +++ b/java/java-impl/resources/inspectionDescriptions/ClassCanBeRecord.html @@ -41,7 +41,7 @@ Automatic implicit implementation of data-driven methods, such as equals()

Enable the Suggest renaming accessor methods option to rename getX()/isX() accessors to x() automatically.

- Use the Don't report if members will become more accessible option to exclude classes whose members' + Use the Don't report if members become more accessible option to exclude classes whose members' accessibility would be weakened by conversion. Quick-fix will stay available as an intention, and triggering it will show the affected members and ask for confirmation. In batch mode conversion will not be suggested. diff --git a/java/openapi/resources/messages/JavaBundle.properties b/java/openapi/resources/messages/JavaBundle.properties index b399b97bce4d..16eeb8ef6c47 100644 --- a/java/openapi/resources/messages/JavaBundle.properties +++ b/java/openapi/resources/messages/JavaBundle.properties @@ -1473,7 +1473,7 @@ intention.family.name.convert.record.to.class=Convert record to class class.can.be.record.display.name=Class can be record class class.can.be.record.quick.fix=Convert to record class class.can.be.record.suggest.renaming.accessors=Suggest renaming accessor methods -class.can.be.record.record.highlight.when.semantics.change=Don't report if members will become more accessible +class.can.be.record.record.highlight.when.semantics.change=Don't report if members become more accessible class.can.be.record.record.highlight.when.semantics.change.description=Quick-fix will still be available class.can.be.record.suppress.conversion.if.annotated=Suppress conversion if the class is annotated by: class.can.be.record.suppress.conversion.if.annotated.fix.name=Suppress record conversion if annotated by ''{0}''