Commit Graph

21 Commits

Author SHA1 Message Date
Bas Leijdekkers
14a69c17fc Java: offer quick-fix to implement abstract method in enum (IDEA-231187)
GitOrigin-RevId: d7ee95a34123b69ad5ad2b3f59a5da614412e074
2022-12-05 13:46:39 +00:00
Andrey.Cherkasov
8b99ea7e9c [java-intentions] VariableAccessFromInnerClassFix: adapt to 'when' expressions
IJ-CR-95276
IDEA-301356

GitOrigin-RevId: 7281c53c12f40840de36cc8d7e0c18e20ae8c463
2022-10-13 13:08:46 +00:00
Bas Leijdekkers
9addc5eaf7 java: include parentheses () in text when referring to methods
GitOrigin-RevId: 1cfc8afb26b5db175d865f6bbdc752356040d8bb
2022-08-22 17:58:06 +00:00
Bas Leijdekkers
790d7872ae IPP: refer to methods including parentheses () in intention text
GitOrigin-RevId: 2578135cbf75767e296f6bc48db3b5a56aa6acd1
2022-08-18 20:56:33 +00:00
Tagir Valeev
7e1064ea3c [java-intentions] More preview tests; minor fixes
GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
2022-07-29 17:55:13 +00:00
Andrey.Cherkasov
071a2db306 [java-highlighting] Modifier 'final' not allowed at interface methods
IDEA-290172
IJ-CR-23088

GitOrigin-RevId: f93deff04def5d65e0fe0463d1f4d5ba8a8b29d9
2022-04-28 03:39:54 +00:00
Andrey.Cherkasov
0f95f7408f Revert "[java-highlighting] Illegal combination of modifiers:"
This reverts commit 7264f47c76068c36b4aa4b33f2f796dc1c2c0312.

GitOrigin-RevId: 3136e780d1cf5511db49b7c1be09df356d05b449
2022-04-28 03:39:53 +00:00
Andrey.Cherkasov
f21e730404 [java-highlighting] Illegal combination of modifiers:
if one of interface method modifiers in illegal combination is 'final' the quick-fix should suggest removing it

IDEA-290172

GitOrigin-RevId: 7264f47c76068c36b4aa4b33f2f796dc1c2c0312
2022-04-05 08:55:05 +00:00
Andrey.Cherkasov
e6b91363a3 IDEA-216277 Provide fixes for Abstract method cannot be accessed directly
GitOrigin-RevId: 6f21975778294ee8ddf8691f633c175c2d441ddb
2021-02-21 01:05:16 +00:00
Nikita Eshkeev
6f551217d8 [codeInsight] IDEA-237506 Provide quick-fix to make class public/protected for class which is generic parameter class
This patch clean up the code after the review, it includes:

- removing ChangeVisibilityModificatorTest since there is a more common
test that is called ModifierTest
- moving the ChangeVisibilityModificatorTest test's data to a different
directory to for ModifierTest to be able to discover it

Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com>

GitOrigin-RevId: cb789378cebabb180558fcd4573aa2605f371134
2020-04-24 15:29:10 +00:00
Tagir Valeev
39a9039c38 Proper checks for missing implementation of abstract method in records (IDEA-228460, IDEA-CR-56772)
GitOrigin-RevId: 1be11a80e1721116959dc24cb79c9feb4065f4ef
2019-12-19 06:33:37 +00:00
Dmitry Batkovich
b81af4a9d6 use inter-language modifier fix inside java analysis IDEA-202508 2018-12-07 08:34:41 +03:00
Anna Kozlova
de2d0de27f make static: remove inappropriate modifiers, add method body if needed (IDEA-197813) 2018-08-27 15:33:03 +03:00
Anna Kozlova
8758030cf7 don't add make enum abstract fix (IDEA-184788) 2018-01-11 09:36:24 +01:00
Anna Kozlova
32b5f1d747 ensure local classes are not suggested to be made static (IDEA-167085) 2017-01-25 13:42:32 +03:00
Bas Leijdekkers
acc75fbbff make class abstract too on making method abstract (IDEA-23358) 2017-01-24 14:41:56 +01:00
Alexey Kudravtsev
86b6ee7f18 folowup to IDEA-149950: changed "package local" to JLS-conformant "package-private" 2016-02-18 13:53:04 +03:00
Anna Kozlova
4be2bcf4f0 restore suggestion to remove 'abstract' when method has body 2013-08-26 14:02:43 +04:00
Roman Shevchenko
20b933ac87 IDEA-66266 (add/remove modifier quick fix to work on explicit ones only) 2011-03-07 22:01:52 +01:00
anna
72f680902b access object class should be calc corresponding to ref qualifier (IDEA-58377) 2010-10-26 12:19:38 +04:00
Alexey Kudravtsev
2718da9fc7 more java tests moved to community 2010-06-25 12:46:40 +04:00