[java] IDEA-374204 JEP 512: use 'Compact Source Files' for implicitly declared classes

GitOrigin-RevId: e77a013fa84cbafbfec866f6489147115532f656
This commit is contained in:
Mikhail Pyltsin
2025-06-20 09:50:41 +00:00
committed by intellij-monorepo-bot
parent d686860d3e
commit c96660523e
26 changed files with 42 additions and 42 deletions
@@ -182,7 +182,7 @@ dialog.title.testdatapath.method.generate=Generate methods from @TestDataPath
dialog.title.testdatapath.file.generate=Generate files from class to @TestDataPath
enum.not.allowed=Enum is not allowed
error.attempt.to.generate.constructor.for.anonymous.class=Cannot add constructor to an anonymous class
error.attempt.to.generate.constructor.for.implicit.class=Cannot add constructor to an implicitly declared class
error.attempt.to.generate.constructor.for.implicit.class=Cannot add constructor to an implicitly declared class of a compact source file
error.hint.no.expression.found=No expression found
error.package.already.contains.package-info=''package-info.java'' already exists for package ''{0}''
error.package.already.contains.package.html=Package ''{0}'' already has a ''package.html'' file. Create ''package-info.java'' anyway?
@@ -725,10 +725,10 @@ inspection.string.template.reverse.migration.string.message=String template can
inspection.string.template.migration.concatenation.message=Concatenation can be replaced with string template
inspection.string.template.migration.name=String template can be used
inspection.string.template.reverse.migration.name=String template can be concatenated string
inspection.implicit.to.explicit.class.backward.migration.name=Implicitly declared class can be replaced with ordinary class
inspection.implicit.to.explicit.class.backward.migration.fix.name=Convert implicitly declared class into regular class
inspection.explicit.to.implicit.class.migration.name=Explicit class declaration can be converted into implicitly declared class
inspection.explicit.to.implicit.class.migration.fix.name=Convert into implicitly declared class
inspection.implicit.to.explicit.class.backward.migration.name=Compact source file can be replaced with an ordinary class
inspection.implicit.to.explicit.class.backward.migration.fix.name=Convert an implicitly declared class of a compact source file into a regular class
inspection.explicit.to.implicit.class.migration.name=Explicit class declaration can be converted into a compact source file
inspection.explicit.to.implicit.class.migration.fix.name=Convert into compact source file
inspection.explicit.to.implicit.move.to.root.title=Move Simple Source File
inspection.explicit.to.implicit.move.to.root.move=Move under the project root
inspection.explicit.to.implicit.move.to.root.delete.package=Don't move, only delete package statement
@@ -1323,7 +1323,7 @@ live.template.context.declaration=Declaration
live.template.context.statement.java.lang.io=Statement with available java.lang.IO
live.template.context.normal.class.before.instance.main.declaration=Declaration inside a normal class without instance 'main' method
live.template.context.normal.class.after.instance.main.declaration=Declaration inside a normal class with instance 'main' method
live.template.context.implicit.class.declaration=Declaration inside an implicitly declared class
live.template.context.implicit.class.declaration=Declaration inside a compact source file
inspection.unused.display.name=Unused declaration
inspection.unused.assignment.display.name=Unused assignment
inspection.unchecked.warning.display.name=Unchecked warning
@@ -822,7 +822,7 @@ dialog.message.moving.directories.to=Moving directories to ''{0}''
progress.title.collect.hierarchy=Collect ''{0}'' hierarchy
introduce.variable.message.change.semantics.warning=Extracting the selected expression changes the semantics of the surrounding expression.
introduce.variable.message.expression.refers.to.pattern.variable.declared.outside=The selected expression refers to pattern variable ''{0}'', which will be out of scope.
introduce.variable.message.cannot.extract.in.implicit.class=Cannot extract in implicitly declared class.
introduce.variable.message.cannot.extract.in.implicit.class=Cannot extract in compact source file.
introduce.variable.message.cannot.extract.variable.in.interface=Cannot extract variable in an interface.
tooltip.cannot.inline.pattern.variable=Cannot inline pattern variable
inline.popup.highlight=Highlight {0} conflicting {0, choice, 1#write|2#writes}