Michail Plushnikov
88bf89d55f
[lombok] IDEA-352970 IDEA-355936 Improve @Setter can be used inspection
...
GitOrigin-RevId: 8e5968de01c8ecc43fedc98cd0ff3df5eb1390be
2024-09-10 21:17:49 +00:00
Michail Plushnikov
eaf8c3f891
[lombok] IDEA-354173 java: Improve @Getter/@Setter 'supported on' validation (is invalid on records)
...
GitOrigin-RevId: fa6a65ad6c3c5ea0befa1a55cdf9987fd009fa68
2024-09-10 21:17:49 +00:00
Georgii Ustinov
ae1025c38d
[Java. Inspections] disable suggestion of adding excepion to signature in base methods if they are synthetic
...
IDEA-358300
GitOrigin-RevId: c042955003e44d4d575569543c4247ac223c02ec
2024-09-09 18:47:39 +00:00
Michail Plushnikov
f98149cc70
[lombok] IDEA-354696 Fixed @SuperBuilder: 'toBuilder()' is already defined, if method is already defined in class
...
GitOrigin-RevId: 4a30ac0f71361b6d3f18be2654579ba574bc791d
2024-09-02 20:53:42 +00:00
Michail Plushnikov
b61e5aa1a0
[lombok] IDEA-292093 Fix @NonNull on package does not work on Lombok methods
...
GitOrigin-RevId: 19acc4f9803e8b444e787de482da60cba1c58a19
2024-09-01 22:06:30 +00:00
Bas Leijdekkers
6916b6b005
Java: better error message when there are more arguments than parameters (IDEA-336129)
...
GitOrigin-RevId: a17a5f0f3878b9baf211737a614d1aa1a5103d31
2024-06-28 17:14:56 +00:00
Bas Leijdekkers
5e74812655
Java: enable "don't consider class used when a member is implicitly used" by default and fix tests (IDEA-281800)
...
GitOrigin-RevId: e9d8112eb8fc4c03ff1abfb4f6883d05bed32c3e
2024-06-15 17:06:24 +00:00
Mikhail Pyltsin
f3b00ccc67
IJ-MR-135481 [lombok] IDEA-352727 Support incomplete mode
...
- highlighting test for logs
GitOrigin-RevId: 517909418304c83e1fa67c4bfde0c3aed274d22d
2024-06-10 13:51:32 +00:00
Mikhail Pyltsin
1ac9d8ac4e
[lombok] IDEA-352727 Support incomplete mode
...
- change tests
- extract everything connected to dumb and incomplete mode into utils
GitOrigin-RevId: 979f4333917f68d947c9d28c04d7e6dfef8400ae
2024-06-10 13:51:25 +00:00
Mikhail Pyltsin
8a33c22212
[lombok] IDEA-352727 Support incomplete mode
...
- support main processors (except ConstantField, because it depends on a lombok version)
- parser tests are executed in three modes (normal, incomplete, dumb) by default
The main idea is to provide users some functionality in incomplete mode (when libraries are not downloaded yet), but users can already do something.
After downloading psi caches will be dropped and everything will be recomputed in an accurate way.
GitOrigin-RevId: a7b2774a01be86a60aa5bdcd69a3826682b4135e
2024-06-10 13:51:22 +00:00
Mikhail Pyltsin
f1642ef3bb
Revert "[java-highlighting] IDEA-352727 Incomplete model with lombok"
...
This reverts commit ea0f6f9c
GitOrigin-RevId: c9f49f0bcf193ce593a6b9fbea9600d0f507fa9d
2024-05-24 21:18:39 +00:00
Mikhail Pyltsin
08dd233a7c
Revert "IJ-CR-134196 [java-highlighting] M IDEA-352727 Incomplete model with lombok"
...
This reverts commit f5e7bc91b1e5634a0a042f0fd90b6be3ca943a28.
GitOrigin-RevId: 7b56b8477eee650f4cf031144bee3ace8a452716
2024-05-24 21:18:35 +00:00
Mikhail Pyltsin
41c184cc13
Revert "IJ-CR-134196 [java-highlighting] IDEA-352727 Incomplete model with lombok"
...
This reverts commit 1c5fc12a0f4dd70c8899a807dc03925680c68ab9.
GitOrigin-RevId: dd3bcd03cf5dd5d1b3ef8958805579283cbcca37
2024-05-24 21:18:26 +00:00
Mikhail Pyltsin
153827e5e4
IJ-CR-134196 [java-highlighting] IDEA-352727 Incomplete model with lombok
...
- add a more accurate message for non-initialized fields
GitOrigin-RevId: 1c5fc12a0f4dd70c8899a807dc03925680c68ab9
2024-05-23 14:11:43 +00:00
Mikhail Pyltsin
468b7803de
IJ-CR-134196 [java-highlighting] M IDEA-352727 Incomplete model with lombok
...
- skip unresolved references with lombok
GitOrigin-RevId: f5e7bc91b1e5634a0a042f0fd90b6be3ca943a28
2024-05-22 19:34:27 +00:00
Mikhail Pyltsin
2ca5b2bcd4
[java-lombok] IDEA-352726 Augment class in dumb mode in Lombok
...
- support dumb mode
GitOrigin-RevId: 93a6325ee1fa6ef515c579aa09bec9eb290ed967
2024-05-21 11:54:54 +00:00
Mikhail Pyltsin
de02a19083
[java-highlighting] IDEA-352727 Incomplete model with lombok
...
GitOrigin-RevId: ea0f6f9cf44d704d4ae7e45fa3ba262c1496ffa4
2024-05-13 16:29:12 +00:00
Michail Plushnikov
301da837fc
[lombok] adapted tests for changed texts
...
GitOrigin-RevId: 15e4b7edb29f226e05b8f8f7ee970a8427b4c252
2024-02-21 20:04:11 +00:00
Michail Plushnikov
baab8e65be
[lombok] IDEA-346456 IDEA-343255 Fix Delegate on types implemented generic interfaces
...
GitOrigin-RevId: a9350f15060f436c116330366e502c9098aaa1a2
2024-02-20 00:17:58 +00:00
Georgii Ustinov
c095ac545e
[Java. Logging] Add tests for lombok based logger
...
IDEA-345098
GitOrigin-RevId: 41691d38bd4403f9befde7ea338113c50e7c6199
2024-02-16 10:21:59 +00:00
Georgii Ustinov
a9ac56fa4b
[Java. Logging] Add basic tests
...
IDEA-331693
GitOrigin-RevId: 7e3418984b59f18411ce3be472637f5d0e8daa39
2024-02-07 13:30:04 +00:00
Michail Plushnikov
4cf257adaa
[lombok] IDEA-341962 IDEA-301474 improve delombok of SuperBuilder with Builder.Defaults
...
GitOrigin-RevId: dd3c7ae0bd7ee5168b669228e106c9741218ee24
2023-12-29 20:57:13 +00:00
Michail Plushnikov
7aeec8cea6
[lombok] EA-977599 EA-932894 EA-927010 EA-921512 validation for Builder/SuperBuilder should skip anonymous classes
...
GitOrigin-RevId: f949f05a6e2211c277b285b2d64c4e58b2cb72ca
2023-12-17 21:48:13 +00:00
Michail Plushnikov
60f3b284cf
[lombok] IDEA-289906 compare methods by equals, to support augmented elements
...
GitOrigin-RevId: 3117be560618625ee6750a96455e9be7e6da9d64
2023-12-17 21:48:06 +00:00
Michail Plushnikov
c5257f0fea
[lombok] IDEA-303185 Fix SneakyThrows, masking exceptions inside sibling constructors
...
GitOrigin-RevId: 9afd014cce3ea708d7cd88ce7a376a7d11bbab5b
2023-12-12 02:04:10 +00:00
Michail Plushnikov
61fe7a68b6
[lombok] IDEA-333062 IDEA-255688 Added support for underscored (_) syntethic onX-Methods of lombok onX-Annotations
...
Reduced usages of custom HighlightErrorFilter
GitOrigin-RevId: 7aa66eb9ecb9cc2e534015893d4701ab37d32f1c
2023-12-10 20:10:01 +00:00
Michail Plushnikov
4222be044e
[lombok] IDEA-255688 Using existing functionality to skip checking expressions from field initializer
...
and to skip checking field initializer expression
GitOrigin-RevId: 67211ecbad65889dabe6385678cc1b7c47a96deb
2023-12-06 20:52:19 +00:00
Michail Plushnikov
735b2abf1d
[lombok] IDEA-255688 Get rid of LombokHighlightErrorFilter for "Method call can produce NPE"
...
Used in case of lombok lazy Getter
GitOrigin-RevId: acdb7e17facdf763a5b824ed945c69fc18646563
2023-12-03 20:41:43 +00:00
Michail Plushnikov
b2853a3590
[lombok] IDEA-255688 Get rid of LombokHighlightErrorFilter for "Variable initialized before usage Inspection"
...
Used in case of lombok lazy Getter
GitOrigin-RevId: 37699b68fd2431efe92d05e86a3b09cb59e673b8
2023-12-03 20:12:05 +00:00
Michail Plushnikov
33be4f134e
[lombok] added validation for @Delegate with custom delegate type
...
GitOrigin-RevId: 0e67db56f110fc01fdf6e97b5d9c716517276c32
2023-12-02 19:58:03 +00:00
Michail Plushnikov
cff1eae5f1
[lombok] IDEA-283619, IDEA-289704 added findUsages support for @Delegate methods
...
GitOrigin-RevId: 5de0a2a8571a3423f44da853329de93d404d4665
2023-11-29 21:48:36 +00:00
Michail Plushnikov
d3d1bd466b
[lombok] IDEA-339056 Added check for record compatibility, added additional @SuperBuilder static inner class check
...
GitOrigin-RevId: fb346719329789f549e8718f1f1b37ff246e4475
2023-11-28 21:31:37 +00:00
Michail Plushnikov
c5cf7ddabc
[lombok] IDEA-298818 added testcase for predefined BuilderClass with existing methods
...
GitOrigin-RevId: 8d6d14d565659621d39e4421f7ba63fe5587b128
2023-11-27 23:01:30 +00:00
Michail Plushnikov
7f66735c7f
[lombok] IDEA-338932 added test case for @Jacksonized and StackOverflowError
...
GitOrigin-RevId: 30207c464c0db8df764affe88f16629c430f0fef
2023-11-27 20:49:34 +00:00
Michail Plushnikov
18d829160e
[lombok] IDEA-338180 Added validation for missing main lombok annotation using @Builder.Default
...
GitOrigin-RevId: b9f98076e58de57bd32335230c577af0e34cac19
2023-11-16 00:38:08 +00:00
Michail Plushnikov
5708e7c17a
[lombok] IDEA-331422 IDEA-312806 reformatted test classes
...
GitOrigin-RevId: 4d23720720b6e3b401f3d00e4c0bf004e26f2b30
2023-11-14 22:36:53 +00:00
Michail Plushnikov
0c40fa211a
[lombok] Fixed inspection text and added test
...
GitOrigin-RevId: 5a2240bf9b95f9b01f19f9aeb3feef2a46ae9fad
2023-11-13 22:27:31 +00:00
Michail Plushnikov
db68ce26f8
[lombok] IDEA-309775 Add replace with lombok intention for synchronized methods
...
GitOrigin-RevId: 0c56c2af16d57425184a33eaa64fc5ae950d35a4
2023-11-13 22:27:24 +00:00
Michail Plushnikov
81826556f5
[lombok] IDEA-331422 IDEA-312806 improve lombok @Delegate method and generic handling
...
GitOrigin-RevId: 5356035f5d6ede1da8163d98bcdb4e059077cd5b
2023-11-10 23:30:28 +00:00
Michail Plushnikov
6e867b5bbd
[lombok] IDEA-308468 fix handling of @EqualsAndHashCode.Exclude for @Value and @Data classes
...
GitOrigin-RevId: 54fb1f344b4d581ca2308181acdeb99f35ead09f
2023-09-17 22:41:16 +00:00
Michail Plushnikov
0b4694bb4f
[lombok] IDEA-329808 Fix invalid error about missing final modifier for subclass of sealed class annotated with Lombok's @Value
...
GitOrigin-RevId: 63fba57e020ae076219a100458b9d35e07fdabbb
2023-09-02 17:35:06 +00:00
Michail Plushnikov
c4210cf6d8
[lombok] IDEA-326444 Fix handling of static fields already containing lombok annotation
...
GitOrigin-RevId: 6f6583bd542f2c3d2dd46858b61c9904d5781152
2023-07-30 19:29:50 +00:00
Fabrice Tiercelin
9c70a0f57e
[lombok] IDEA-322251 New clean up: Lombok @Setter may be used
...
GitOrigin-RevId: 72565c74033cf033bf23d866f6518602c7ad120e
2023-07-02 20:25:56 +00:00
Michail Plushnikov
de042e2e44
[lombok] IDEA-321989 prevent StringIndexOutOfBoundsException for short method names
...
GitOrigin-RevId: 67abc464309949d02319255c07cb1fd67403d8f8
2023-06-14 20:57:15 +00:00
Michail Plushnikov
5aa3d88201
[lombok] IDEA-322276 IDEA-322260 make lombok inspection highlighting less verbose
...
GitOrigin-RevId: 4678b61b0a8700553f83d1838d5a92f5c7ba0717
2023-06-12 21:42:14 +00:00
Fabrice Tiercelin
468779c2c1
[lombok] IDEA-320889 New clean up inspection: Lombok @Getter may be used
...
GitOrigin-RevId: 04fd9ab05dae322e3bc79d61912b6b02352cd4e0
2023-06-03 21:11:33 +00:00
Michail Plushnikov
f032aad26a
[lombok] IDEA-317168 "Lombok annotations" false positive when using Lombok @NoArgsConstructor and @NonNull
...
GitOrigin-RevId: 5db9f2109d64e386069915c46496d548e6e54bb2
2023-05-01 16:52:49 +00:00
Michail Plushnikov
e7899edaa1
[lombok] IDEA-312809 with-field is marked as error for record fields with Lombok @Builder and @With at Class level
...
GitOrigin-RevId: ed53cde5f84e51c7578f619739445177d33b5d42
2023-05-01 16:52:46 +00:00
Michail Plushnikov
2cc97a1535
[lombok] IDEA-313324 Cannot resolve the staticConstructor of Lombok @Value
...
GitOrigin-RevId: b1f37499752fa34d1f906f1aa30fea98860ba643
2023-03-29 20:35:16 +00:00
Tagir Valeev
af86126749
[java-inspections] Field can be made static: respect implicit writes
...
Fixes IDEA-313564 "Field can be made 'static'" false positive with Lombok
GitOrigin-RevId: f9e6acb2a4e673bebe9d6379d9a5e5869708b107
2023-03-13 14:37:54 +00:00