Commit Graph

5 Commits

Author SHA1 Message Date
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
e524d46129 convert to local: restore comments once (IDEA-192268ˆ) 2018-05-18 20:16:28 +03:00
Anna.Kozlova
d6b550aa66 convert to local for switch block: add decl before switch (IDEA-181440) 2017-11-21 16:51:09 +01:00