mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 15:52:01 +07:00
IJPF-CR-29151 [java] IDEA-374204 JEP 512: use 'Compact Source Files' for implicitly declared classes
- fix naming (cherry picked from commit 91c2c095f5ca3b2ac3d6fc6de8d85b4f7205cfe7) (cherry picked from commit e9c066e0a80b0154b69f1cf94334ab1e209dd74f) IJ-MR-169535 GitOrigin-RevId: 305bc4173b42de65872f95e867b193eaef35a8c8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
08cc5dd193
commit
d6bb45a7d4
@@ -136,8 +136,8 @@ class.or.package.expected=Expected class or package
|
||||
class.inherits.abstract.and.default={0} inherits abstract and default for {1} from types {2} and {3}
|
||||
class.inherits.unrelated.defaults={0} inherits unrelated defaults for {1} from types {2} and {3}
|
||||
|
||||
class.implicit.no.main.method=Compact source files contains no 'main' method
|
||||
class.implicit.invalid.file.name=The file name of a compact source file is not a valid identifier
|
||||
class.implicit.no.main.method=Compact source file contains no 'main' method
|
||||
class.implicit.invalid.file.name=The name of a compact source file is not a valid identifier
|
||||
class.implicit.initializer=Initializers are not allowed in compact source files
|
||||
class.implicit.package.statement=Package statement is not allowed in compact source files
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ the.selected.class.is.an.annotation.type=The selected class is an annotation int
|
||||
the.refactoring.is.not.supported.on.non.static.inner.classes=The refactoring is not supported on non-static inner classes.
|
||||
the.selected.class.has.no.members.to.extract=The selected class has no members to extract.
|
||||
the.selected.class.should.belong.to.project.sources=The selected class should belong to project sources
|
||||
refactoring.cannot.be.done.in.implicit.class=Refactoring cannot be done in compact source files
|
||||
refactoring.cannot.be.done.in.implicit.class=Cannot refactor compact source files
|
||||
references.to.extract=References to extract ( {0, choice, 0#(Not found)|1#{0} reference|2#{0} references}{1, choice, 0#|1# in {1} file|2# in {1} files})
|
||||
extract.class.as.enum.column.title=As Enum
|
||||
extract.class.depends.on.0.from.1.tooltip=Depends on {0} from {1}
|
||||
|
||||
@@ -58,12 +58,12 @@ feature.javadoc.snippets=@snippet in Javadoc
|
||||
feature.pattern.guard.and.record.patterns=Pattern guards and record patterns
|
||||
feature.record.patterns.in.for.each=Record patterns in for-each loops
|
||||
feature.primitive.types.in.patterns=Primitive types in patterns, instanceof and switch
|
||||
feature.implicit.import.in.implicit.classes=Implicit import in compact source files
|
||||
feature.implicit.import.in.implicit.classes=Implicit import in a compact source file
|
||||
feature.enum.qualified.name.in.switch=Qualified enum as a constant in switch
|
||||
feature.string.templates=String templates
|
||||
feature.unnamed.vars=Unnamed patterns and variables
|
||||
feature.implicit.classes=Compact source files
|
||||
feature.implicit.class.name.out.of.scope=Names of implicitly declared class of a compact source file are out of scopes
|
||||
feature.implicit.class.name.out.of.scope=The name of an implicitly declared class of a compact source file is out of scope
|
||||
feature.instance.main.method=Instance main method
|
||||
feature.inherited.static.main.method=Inherited static main method
|
||||
feature.scoped.values=Scoped Values
|
||||
|
||||
@@ -1 +1 @@
|
||||
<error descr="The file name of a compact source file is not a valid identifier">void main() {}</error>
|
||||
<error descr="The name of a compact source file is not a valid identifier">void main() {}</error>
|
||||
@@ -1 +1 @@
|
||||
<error descr="The file name of a compact source file is not a valid identifier">void main() {}</error>
|
||||
<error descr="The name of a compact source file is not a valid identifier">void main() {}</error>
|
||||
@@ -1,4 +1,4 @@
|
||||
<error descr="Compact source files contains no 'main' method">public class SameNameInnerClass {
|
||||
<error descr="Compact source file contains no 'main' method">public class SameNameInnerClass {
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<error descr="Compact source files contains no 'main' method">public class <error descr="Duplicate class: 'SameNameInnerClass21'">SameNameInnerClass21</error> {
|
||||
<error descr="Compact source file contains no 'main' method">public class <error descr="Duplicate class: 'SameNameInnerClass21'">SameNameInnerClass21</error> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -725,7 +725,7 @@ 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=Compact source file can be replaced with an ordinary class
|
||||
inspection.implicit.to.explicit.class.backward.migration.name=Compact source file can be replaced with a regular 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
|
||||
|
||||
@@ -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 compact source file.
|
||||
introduce.variable.message.cannot.extract.in.implicit.class=Cannot extract in a 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}
|
||||
|
||||
Reference in New Issue
Block a user