Bart van Helvert
316a5db6c8
[jvm] Remove unnecessary extension point for annotation suppressions
...
The extension point was used to run logic for various suppression annotations. Instead of running different logic based on the language, we can run the same logic for all languages. #IDEA-337709
GitOrigin-RevId: 7c51e3774d8d0c5232d37b817d1086ba4ebdda57
2023-12-14 14:04:06 +00:00
Bart van Helvert
627cdfebf7
[jvm] Support attribute value flattening for UAnnotation
...
GitOrigin-RevId: 04775375668219d372f194cf2cd9a036ac0f4d75
2023-12-13 03:15:29 +00:00
Bart van Helvert
cccf4683f7
[jvm] Remove redundant annotation class
...
GitOrigin-RevId: f8310bde7ca2e50453e90412045a9c5f393da8f6
2023-12-13 03:15:27 +00:00
Karol Lewandowski
63f8cd18e8
IDEA-337709: Mark SuppressionAnnotationUtil as internal API
...
GitOrigin-RevId: b6e2cc8d3ad3d032d0a1704e82d6ba92949b65a5
2023-11-27 18:29:29 +00:00
Karol Lewandowski
43b99f92c5
IDEA-337709: Create quick fix with createRemoveAnnotationActions
...
GitOrigin-RevId: 3a7e5c0ac1b3ea9ecbcd50f852070cb451d3726d
2023-11-27 18:29:29 +00:00
Karol Lewandowski
fad6b2e334
IDEA-337709: Add docs to SuppressionAnnotationUtil
...
GitOrigin-RevId: 175d55efa5db6718254a5717430547244ed1e2b9
2023-11-27 18:29:28 +00:00
Karol Lewandowski
ad246cb491
IDEA-337709: Reimplement SuppressionAnnotationInspection to UAST
...
GitOrigin-RevId: 5384975e4786fbc34114065e117f66d930435621
2023-11-27 18:29:28 +00:00
Bart van Helvert
39f0274f34
[jvm] Introduce flattenAttributeValues API
...
GitOrigin-RevId: de8f4e75bce5812f00f535e64fc374f96be47729
2023-10-23 09:33:57 +00:00
Aleksandr Izmailov
5ece73518b
[blocking-inspection] IDEA-312147: by default, treat suspend function as non-blocking, add settings to turn it off
...
GitOrigin-RevId: ff450b0a30ccce39fd95706d31225710d6fcf57c
2023-04-14 14:44:51 +00:00
Nicolay Mitropolsky
1bc9e3ae55
IDEA-314469: lower JVM target level for *intellij.platform.uast*
...
GitOrigin-RevId: 9aa9245395c5d5b38b2b20b43ad12d0f7139506f
2023-03-10 13:33:36 +00:00
Aleksandr Izmailov
a3955b6feb
[reactive-streams] IDEA-314563: check that lambdas/callable references do not implement Publisher
...
GitOrigin-RevId: 91915f38d888c63d82d0ec1ac206fb07291999dd
2023-03-02 15:08:53 +00:00
Daniil Ovchinnikov
578eaaf60e
rename library kotlin-stdlib-jdk8 -> kotlin-stdlib
...
GitOrigin-RevId: cddf45ccfd5563d3fe209bea62a1c37c94f44ff9
2023-01-10 12:22:34 +00:00
Vladimir Krivosheev
57764d700b
mark classes final
...
GitOrigin-RevId: 6414b6f2119c82c7567987dd30b35cab5491d9e2
2022-12-30 06:58:01 +00:00
Bart van Helvert
c94b221174
[jvm] Remove bloat when checking inheritance of multiple types
...
GitOrigin-RevId: f52e6597384e839e71aa40be0d843191432d6c3c
2022-11-04 12:39:11 +00:00
Nikolay Chashnikov
07946fb1dd
[java] cleanup: remove unused deprecated API (IDEA-295370)
...
GitOrigin-RevId: c8370b89546b74bf94c6c6d249d7cdd34233c7a4
2022-09-06 12:45:03 +00:00
Kirill Smelov
d1a05b5afc
IDEA-155514 Support anonymous/inner class fields captured from context in StatefulEpInspection
...
GitOrigin-RevId: 16c96acf18bb4ffb9ce9098dc8a0fbbaf70e2439
2022-08-26 17:20:15 +00:00
Bas Leijdekkers
9c47f6dd89
improve title capitalization utility method (IDEA-296630)
...
for the "Incorrect string capitalization" inspection
GitOrigin-RevId: 26358913496d218e21a071c3f0b1058ea3f45ca2
2022-06-25 16:20:56 +00:00
Tagir Valeev
11595f3956
Fix most of JavaDoc <-> code mismatch warnings
...
GitOrigin-RevId: 9a87a8b90993b56cd045722734c5c5f466601ae3
2022-06-20 12:02:27 +00:00
Bart van Helvert
e0a26b7840
[jvm] Introduce inspection util
...
GitOrigin-RevId: 281c620583fe032c7a46044cfbeb142cca2abf69
2022-06-09 11:08:10 +00:00
Bart van Helvert
dbc74393d4
[jvm] IDEA-294238 Merge JUnit malformed member inspections
...
GitOrigin-RevId: 41cf58abee798f395f8071b0900d0d26956f8994
2022-05-30 23:36:50 +00:00
Bart van Helvert
6bac069d16
[jvm] Remove dependency on execution and debugger modules
...
GitOrigin-RevId: a91e157954ec799e75ca34d1b0f84061103d2a00
2022-05-18 17:47:55 +00:00
Bart van Helvert
aa734cf40c
[kssr] IJ-CR-24168 Fix local class false positive in JUnitUnconstructableTestCase inspection
...
GitOrigin-RevId: 65a2b5b8a4f8f5c3cb9648e79383ae70d30cc156
2022-05-06 22:23:41 +00:00
Bart van Helvert
205d3729ef
[jvm] IDEA-291694 JUnitBeforeAfterClass recognize Kotlin statics
...
Makes it so static methods in Kotlin are correctly detected.
GitOrigin-RevId: a1dd87821b4c3b2c239a60216f43b560e383c27e
2022-04-26 15:02:57 +00:00
Bart van Helvert
9b5f50fe8b
[jvm] KTIJ-21579 Introduce 'Make static' fix for Kotlin JVM API
...
GitOrigin-RevId: b4d09587a5fdb777bf3f10831985c1b6204ac197
2022-04-19 19:04:02 +00:00
Bart van Helvert
9ac42ed035
[jvm] IDEA-291516 Convert JUnit5MalformedRepeatedTest inspection to UAST
...
GitOrigin-RevId: 74edb94e8948a2f00de9e5ae706a1423a85a0d0b
2022-04-12 12:27:39 +00:00
Bart van Helvert
6f567952cd
[jvm] Remove UAST call matcher API
...
Replaces usages with CallMatcher API.
GitOrigin-RevId: 26ea3df0834cf0c208288fd54a2c49abb8e87563
2022-03-24 13:54:06 +00:00
Bart van Helvert
ee123c5fef
[jvm] KTIJ-972 Add quickfix for making fields public in Kotlin
...
GitOrigin-RevId: 4ea5e8b171887486ec054b9211dadc3b4a9063ee
2022-03-14 14:48:31 +00:00
Nikolay Chashnikov
abc373560d
[API] replace ApiStatus.ScheduledForRemoval annotation by 'forRemoval' attribute (IDEA-288466)
...
Since we don't want to specify planned removal date anymore, there is no need to use a separate annotation.
GitOrigin-RevId: a047c55475e0f4752a2842577e094fb041c6c05b
2022-02-11 15:12:14 +00:00
Nikolay Chashnikov
5736dff67a
[java] cleanup: get rid of unused deprecated API (IDEA-281036)
...
GitOrigin-RevId: 4fb6419ad50e0a63aa1551eaad9b358d8c532468
2022-01-13 20:14:19 +00:00
Nicolay Mitropolsky
6455d10a82
Uast: cleanup after KT-25297 fixed
...
GitOrigin-RevId: b561fd5dbdcd2c62163fe66f37e51fd75298fc25
2021-12-20 09:59:22 +00:00
Nikita Katkov
7b8b3f5a8e
[blocking calls detection] Camel case fo class names
...
GitOrigin-RevId: a28f39babdd453df11a801d36405b9e459073484
2021-10-08 21:52:35 +00:00
Nikita Katkov
80bb954956
[blocking calls detection] Provide context description with ContextType
...
GitOrigin-RevId: ec734feffe3adf62395d2f0cb7e62e45a9239421
2021-10-08 21:52:34 +00:00
Nikita Katkov
3b9ec035aa
[blocking calls detection] Refactored API method name so that it conforms to its new semantics
...
GitOrigin-RevId: 74eb46ecd699c1ed1d0e3e0d02c5351f3fe4ff78
2021-09-28 13:36:39 +00:00
Aleksandr Izmaylov
f2c33ca011
[reactive-streams] move getReturnType for lambdas to util file
...
GitOrigin-RevId: 836357e5f873d156edb12ecce6f8d6b5ec91b239
2021-09-27 14:34:22 +00:00
Nikita Katkov
ed032a9767
[blocking calls detection] Fixed lazy context type evaluation logic
...
GitOrigin-RevId: 5b091edeee7e60ea299175f1aeb8a5c51fc0d87d
2021-09-25 21:05:20 +00:00
Nikita Katkov
ab278b73f5
[blocking calls detection] New nonblocking context detection API
...
API allows returning UNKNOWN context type and force further checks + quick fix `consider unknown context blocking` is introduced
GitOrigin-RevId: 9013b3723b6262a4ee39269b45b61eb5b85b9b07
2021-09-25 21:05:14 +00:00
Nikita Katkov
ed1edec82c
[blocking calls detection] Refactored deprecated API usages
...
GitOrigin-RevId: ec5767195b6c0183a22d080aa0c3805aaba38d39
2021-09-25 21:05:12 +00:00
Nikita Katkov
fc8cebe7b0
[blocking calls detection] Introduced consider unknown context [non-]blocking setting
...
GitOrigin-RevId: 2afc96101edcb17f56076a7f3a53ac024e36b735
2021-09-25 21:05:11 +00:00
Nikita Katkov
4149e88a76
Rename .java to .kt
...
GitOrigin-RevId: f7e8533f54b44adb81cfafed6f28361fdd2692d5
2021-09-25 21:05:09 +00:00
Daniil Tsaryov
a6d3fb95fc
IDEA-272968 [Reactive Streams] Mutiny: Support blocking calls detection for SmallRye asynchronous primitives
...
Use UReferenceExpression instead of PsiReferenceExpression. Check for lambda return type with AnalysisUastUtil.getContainingMethodOrLambdaReturnType
GitOrigin-RevId: 5526550cb9ad50e4d70a3a0ab32050af3beabd10
2021-09-13 15:26:14 +00:00
Yuriy Artamonov
0b50d89819
[java] Consider @Blocking and @NonBlocking on classes in BlockingMethodInNonBlockingContextInspection
...
GitOrigin-RevId: 53bb9c8978c38d122069ba5ef2e956ae84efc528
2021-09-08 19:24:17 +00:00
Yuriy Artamonov
9d7c5caf91
[java] Consider @Blocking and @NonBlocking on classes in BlockingMethodInNonBlockingContextInspection
...
GitOrigin-RevId: d3a486b85659c78901a326f08ebadeadd8e656ab
2021-09-05 16:21:13 +00:00
Yuriy Artamonov
4f044b833f
[reactive-streams] IDEA-273877 Treat @Transactional like @Blocking if return type is not reactive streams Publisher
...
GitOrigin-RevId: 5e54b17510a88027b3fbffc330fc363b5845dd0b
2021-09-03 17:48:12 +00:00
Alexey Kudravtsev
4be9830af6
do not let jvm-analysis-api to depend on "java.impl" because OpenAPI shouldn't depend on impl modules, especially ones with impl-detail libraries attached
...
GitOrigin-RevId: 764cc1b132d1e540e3033baaeae51c393f7a59b2
2021-07-20 15:45:06 +00:00
Olga.Klisho
5cbf5c9923
(IDEA-265061) JUnit5MalformedParameterizedInspection rewritten to UAST
...
GitOrigin-RevId: a8b56d7307be0227ce01a681c37882a8928a7096
2021-06-08 08:52:08 +00:00
Tagir Valeev
e282cd0d7f
Cosmetics
...
GitOrigin-RevId: 0c51eb3d1f21f221764d9b992fcda8adf676b380
2021-05-17 12:21:58 +00:00
Bart van Helvert
0925b988bb
[UAST] IDEA-254702 Clean up JUnit Rule inspection
...
GitOrigin-RevId: 305661cd07e1dfabdb60f377d89e2a3090acb4a1
2021-01-18 21:23:52 +00:00
Nicolay Mitropolsky
1aca0949c8
NonNlsUastUtil: take NonNls annotation from fields in case resolve to kotlin property setter or getter
...
testdata is also updated, it relied on the wrong behaviour which is not actual as long KT-40578 is fixed
GitOrigin-RevId: 7c4195b85ca45025838a1fec2a107939afc24ffa
2020-09-29 10:30:56 +00:00
Tagir Valeev
3343ea4248
I18n support refactoring: NlsInfo introduced to track localization status
...
GitOrigin-RevId: 32b92fe5d1516b02dbd77ee1f6a01856df0e0d79
2020-03-24 08:02:50 +00:00
Tagir Valeev
78a91459c4
Array annotations changed to type-use style (not compilable now)
...
GitOrigin-RevId: 68aa4ba200618083684599228e13dfdba35967a4
2020-01-16 08:11:51 +00:00