Commit Graph

7 Commits

Author SHA1 Message Date
Tagir Valeev
059257aec5 [java-inspections] ConvertFieldToLocalQuickFix: ModCommand; superclass inlined
GitOrigin-RevId: 62aa30ecb2fa401534fe71fc5960863f19aa068d
2023-07-07 15:58:22 +00:00
Bart van Helvert
57b3e68b1b [java-inspections] IDEA-298539 Fix parameter can be local quick-fix undo
Also makes it so refactoring isn't called in write action and won't cause deadlocks.

GitOrigin-RevId: 204fd9f9a0b2e942b1c9eb56b3d9938b2666d123
2022-07-29 14:24:01 +00:00
Tagir Valeev
8560c6a5d1 [java-inspections] More preview tests
GitOrigin-RevId: 571a82f66623887c1b5008963df842b2597c58c9
2022-07-27 10:00:31 +00:00
Artemiy Sartakov
6fbd5cc914 ConvertToLocalInspection: CR fixes (IDEA-CR-42222)
1. localVariableIsCopy -> isLocalVariableCopy
2. added more precise convert to local quick fix message (with info about to where field will be inlined)
3. fixed tests for new convert to local quick fix messages
4. removed inlineVariable(PsiVariable, PsiExpression)
2019-01-28 18:32:01 +07:00
Anna Kozlova
db4d62e485 change test data to be more realistic 2018-06-01 11:15:29 +03:00
Anna Kozlova
f1862f7e01 refactor after review IDEA-CR-33048 2018-05-30 16:31:02 +03:00
Anna Kozlova
323a164d0c convert field to local: clear final modifier when used for write (IDEA-192735) 2018-05-28 18:54:02 +03:00