Bas Leijdekkers
d5e0643962
java: don't generate uncompilable code in "Create subclass" intention (IDEA-327254)
...
GitOrigin-RevId: ef1718bee6d9d9ed9886b1a02cd9c6be4aee68f7
2023-08-02 23:54:07 +00:00
Artemiy Sartakov
150b695399
CreateSubclassAction: create sealed class subclass in the same file when all current inheritors are in the same file
...
GitOrigin-RevId: f0db9c12a7daab38aa82ebeec34f8a55ccbb3573
2020-09-02 04:33:17 +00:00
Artemiy Sartakov
97663c3a08
Sealed classes: update hierarchy fixes (IJ-CR-2554):
...
1. SealedUtils
2. create subclass in the same file when parent is sealed and has only same file inheritors
GitOrigin-RevId: 8d11ebfc6fcd79db25a35ee6773316e45c16cadd
2020-09-01 02:20:18 +00:00
Artemiy Sartakov
ec30bf3a97
Sealed classes: update hierarchy fixes (IJ-CR-2554):
...
1. add missing same file inheritors to permits list during safe delete or create subclass refactoring
2. inline isParentSealed for inline to anonymous class refactoring
3. do not make sealed class final when removing last inheritor (just remove sealed modifier)
GitOrigin-RevId: acf3652f12144446116c5d71ea1722b06b9f6b92
2020-08-10 09:19:20 +00:00
Artemiy Sartakov
175337c304
CreateSubclass: support sealed classes (IDEA-243902)
...
GitOrigin-RevId: 430dbb9d1a8934c2169e3f1050b18e7d78f0d985
2020-08-03 09:08:11 +00:00
Roman Shevchenko
36f5ac5335
[tests] fixes strange overriding of inner templates; corrects test data
2018-02-08 18:08:50 +01:00
Anna Kozlova
38f29c5389
restore class by index in target file for top level classes
...
EA-36372 - assert: CreateSubclassAction$.templateFinished
2017-06-15 18:14:17 +03:00
Dmitry Batrak
7a0414307f
IDEA-128025 Expand selection in multiple carets through injections still failing
2014-08-13 12:26:15 +04:00
Maxim.Mossienko
cde29c8c73
fix test data
2013-05-08 14:11:26 +02:00
anna
be9e2fa9f7
testdata fixed
2013-05-06 20:55:21 +02:00
anna
47d6ba424e
create subclass: restore caret position after delegate constructors are inserted (IDEA-105566)
2013-04-17 15:58:51 +02:00
anna
4fe09fbead
create subclass: for private inner classes create implementation in the same containing class (IDEA-18954); IDEA-76741
2012-01-13 21:21:38 +01:00
Alexey Kudravtsev
2718da9fc7
more java tests moved to community
2010-06-25 12:46:40 +04:00