Bas Leijdekkers
c40e983f98
Java: rename method correctly if the name conflicts with javadoc reference (IDEA-355643)
...
GitOrigin-RevId: c1ae53780e8ec3a56834dd32ecd9bc19cfd222fb
2024-09-12 18:27:21 +00:00
Bas Leijdekkers
7e0038ce14
Java: "Open in editor" checkbox for Replace constructor with builder (IDEA-358746)
...
GitOrigin-RevId: 72f2bf32432a2b623ab562cefac5568904fb5cee
2024-09-06 13:43:06 +00:00
Bas Leijdekkers
4d537236e4
Java: cleanup ReplaceConstructorWithBuilderPanel.form (remove unused rows and colums)
...
GitOrigin-RevId: f030e72eb34f73c0dcaa4410aecb5b0bd75d3dc9
2024-09-06 13:43:06 +00:00
Bas Leijdekkers
2870f49e0a
Java: disallow making builder class from the constructor class itself (IDEA-254858)
...
GitOrigin-RevId: 071a0fd3c45f2b28b73b811e0d844a0f1b911372
2024-09-05 15:02:58 +00:00
Egor Ushakov
adbf260361
EA-266837 - AIOOBE: PsiReflectionAccessUtil.nearestAccessibleType - more logging
...
GitOrigin-RevId: c9420cc9a66ec0d69a305aacc4af0fe58bacecf1
2024-09-05 12:28:02 +00:00
Max Medvedev
3f27a3edf1
cleanup: introduce LanguageRefactoringSupport#getInstance
...
GitOrigin-RevId: 832c2688ee1976e8e353291c645b676c77ecd2ce
2024-09-04 19:37:00 +00:00
Tagir Valeev
b01ac55564
[java-refactoring] Inline variable on non-initialized declaration
...
Could be available if there's only one write visible for all the reads
Fixes IDEA-354157 Inline variable not working when staying on uninitialized declaration
GitOrigin-RevId: e257b2b493a3902e901699efa4eac90f62e3108b
2024-09-02 21:01:25 +00:00
Tagir Valeev
f7976fa52c
[java-refactoring] ReplaceConstructorWithBuilderProcessor: use anchor instead of null, as new conflict dialog requires it
...
Fixes IDEA-354549 Creating builder from constructor not working
GitOrigin-RevId: e793d9fff9af4125a5b442069e70e7bc314b6912
2024-08-29 14:08:22 +00:00
Gregory.Shrago
bc3b7f8235
drop allowSlowOperations usages
...
GitOrigin-RevId: b60b929f767c5fdac1e63ce8cfabb97c43c189c1
2024-08-20 16:56:17 +00:00
Alexandr Suhinin
6efb57a0f7
[extract method] setup settings change listener one time for all templates
...
GitOrigin-RevId: 545a61d305fae24e52a8d754f21ac2d162523688
2024-08-12 09:29:26 +00:00
Alexandr Suhinin
61a69b3efb
[extract method] simplify InplaceMethodExtractor
...
GitOrigin-RevId: 39e2774c4d57327bb483faf87b1a75a39bd90e20
2024-08-12 09:29:26 +00:00
Alexandr Suhinin
13a49ea232
[extract method] decouple settings from the extract template
...
GitOrigin-RevId: a628ca0ecfa302e9920c315e7adacc14471b6053
2024-08-12 09:29:26 +00:00
Alexandr Suhinin
1c8daa89b7
[extract method] do not run analysis both on an original file and virtual copy
...
GitOrigin-RevId: fe0433dbc0673cac6554c3710b03e180046df1fc
2024-08-12 09:29:26 +00:00
Alexandr Suhinin
c89c0bb036
[extract method] cleanup: use range marker to track extracted range
...
GitOrigin-RevId: cf23863e723b305a0024015ab060bb70071f614b
2024-08-12 09:29:26 +00:00
Alexandr Suhinin
4feb9ddd29
[extract method] avoid using EDT in find and replace duplicates
...
GitOrigin-RevId: cf8b55fa6fbb53da88221b20c7cfc6bb02991723
2024-08-07 11:08:21 +00:00
Alexandr Suhinin
a7155c2242
[extract method] cleanup: simplify replace duplicate method
...
GitOrigin-RevId: ec0175ca0ebaedd542bd41062bbef03d0b9af637
2024-08-07 11:08:21 +00:00
Alexandr Suhinin
f8561b174f
[extract method] cleanup: simplify replace duplicate method
...
GitOrigin-RevId: 2d0472b4da90fdc47f617d3b02c6867537d4659d
2024-08-07 11:08:21 +00:00
Alexandr Suhinin
b314b99f88
[extract method] cleanup: simplify method
...
GitOrigin-RevId: 2f1ba5c83e40feee21bbf41492bc7d22775340bd
2024-08-07 11:08:21 +00:00
Alexandr Suhinin
a649539e66
[extract method] cleanup: simplify replace duplicates fun
...
GitOrigin-RevId: b2d1bb0ae84699af38a2053803752a34a14ae2fe
2024-08-07 11:08:20 +00:00
Alexandr Suhinin
d9d0943419
[extract method] clarify method name
...
GitOrigin-RevId: 15583e2ddac021a1cb48c6ed1f411cc1f49f69b4
2024-08-07 11:08:20 +00:00
Alexandr Suhinin
709ad90cf0
[extract method] make replace duplicates suspendable fun
...
GitOrigin-RevId: 6f8832c7737c9b1ed0095adf6d67a93297357bdd
2024-08-07 11:08:20 +00:00
Alexandr Suhinin
50a0bfcbf0
[extract method] wrap replace duplicates with a single write action
...
GitOrigin-RevId: c1932445cebdd5b0406cdcdb3045ad000c528d0f
2024-08-07 11:08:20 +00:00
Alexandr Suhinin
2dd467ae92
[extract method] hold write context only when needed
...
GitOrigin-RevId: b18645fb588eff681e85e4640e1576191de3785e
2024-08-07 11:08:20 +00:00
Alexandr Suhinin
841e712669
[extract method] extract function to merge all write commands in a single one
...
GitOrigin-RevId: a08be5c5271f653e6c8b6b2c0e5d1eacdebd35ee
2024-08-07 11:08:20 +00:00
Alexandr Suhinin
29bc3c54a5
[extract method] reuse analysis for dialog extract method
...
GitOrigin-RevId: 53b381446e75a7a25202f9372000ef724d3e48e0
2024-08-07 11:08:20 +00:00
Alexandr Suhinin
6b014fa166
[extract method] remove redundant method
...
GitOrigin-RevId: 9b47742682fdb7e16d33987d4f64e1d34666ffde
2024-08-07 11:08:20 +00:00
Alexandr Suhinin
c1857f190a
[extract method] remove deprecated function
...
GitOrigin-RevId: 4c474e79b9ddf8f5334b9d584881c878fda9d94b
2024-08-02 18:52:43 +00:00
Alexandr Suhinin
2676992849
[extract method] fix: fleet relies on blocking context to apply changes to the document
...
See: BackendExtractApiKt.extractByRanges and getActionEffects
GitOrigin-RevId: e9806d53134a0d3b6b55e0c6da485019721661ea
2024-08-02 18:52:43 +00:00
Tagir Valeev
655bf65a7d
[java-refactoring] Inline variable: ignore references from method calls
...
Fixes IDEA-356914 Exception in Inline variable on red code
GitOrigin-RevId: ca785f72ba4b99fed0a0f3410a21df7dd13b7c5a
2024-08-02 14:18:00 +00:00
Alexandr Suhinin
78b48990af
[extract method] test: fix extract recommender inspection
...
GitOrigin-RevId: 583f3ef6c77e17b6baa1f0643aafa69d8b900302
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
513bcc19e7
[extract method] reduce code inside the write command
...
GitOrigin-RevId: f6c96ba899e5823cf2503d1ee927ec4dc9053858
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
b2a8bd3b6d
[extract method] avoid use of EDT when introducing a result object
...
GitOrigin-RevId: 7156ba6737e17861155f68b847a5408f1303645a
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
f6db6a0ef8
[extract method] reduce time spent in EDT
...
GitOrigin-RevId: fe147367255483d73d51a5e56a294ec41582948f
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
8730bcf030
[extract method] refactor: separate suspend func
...
GitOrigin-RevId: 1765582c674facf07454de3e1aab6f7b8ab92fd7
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
e227a97651
[extract method] runInplaceExtract: make suspendable to use proper read actions
...
GitOrigin-RevId: c107b9a11fee5144008c8d3e48e2df80fea59168
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
70e82d113c
[extract method] simplify extractAndRunTemplate method signature
...
GitOrigin-RevId: 4c1b5439110cf4fc1790817a5198c2f9f9f5f32e
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
4bb701ae9a
[extract method] qualify method call
...
GitOrigin-RevId: c74dd514e3014149c6cf2a129381824043217c78
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
e18fb1db28
[extract method] prepare analyzer to be reused, simplify error handling
...
GitOrigin-RevId: 26054522329a8a1a4d84997fb39b957707de9737
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
b46466d5b3
[extract method] coroutines: use the appropriate API for progress
...
GitOrigin-RevId: 5c90dbd7d05a398273589a6c167ff0e319c9727c
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
3e5384ad28
[extract method] move to coroutines (start)
...
GitOrigin-RevId: 092eee5b5501c1cab48e54a371a22ee198887af6
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
654d6f748f
[extract method] remove redundant exception class
...
GitOrigin-RevId: e5d2d10b81e80e5a37da28843dfe334b03c33712
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
3322466e89
[extract method] simplify an extract result object
...
GitOrigin-RevId: 26453acecfa34668c9b1553c35134c5ac831641c
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
671f2a30f6
[extract method] remove stable registry (introduce a result object)
...
GitOrigin-RevId: ea4b78fd510a3f29175a02e7941db7f81816838b
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
5ecb68030b
[extract method] infer nullability for simple cases
...
GitOrigin-RevId: 4ff749ebc59b26de55bfe5bb24787e88352c01ca
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
32ae65de50
[extract method] remove redundant initial name parameter
...
GitOrigin-RevId: de1e6344e4a403af1e31db08bdb619912a619b2b
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
e2a5109b5f
[extract method] remove redundant parameter
...
GitOrigin-RevId: a355de4e360da4e31e3ca5b65a107a6ddbd35578
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
b8a19b5cd9
[extract method] reuse the same analysis for restarted refactoring
...
GitOrigin-RevId: 766b1253cc7360c1853a04cdbe8ab7e224f256b4
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
b12e663f07
[extract method] IDEA-356707: reuse the same method prototype to check conflicts
...
GitOrigin-RevId: 585d33496a874b5a3c6af774f5d43c38dd083c32
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
ed6d7fbc6d
[extract method] IDEA-356707: simplify and speedup name suggestion
...
GitOrigin-RevId: 5a8baeec399127391f8e2069e6915f322c524458
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
c58a859bd7
[extract method] IJI-2040 add diagnostics for flaky test
...
GitOrigin-RevId: 5d875276841f665cae2831ab5ad65f48d5570797
2024-07-17 08:50:18 +00:00