Java: no "this/new ClassName()" option for enums and implicit classes (IDEA-330992)

for "Convert to Instance Method" refactoring

GitOrigin-RevId: a353f19d817616c5445da3f7c60aa0a2f46ec155
This commit is contained in:
Bas Leijdekkers
2024-06-27 14:39:36 +02:00
committed by intellij-monorepo-bot
parent fb700afa0e
commit a17097bea4
2 changed files with 15 additions and 10 deletions

View File

@@ -135,10 +135,10 @@ convert.local.to.inner.fix.name=Convert local class to inner class
convert.anonymous.or.local.to.inner.fix.name=Convert anonymous or local class to inner
convert.local.to.field.title=Convert Local to Field
convert.to.instance.method.title=Convert To Instance Method
convertToInstanceMethod.all.reference.type.parameters.are.not.in.project=No target class for the instance method is found: all referenced types are not in project.
convertToInstanceMethod.all.reference.type.parameters.have.unknown.types=No target class for the instance method is found: all referenced types are unknown.
convertToInstanceMethod.all.reference.type.parameters.are.not.in.project=No target class for the instance method is found: no method parameter with a type referencing a class in the project found.
convertToInstanceMethod.all.reference.type.parameters.have.unknown.types=No target class for the instance method is found: method parameter types are unknown.
convertToInstanceMethod.method.is.not.static=Cannot perform the refactoring\nMethod {0} is not static
convertToInstanceMethod.no.default.ctor=Also containing class doesn't have default constructor.
convertToInstanceMethod.no.default.ctor=Additionally, the containing class doesn't have a default constructor.
convertToInstanceMethod.no.parameters.with.reference.type=There are no parameters that have reference type.
convert.to.record.title=Convert To Record Class
convert.to.record.accessor.more.accessible={0} is {1}. Converting to a record will make the corresponding implicit accessor method {2}.