Andrei Iurko
efbebbef0b
[qodana] QD-9891 Add reviewed inspections categories and fix json schema validation
...
GitOrigin-RevId: 7ca2b2fde31a47b41b1940badee13d931bd91102
2024-11-06 14:28:05 +00:00
Andrei Iurko
4111cfc875
[qodana] QD-9891 Add aspects with the highest certainty for inspections
...
GitOrigin-RevId: 8fad66714287192bd5cbc8396a3d30f1ba139302
2024-10-11 14:49:57 +00:00
Mikhail Pyltsin
da1605fa5d
[taint] EA-1472466 add not null checks
...
GitOrigin-RevId: def64503e7cd5d5a09c5da1cb74420f81fff083c
2024-10-07 11:24:09 +00:00
Vladimir Krivosheev
bfb4e40f3c
convert intellij.jvm.analysis.impl to V2 module
...
GitOrigin-RevId: aac0cb7c6c3d40f424d468a4eedd34507dc2f2ef
2024-10-01 09:52:32 +00:00
Mikhail Pyltsin
0298b41883
[java-completion] IDEA-359406 Java completion should check api level
...
GitOrigin-RevId: 1d245e7d3c5f280c570292edb73b65a1f81bf47f
2024-09-19 12:20:53 +00:00
Tagir Valeev
f286bbfeaf
[java] Redundant check removed after NotNull ExternalAnnotationsManager.findExternalAnnotations
...
GitOrigin-RevId: 0adeb1b79f837b1002b88ddb1415c53154a21ec0
2024-09-18 12:08:08 +00:00
Bart van Helvert
6e3a46cf36
[jvm] Fix test method without assertions inspection for Kotlin assertions
...
#KTIJ-31326 Fixed
GitOrigin-RevId: bb2cd382795252b986a505405d13419e9269857a
2024-09-14 15:32:51 +00:00
Bart van Helvert
01cfcb6099
[jvm] Fix and enable Java API usage test for K2
...
GitOrigin-RevId: 8420866e4f3b12711825b68fd5cc987143f8d76d
2024-09-14 15:32:51 +00:00
Bart van Helvert
f59622a97b
[jvm] Enable call matcher test
...
GitOrigin-RevId: 6e60b05400606840a6f5070d76284059d000b4cb
2024-09-14 15:32:51 +00:00
Bart van Helvert
c8c478bdbc
[jvm] Properly enable K2 mode for K2 tests
...
Also ignores any failing tests
GitOrigin-RevId: db34ca3d4690285cd7ed4186c76f31e81e7fab46
2024-09-12 10:09:27 +00:00
Bart van Helvert
689dd2e194
[jvm] Extends ExpectedKotlinPluginProvider instead of KotlinPluginProvider
...
GitOrigin-RevId: 282c6cb956cf7d6e14fdf7512e68743963032ee5
2024-09-12 10:09:27 +00:00
Georgii Ustinov
bc8f0bf7c5
[Java. Logging] add tests for logging reference resolver
...
IDEA-357019
GitOrigin-RevId: 2882457613a0c5d0bc55fc2e483de2a27af6df5c
2024-09-09 18:47:39 +00:00
Bart van Helvert
3aeac18f62
[java] Check whether param FQNs are qualified when generating API lists
...
GitOrigin-RevId: 09605e048b148eaad139c461d0b8ecc33f97ebbb
2024-09-09 15:04:13 +00:00
Bart van Helvert
0e36f51ffc
[java] Don't generate API list when class is not in all scope
...
These members won't be resolvable.
GitOrigin-RevId: 9bf252c0965d16f9fa6f832b34fdd682ea64f7e6
2024-09-09 15:04:13 +00:00
Bart van Helvert
3af9455adb
[java] Don't generate API list entry when API is not part of public API
...
These entries are useless because you can't call those APIs anyway.
GitOrigin-RevId: c43065e082851e1b1574bb9ed47050e8f0dfc61a
2024-09-09 15:04:13 +00:00
Bart van Helvert
362bcc4561
[java] Regenerate API lists with Java 23
...
The newly regenerated list is merged with the previous API list. The newly generated list uses an updated version of the generator that correctly writes canonical names for Java versions higher than 19. #IDEA-357683 Fixed
GitOrigin-RevId: 81c62964385d1daaeaf3e84306ebfbc5c77ad90a
2024-09-04 23:47:59 +00:00
Bart van Helvert
68515f6a0c
[jvm] Add documentation to the API list generator
...
GitOrigin-RevId: 66f4bca763b45584ff6c20c660c1cced7f52e39f
2024-09-04 23:47:59 +00:00
Bart van Helvert
187301d7ed
[jvm] Properly get SDK from path in JavaApiUsageGenerator
...
This SDK is used when generating canonical names for argument types. #IDEA-357683
GitOrigin-RevId: c9cb42643c342395537ebedfd616819c3093e052
2024-09-04 23:47:59 +00:00
Georgii Ustinov
afa40cc6b8
[Java. Logging] add tests for logging placeholder annotator
...
IDEA-357019
GitOrigin-RevId: 83b43d897241603418cb3a96abba67bb603fba96
2024-08-27 17:21:44 +00:00
Mikhail Pyltsin
b7d3abc522
[uast-inspections] IDEA-357019 Inspection warning 'Number of placeholders do not match number of arguments in logging call' not reported when logger not initialized inline
...
GitOrigin-RevId: e601f8f8c94233af84856b7be2626f71b57325eb
2024-08-15 12:29:18 +00:00
Bart van Helvert
99e28672d9
[jvm] Remove old JUnit 5 test data
...
This test data isn't used by any test.
GitOrigin-RevId: 09f944bfdf3978b89e41d73c4762f8e31e59970e
2024-08-08 16:45:55 +00:00
Bart van Helvert
72b748d5e0
[kotlin] Run Kotlin JVM tests on both K1 and K2 frontend
...
#IDEA-354810 Fixed
(cherry picked from commit d29d3256472dfe368161335732ded20ae95cf34e)
IJ-MR-140910
GitOrigin-RevId: 0a9b3cae7aab473f732012ad91b4e67f97ff8697
2024-08-02 11:11:07 +00:00
Gregory.Shrago
e33abfddfb
migrate getData to uiDataSnapshot: java
...
GitOrigin-RevId: 759993dfe9da87ef7f32232c84bfb1bd122610d7
2024-08-02 01:17:08 +00:00
Vladimir Krivosheev
caf660475b
IJPL-158075 SingleEdtTaskScheduler as a safe and efficient solution for old UI code
...
we cannot create child scope as not all clients pass disposable and/or call `Alarm.dispose`
GitOrigin-RevId: 6513eff48043a5c8ced15c9b5449eaab2842a0af
2024-07-24 19:28:11 +00:00
Karol Lewandowski
764388bf99
Suppress unused visitInitializer method
...
GitOrigin-RevId: 92f5988098c1a9fe8e71788081c2c156e2c2d0f6
2024-07-03 20:49:46 +00:00
Mikhail Pyltsin
b88d49eb4c
IJPF-CR-21702 [java-inspection] IDEA-337700 Improvements for logging inspections
...
- fix text
GitOrigin-RevId: 18aaedbc0531f144ee819d22047d33a925ee9357
2024-07-03 12:12:46 +00:00
Mikhail Pyltsin
b4aa55737a
IJPF-CR-21728 [java-inspection] IDEA-337700 Improvements for logging inspections
...
- fix text
GitOrigin-RevId: 95eeb622a0f6aafa42fad61ced4114d470b349ba
2024-07-03 12:12:46 +00:00
Mikhail Pyltsin
fe029b7712
IJPF-CR-22863 [uast-inspection] IDEA-352839 introduce an option to check if calls contain only exception as an argument
...
- fix text
GitOrigin-RevId: f129e922eef63cf2f6a6501a965b7cd5e9b7fdc4
2024-07-03 12:12:46 +00:00
Bart van Helvert
b291e01c7a
[jvm] Enable Assert between inconvertible types inspection by default
...
Enable the inspection by default but disable AssertJ support because it has too many problems. #IDEA-348567
GitOrigin-RevId: 3dea62277fb224cdc5474e39b28cb4eb94aa8c3c
2024-06-29 00:21:55 +00:00
Bart van Helvert
4fb30b4e18
[jvm] Disable Assert between inconvertible types by default
...
#IDEA-348567
GitOrigin-RevId: 55bcf9ffba0c7d29e8831b84e21e44290cd51f0e
2024-06-27 15:51:48 +00:00
Mikhail Pyltsin
71cab9b683
[uast-inspections] IDEA-354390 Support structured logging for SLF4J
...
- don't highlight if last arguments are structured arguments
GitOrigin-RevId: fb0bf20ff547df4e41c5c6a50e89afe29d149f48
2024-06-04 20:10:51 +00:00
Mikhail Pyltsin
941b59cc1a
[uast-inspections] KTIJ-29797 support escape symbols when string literal is created
...
- separate tests
GitOrigin-RevId: b7e3b6131d5de50e0150abd0e41c0c8febed9438
2024-05-23 10:53:10 +00:00
Mikhail Pyltsin
14098259dc
[uast-inspection] IDEA-352839 introduce an option to check if calls contain only exception as an argument
...
- improve description a bit
GitOrigin-RevId: 72ee4dfb4bc56b0b9254bfbe61c82cbee5f71568
2024-05-23 10:10:00 +00:00
Mikhail Pyltsin
f2c420a40b
[uast-inspection] IDEA-352839 introduce an option to check if calls contain only exception as an argument
...
GitOrigin-RevId: 8e44bb25369e0c6f936e9aa9a14ea4ddbb348c26
2024-05-22 19:34:42 +00:00
Mikhail Pyltsin
22fac7715b
[uast-inspections] KTIJ-29797 support escape symbols when string literal is created
...
GitOrigin-RevId: a1dc2cf91d81991fac6442e57b2e5b65addeb987
2024-05-22 01:09:46 +00:00
Georgii Ustinov
3a961fdccd
[Java. Refactorings] Extract common base for test methods
...
IDEA-351758
GitOrigin-RevId: 3732c0bac541df2ae4d9a8fc103b0b9b625ed30d
2024-05-03 14:51:35 +00:00
Georgii Ustinov
647431bb3d
[Java. Logging] Fix error for builder-like loggers when argument method has no parameters
...
IDEA-342484
GitOrigin-RevId: 150bf9b811983b87041c8c384ca5088334872186
2024-04-30 02:32:05 +00:00
Georgii Ustinov
ef0255c10d
[Java. Logging] Add javadoc for some methods LoggingArgumentSymbolReferenceProvider.kt and rename DefUsage to PsiElementUsage
...
IDEA-342484
GitOrigin-RevId: e40968673369c6b796f4a71dce087561bc7aad95
2024-04-29 15:27:06 +00:00
Georgii Ustinov
508892773d
[Java. Logging] Refactor LoggingPlaceholderUtil
...
IDEA-342484
GitOrigin-RevId: b127b5028c732175b62f86ec968555dd493fdbb3
2024-04-29 15:27:01 +00:00
Georgii Ustinov
8b49638252
[Java. Logging] Add tests for consecutive escape symbols for LoggingArgumentSymbolReferenceProvider
...
IDEA-342484
GitOrigin-RevId: 529dba46a0c31714e8c2a3b59507bf8558265319
2024-04-29 11:18:36 +00:00
Georgii Ustinov
1367dfa422
[Java. Logging] Add better way to check if SLF4J log placeholder is located before backslash
...
IDEA-342484
GitOrigin-RevId: 2e1646050dfcec175d282d4ccadb3b20bbe8da0e
2024-04-29 11:18:32 +00:00
Georgii Ustinov
0e73acf094
[Java. Logging] Restore support for escape symbols in LoggingArgumentSymbolReferenceProvider
...
IDEA-342484
GitOrigin-RevId: 68d3e58e45554128c59d0a81d4d24ad415b8b812
2024-04-25 13:58:42 +00:00
Georgii Ustinov
c25c1ba670
[Java. Logging] Properly handling with logging placeholders resolve with backslash character
...
IDEA-342484
GitOrigin-RevId: 70cbc9a537943dd3520282206ef8ddb20f01ad5f
2024-04-22 13:15:03 +00:00
Georgii Ustinov
44598e3b3b
[Java. Logging] Move options panel to the jvm analysis bundle
...
IDEA-342483
GitOrigin-RevId: 1cc4c4fd19ded9c576d6f22945768da412340fbb
2024-04-22 13:15:00 +00:00
Tagir Valeev
098214398a
[java-property-tests] SourceToSinkPropertyInspectionTest fixed
...
Likely, the improvements in inspection were not reflected in test:
1. Later assignment to local variable overwrites the previous tainted state
2. Constant conditions like (1 == 1) are evaluated by inspection, so we need a non-constant one in test
GitOrigin-RevId: 62e373f85011b8302186cdf3b951cb8b056a7603
2024-04-19 17:41:56 +00:00
Alexey Kudravtsev
bea50636b2
notnull, cleanup
...
GitOrigin-RevId: 04cf8a716196d0c05031edc810a44bb5e1a19e38
2024-04-18 15:28:24 +00:00
Georgii Ustinov
fa429131ac
[Java. Logging] Chain transformation methods in LoggingArgumentUsageSearcher#collectSearchRequests
...
IDEA-342484
GitOrigin-RevId: 011a02fc11b996c664100201a7029e977251bdd8
2024-04-15 11:51:31 +00:00
Georgii Ustinov
4fb2b2230d
[Java. Logging] Add tests for placeholder highlighting for java
...
IDEA-342483
GitOrigin-RevId: 5894b7a35a44d19fbdfb461e3bdb45f07b5581b8
2024-04-10 14:15:19 +00:00
Georgii Ustinov
cb061ed4cf
[Java. Logging] Add check if any of validators for formatter logger placeholders are null
...
IDEA-342483
GitOrigin-RevId: f16fc3f3782e64ef3d8c3a61bf995261cde8452e
2024-04-10 14:15:14 +00:00
Georgii Ustinov
1a2988e233
[Java. Logging] Add tests for placeholder highlighting for kotlin
...
IDEA-342483
GitOrigin-RevId: 844783d24eaa6adacf29cb3f7e64116c3100d16b
2024-04-10 14:15:08 +00:00