mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
[java-intentions] MoveMembersIntoClassFix: improve and revive property test
After implicit classes, out-of-class member is parsed. If it was mistakenly put out of the class, it may have many unrelated compilation errors. E.g. extra Override annotation, unresolved reference (to another member of the class), etc. These errors were masking the 'Move member to class' action, because its scope was larger (the whole method). Now, we put 'feature not available' error specifically to the method/field name identifier, so it's almost always available. Also, action name is more friendly now, and JavaOutOfClassDefinitionPropertyTest is tuned: caret position and language level set correctly. GitOrigin-RevId: 39917d11fb216be4db3f6fbc9e984ca7378f7302
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d057df2905
commit
ee495db972
@@ -620,6 +620,7 @@ error.unnamed.method.parameter.not.allowed=Unnamed method parameter is not allow
|
||||
error.unnamed.variable.not.allowed.in.this.context=Unnamed variable declaration is not allowed in this context
|
||||
error.unnamed.variable.brackets=Brackets are not allowed after unnamed variable declaration
|
||||
error.unnamed.variable.without.initializer=Unnamed variable declaration must have an initializer
|
||||
intention.name.move.members.into.class=Move {0, choice, 1#member|2#members} into class
|
||||
intention.family.name.move.members.into.class=Move members into class
|
||||
chooser.popup.title.select.class.to.move.members.to=Select Target Class
|
||||
intention.family.name.move.members.to=Move members to {0}
|
||||
|
||||
Reference in New Issue
Block a user