Anna Kozlova
11b0322d24
[uast] skip tainted analysis if tainted annotations are not present
...
GitOrigin-RevId: 48e0b5bf106999dc5edae1c44c51fcdc23f40a96
2022-01-18 18:51:47 +00:00
Bart van Helvert
b5858b2899
[java] Fix error message when resource can't be found when loading forbidden language API
...
GitOrigin-RevId: 4d54927d414f148982aef116983124b77c811414
2022-01-14 11:14:20 +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
Artemiy Sartakov
d65d8a3b49
MarkAsSafeFix: check that annotation roots are configured before adding external annotation (IDEA-281273)
...
GitOrigin-RevId: 8a1d567c3e82cc25694ced59b822f329862b1249
2021-12-24 07:33:19 +00:00
Tagir Valeev
e419a14bfc
[java-completion] IDEA-285531 Deprioritize elements marked as unstable API in completion popup
...
GitOrigin-RevId: 34c887ac35678ac5f3aa7e3e5b5ee5b74b992464
2021-12-24 06:52:55 +00:00
Anna Kozlova
85f3e8a608
[java] [tainted analysis] fix layout
...
move Annotate All to the left
GitOrigin-RevId: a91b674fa85ba964b8dafc609cc6132009733b0a
2021-12-23 23:47:37 +00:00
Nicolay Mitropolsky
6455d10a82
Uast: cleanup after KT-25297 fixed
...
GitOrigin-RevId: b561fd5dbdcd2c62163fe66f37e51fd75298fc25
2021-12-20 09:59:22 +00:00
Anna Kozlova
a5e1bff50c
cleanup class name
...
GitOrigin-RevId: 144c2719b61b3a9294cca25c834b6f05f8f162e4
2021-12-13 12:40:48 +00:00
Dmitry Gridin
4d07a4f7a1
[kotlin] tests: rename/move some tests to hit right test buckets
...
This should speed up the passing of CI tests
GitOrigin-RevId: 5633b07b01495b35ba807edea7ac4bfe627d8be9
2021-12-10 13:48:34 +00:00
Anna Kozlova
d3bec9d0e8
[junit 5] ensure long method presentation if method has braces in the name (IDEA-280519)
...
GitOrigin-RevId: cc7291bd3663483649cab9baae4d30b2e9439477
2021-12-09 15:18:10 +00:00
Artemiy Sartakov
6a666b2e4b
SourceToSinkFlowInspection: external annotations (IDEA-282915)
...
GitOrigin-RevId: 43498896cbc5395ddea8f5dde818e8ddbad6d6e7
2021-12-09 05:42:06 +00:00
Bart van Helvert
00878d69c5
[jvm] JavaApiUsage inspection generator style fix
...
GitOrigin-RevId: 900068230f955ca15bdf143a3a4460db444c85d9
2021-12-08 10:15:16 +00:00
Artemiy Sartakov
1745c22fce
SourceToSinkFlowInspection: support for kotlin property auto generated accessors (IDEA-282918)
...
GitOrigin-RevId: 818a39dcdd4988f8ad2294c3487f9f88f6e3fa7b
2021-12-03 06:41:33 +00:00
Artemiy Sartakov
704b5b0f72
SourceToSinkFlowInspection: support for kotlin primary constructor parameter (IDEA-282918)
...
GitOrigin-RevId: 9d89e42e7d7891237b180ede447d7bd6b3e134af
2021-12-03 06:41:31 +00:00
Artemiy Sartakov
83c934c331
SourceToSinkFlowInspection: support for if expression in kotlin (IDEA-282918)
...
GitOrigin-RevId: fe989e2feb4df19a6922134c879a6e2d3166fb7a
2021-12-03 06:41:30 +00:00
Anna Kozlova
e4ef3d46d4
junit 5: ensure compound annotations work for kotlin tests (KTIJ-12800)
...
GitOrigin-RevId: 9f6992886ed82f4248da432ac91e8ddde8f05c44
2021-12-01 21:21:03 +00:00
Bart van Helvert
793aa9c54d
[jvm] IJ-CR-17755 JavaApiUsageInspection style improvements
...
GitOrigin-RevId: fbfc9429d0ec304e9fbc8eac31472cb07d596275
2021-11-29 22:55:15 +00:00
Bart van Helvert
4287901053
[jvm] IJ-17755 JavaApiUsageInspection style improvements
...
GitOrigin-RevId: 2c7fb1fd469702bb015f3fd5e1b8cb008394da8a
2021-11-26 22:12:14 +00:00
Bart van Helvert
9e7f1e31d1
[jvm] Improve JavaApiUsage inspection description
...
GitOrigin-RevId: 61170ecdf48a45aaa4246963c2d7cee8acf7ccda
2021-11-25 09:26:09 +00:00
Bart van Helvert
01c04210bf
[jvm] IDEA-281946 Convert Java15ApiUsageInspection to UAST
...
GitOrigin-RevId: f1045e0633514d2ca3ce50edd58c06f80ebc2662
2021-11-25 09:26:06 +00:00
Bart van Helvert
ef469579fc
[jvm] Include annotations in project descriptors
...
GitOrigin-RevId: 09903e4d0800845316e3250e7bac06a96af11b66
2021-11-23 00:01:46 +00:00
Bart van Helvert
0de35a8656
[jvm] Properly set module language level in tests
...
GitOrigin-RevId: dc328899e9aca62b8bdab82b5b2fe32d36462733
2021-11-23 00:01:45 +00:00
Bart van Helvert
580ad22de9
[jvm] Change to Java light test
...
Also sets language level and sdk to 11 by default
GitOrigin-RevId: f1180831f288f12d0bcd2cf46754ed720f891b26
2021-11-23 00:01:42 +00:00
Artemiy Sartakov
2a998e033e
SourceToSinkFlowInspection: fixed preview in cases when member contains empty lines (IJ-CR-17157)
...
GitOrigin-RevId: 89b2856b84acd601c1aa323c42fc11e2bf84abd8
2021-11-19 09:20:16 +00:00
Bart van Helvert
604876328c
[jvm] Fix Kotlin source to sink flow test
...
GitOrigin-RevId: 13ae01d6d5d957dc2438bf951c6ffe5de3b3f548
2021-11-18 19:39:17 +00:00
Anna Kozlova
c30972b691
junit 5 migration: cleanup
...
GitOrigin-RevId: c6f069b46d44f911378ed31999024ea9b91ddbd0
2021-11-18 10:18:42 +00:00
Anna Kozlova
8180b768a6
junit 5: fix migration processor (IDEA-282808)
...
when short name which is not needed to be migrated is a first usage, nothing else was processed for this fqn
GitOrigin-RevId: 15bdc591264e549680a8b48a1902f7d84b00ab7d
2021-11-18 07:06:45 +00:00
Artemiy Sartakov
14d87238a0
SourceToSinkFlowInspection: changed wording in propagate dialog (IDEA-281148)
...
GitOrigin-RevId: de72073474c64a08c2218859189b594e3cfa7693
2021-11-18 05:46:46 +00:00
Artemiy Sartakov
3bf6e445a5
SourceToSinkFlowInspection: enable preview for mark as safe fix (IDEA-281148)
...
GitOrigin-RevId: afb15363eeb9df602f8e2900c1f951d8006d4d8c
2021-11-17 11:24:56 +00:00
Artemiy Sartakov
c1cf330f63
SourceToSinkFlowInspection: use suppressId instead of different shortName (IDEA-CR-17160)
...
GitOrigin-RevId: e2add58659d9c09b98ba4cfc590ce3c47834e8c0
2021-11-17 08:08:58 +00:00
Artemiy Sartakov
1f3b8dfdc4
SourceToSinkFlowInspection: quickfix for adding checker-qual dependency (IDEA-281933)
...
GitOrigin-RevId: e6571138dc8e0a9fc914a67ebb56a242b80b2efe
2021-11-16 07:38:39 +00:00
Artemiy Sartakov
d42856d2a6
SourceToSinkFlowInspection: better message when unsafe/unknown string is assigned to safe local var (IDEA-281280)
...
GitOrigin-RevId: 9761dc6d69ecaece443a7e72e40bb8d2155ef893
2021-11-16 07:38:37 +00:00
Artemiy Sartakov
94fcad0391
SourceToSinkFlowInspection: do not mark places as Untainted if they already have this annotation (IDEA-281290)
...
GitOrigin-RevId: 12863507c4bc7f0ab448a71a3a2c4db2b15d1b4d
2021-11-16 07:38:35 +00:00
Artemiy Sartakov
62b33ba8f6
SourceToSinkFlowInspection: change short name to "tainting" for parity with checkerframework (IDEA-281151)
...
GitOrigin-RevId: 2cec5d6519c7639fd6c19e33751c5e851039b816
2021-11-16 07:38:33 +00:00
Artemiy Sartakov
5b7bea80b1
SourceToSinkFlowInspection: make propagate annotations fix dialog async, new ui (IJ-CR-14803)
...
GitOrigin-RevId: 8b2ca80e2bbd296856a72a07ac4698792ed0e5d2
2021-11-16 07:38:30 +00:00
Bart van Helvert
f6be43a73d
[jvm] Add test API for setting language level
...
GitOrigin-RevId: 03a725cc3864ce7aae48b4c846e98e380989927e
2021-11-14 21:14:59 +00:00
Artemiy Sartakov
897841b0fd
MarkAsSafe fix: change message to "Mark as requiring validation"
...
GitOrigin-RevId: a808a4a23b5d9f871d699ed0c2eb3bd76c31ed3b
2021-11-09 10:21:57 +00:00
Bart van Helvert
69dcdf758c
[jvm] Improve TestOnlyInspection style
...
GitOrigin-RevId: dd77a41597d528260ff4108f19706f851ab8228a
2021-11-01 14:06:48 +00:00
Bart van Helvert
f234756946
[jvm] Merge test data and test for test only inspection
...
GitOrigin-RevId: 04432d7df1e5bd905b1acf64fac71547788245d6
2021-10-28 10:48:20 +00:00
Nikita Katkov
3f4f7d700e
[blocking calls detection] Removed unused class
...
GitOrigin-RevId: bb8cc475e4ad47e0f9d47368eb8e61e82a3cad07
2021-10-25 19:08:29 +00:00
Yuriy Artamonov
430428f952
[java] Check also javax. and jakarta. packages in ThrowsTypeBlockingMethodChecker
...
GitOrigin-RevId: defcb34d47926288de59b000e3d95860c530461d
2021-10-22 14:09:36 +00:00
Artemiy Sartakov
b107d4cb10
JvmElementActionsFactory: support type annotations
...
GitOrigin-RevId: b8baeedd0cf34006cc840526936898ddf1bed8cf
2021-10-19 16:24:59 +00:00
Ilyas Selimov
6b74c12eab
[java] - unused declaration rework for functional expressions
...
GitOrigin-RevId: e2f2188edf79fddd902c038bdfdea072eed01bfe
2021-10-11 05:51:42 +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
Anna Kozlova
7450e40b4e
[uast] create serial UID: don't require current editor in batch mode
...
GitOrigin-RevId: e8000852f93ac1415268e004fab4ce51de06cae9
2021-10-06 19:14:38 +00:00
Artemiy Sartakov
40936f24bf
SourceToSinkFlowInspection: added fix to propagate safe annotation
...
GitOrigin-RevId: 03b5b73ec32510624858245e9024152a7341b3ff
2021-10-01 11:32:07 +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
Nikita Katkov
9c5c90a273
[blocking calls detection] Fixed annotation nonblocking context checker
...
Now it returns UNSURE value instead of BLOCKING in cases where it can not surely determine context type
GitOrigin-RevId: 4a3c1f464578e99376b70e050b140294eae2dbaa
2021-09-28 13:36:16 +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