Commit Graph

24 Commits

Author SHA1 Message Date
Sergey Patrikeev
856a375563 Unstable and ScheduledForRemoval inspections tests refactoring: move to single module, move code to files.
GitOrigin-RevId: e4fb80e92b276952d608d0b721301471ac4e7cd7
2019-07-02 06:52:16 +03:00
Sergey Patrikeev
9b498304a6 IDEA-216155: inspection that warns if API marked with @ScheduledForRemoval annotation must already be removed.
GitOrigin-RevId: bb9cc3c842e6110d801f718717665498a077e3a3
2019-07-02 06:52:16 +03:00
Sergey Patrikeev
cbe1384451 IDEA-211503: Add inspection checking that @ApiStatus.ScheduledForRemoval annotation is accompanied by the @Deprecated.
GitOrigin-RevId: 071f0a6c823037bade61bc42a1e9714515439111
2019-07-02 06:52:16 +03:00
Rustam Vishnyakov
123242c4b2 EditorConfig documentation test
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00
Egor Zhdan
c1813cfb52 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-16 04:02:08 +03:00
Anna Kozlova
91f7445298 constructor reference: don't ignore constructor parameters during method reference inference (IDEA-185578)
GitOrigin-RevId: e836468e05db28157713e9edd3c70382f8ecdebc
2019-06-13 03:15:49 +03:00
Egor Zhdan
39d2d77155 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-13 03:14:35 +03:00
Aleksey Rostovskiy
185284cee6 get rid of intellij.build.toolbox.litegen parameter and use BuildOptions.TOOLBOX_LITE_GEN_STEP to skip it instead
GitOrigin-RevId: 9aac8ee4ed1ebf2a29de18a238825fafb1ab88f9
2019-05-27 15:08:08 +03:00
Alexandr Suhinin
9215f4240b [duplicates] enable duplicates analysis in PyCharm/WebStorm/PhpStorm/RubyMine
GitOrigin-RevId: 1545b79fdca4888f4b94f47f22703fd37694fa7a
2019-05-27 15:07:30 +03:00
Anton Makeev
c105e26db3 Merge remote-tracking branch 'origin/master' into amakeev/gradle
GitOrigin-RevId: f9a633252daf311ecab19002c0f4757052eee9dc
2019-05-17 19:13:15 +03:00
Anton Makeev
b54aaf7e4e IDEA-210281 Cleanup Gradle settings: separate Runner configurable removed
GitOrigin-RevId: adbc39121fe91beb633e125b4cf39bfe0a422e4b
2019-05-17 19:02:16 +03:00
Sergey Patrikeev
44ad67b999 Platform API (IDEA-211307): add annotations prohibiting certain types of API usages.
Added annotations @ApiStatus.NonExtendable and @ApiStatus.OverrideOnly.
Added corresponding inspections checking violation of usages of annotated API.
Fix a couple of bugs in ApiUsageUastVisitor. Enforce both "processReference" (for class) and "processConstructorInvocation" (for constructor) events. Suppose code "new SomeClass(42)". We want ApiUsageVisitorBase to invoke both "processReference" for "SomeClass" and "processConstructorInvocation" for "SomeClass()", though they point to the same PSI element.

GitOrigin-RevId: 811b4d5a875dcb246582df1cd2e6be48cc96c990
2019-05-15 17:08:41 +03:00
Sergey Patrikeev
95cc10cd5e IDEA-210618: Reference implementation of PSI visitor for UAST-supporting languages that detects usages of APIs in source code. 2019-04-18 19:58:17 +03:00
Sergey Patrikeev
4e1d9527ca ScheduledForRemoval: display version when API is going to be removed, if it's specified. 2019-02-01 19:12:40 +03:00
Sergey Patrikeev
f880b44c8f Update test data for AnnotatedElementInspection so that references' names are consistent with the Deprecation inspection 2018-12-02 17:58:05 +03:00
Yaroslav Pankratyev
5302b3fb01 IDEA-194133 ScheduledForRemovalInspection tests 2018-09-26 13:44:34 +07:00
Yaroslav Pankratyev
04497c6e0b IDEA-194133 Refactor UnstableApiUsageInspectionTest, extract common parts with future tests for @ScheduledForRemoval inspection 2018-09-26 13:44:34 +07:00
Yaroslav Pankratyev
83160f84a1 IDEA-193961 Unstable API usage inspection: option to ignore elements inside imports 2018-07-04 16:53:02 +07:00
Yaroslav Pankratyev
2404a9c990 Partially implemented StringToUpperWithoutLocale2Inspection (w/o registration) 2018-06-27 16:58:18 +07:00
Yaroslav Pankratyev
e58bb695b4 More refactoring in UastCallMatcher tests 2018-06-27 16:58:18 +07:00
Yaroslav Pankratyev
9559a90332 UastCallMatcher to support method references (in progress) 2018-06-27 16:58:17 +07:00
Yaroslav Pankratyev
7e458244a2 Introduce NonNlsUastUtil (prototype) 2018-06-14 14:27:29 +07:00
Yaroslav Pankratyev
922998ef5d Introduce UastCallMatcher + related changes and fixes 2018-05-30 16:42:08 +07:00
Yaroslav Pankratyev
4a8f357bb9 Add jvm-analysis modules and related changes, move JvmLocalInspection to jvm-analysis-api, move UnstableApiUsageInspection to jvm-analysis-impl 2018-05-15 17:44:33 +07:00