Commit Graph

11 Commits

Author SHA1 Message Date
Mikhail Pyltsin
2023228d8c [java-generation] IDEA-344399 generate annotation based on type_use option
- extracted new option
- reuse this option in MissortedModifiersInspection
- override uses this option too

GitOrigin-RevId: 39f3f72991240753c86c7f80df865728aa9743ad
2024-06-17 21:14:57 +00:00
Tagir Valeev
582a922231 AddAnnotationPsiFix#addPhysicalAnnotationIfAbsent; properly support arrays
Fixes IDEA-177643 Action "Generate Delegate Method" creates double annotation when method parameter is annotated array

GitOrigin-RevId: 38ac44f66304df06480fa6ca64993fda72a591a8
2020-04-08 04:08:55 +00:00
Tagir Valeev
4db59b2205 GenerateMembersUtil#copyAnnotations: exclude annotations already copied to type (IDEA-236474)
Also: check that annotations resolve to the same type in target place.

GitOrigin-RevId: 0093c5966f37281b4f852e78a8cd5cd6667527f4
2020-04-07 10:04:02 +00:00
Anna Kozlova
d031850315 delegate: don't copy override as it would be added explicitly (IDEA-178893) 2017-09-13 15:33:55 +03:00
Roman Shevchenko
dc4697fc32 [tests] test case for IDEA-177643 2017-09-01 20:04:17 +03:00
Roman Shevchenko
f1a2c0b8e1 Cleanup (sane testdata file name; formatting) 2017-09-01 13:01:53 +03:00
Anna.Kozlova
9f6e8ccb35 delegate methods: restore ellipsis type (IDEA-171529) 2017-04-18 15:03:44 +02:00
Anna.Kozlova
71b7d9cbf3 don't duplicate type use annotations during copy of modifier lists (inspired by IDEA-166062) 2017-02-16 17:15:56 +01:00
Anna Kozlova
3856ae2cb0 EA-88093 - IOE: PsiElementFactoryImpl.createField 2016-09-23 12:46:57 +03:00
Anna.Kozlova
24c2c0fa95 delegate methods: fix single field case (IDEA-154698) 2016-04-14 16:26:10 +02:00
Dmitry Jemerov
c25243f74d moving tests from codeInsight-tests to community 2015-02-12 12:35:07 +01:00