Commit Graph

59 Commits

Author SHA1 Message Date
Tagir Valeev
33edc0ffa4 [java-psi] Rework extension methods support, according to review IJ-CR-4151
GitOrigin-RevId: 29d547dc38b2feba7e55b8fcfb420094341219b8
2020-12-03 06:06:11 +00:00
Tagir Valeev
56a375c9c1 [java] Resolve lombok extension methods in JavaTargetElementEvaluator
GitOrigin-RevId: 47fb6ac1ba4c143bb4c423120c86079b55b135af
2020-11-20 03:05:31 +00:00
Anna Kozlova
bfb94216f8 explicit type -> diamond for java impl
GitOrigin-RevId: 8498625a2215fb720649f7f4c5ccc15d7fb530b6
2020-09-03 18:33:39 +00:00
Anna Kozlova
e7eb7bbe94 goto implementation: add isCanceled to GoToData; don't search functional expressions eagerly (IDEA-245035)
GitOrigin-RevId: 585bc2a3d023dfbee69002e4ba1ae4bde02d047a
2020-07-03 21:02:26 +00:00
Tagir Valeev
c28d0b0d43 getHierarchyScope do not cache result for custom scope
GitOrigin-RevId: f174f05fe333b71c803a7fab3d4159b884bca64f
2020-05-25 13:53:04 +03:00
Tagir Valeev
2e78be6002 getHierarchyScope extracted
GitOrigin-RevId: 06a3653e969dcc3b464511fa8964c59c79dec8bf
2020-05-25 12:59:26 +03:00
Anna.Kozlova
90d15bfaf0 rename records components (IDEA-228462)
GitOrigin-RevId: f673a1841f9f8ca454a73b9f2a38b3e7edacbf65
2020-01-29 19:34:36 +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
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 Pivovarov
322db66a12 Recover after problematic merge
This commit reverts 65a557bb38f6ac03afa9aabaf02cb8d99fc68a91
                    3f5cfd958d9b6b54393c15983ac94f519c37fe61

GitOrigin-RevId: 8fb8ccbb17d0e217a83f265c185a943b0f5a7ed6
2019-05-03 01:52:21 +03:00
Nicolay Mitropolsky
9b850726ee [uast-groovy] UInjectionHost support
GitOrigin-RevId: 49ec454d1831796fa63b77fdc965f61985bf877e
2019-05-03 01:47:46 +03:00
Vladimir Plyashkun
c33e69a545 CPP-16098 - Lags during inplace rename typing
- reverted some of the changes

GitOrigin-RevId: c7c07b80a76c29794ef31e0e916e62f7f302917a
2019-05-03 01:47:14 +03:00
Leonid Bushuev
34be4bbf7d Apply the change from Develar: cleanup - specify UTF_8 charset explicitly
GitOrigin-RevId: 3f5cfd958d9b6b54393c15983ac94f519c37fe61
2019-05-03 01:46:11 +03:00
Vladimir Plyashkun
61a3e18b78 Merge branch 'master' into vplyashkun/inplace_rename_lags
GitOrigin-RevId: aaecc2a32e4e42de827efb45b8df733874a722e4
2019-05-03 01:41:29 +03:00
Leonid Bushuev
9f35a30458 SQL code style per dialect: UI
GitOrigin-RevId: 72cca4d6a23a5e2aa2089c03932ab2e9d08bfa48
2019-05-03 01:36:24 +03:00
Tagir Valeev
884ee2423a PsiNewExpression#isArrayCreation used
GitOrigin-RevId: 2d669600fe6ecbc552ed7e4043314c6a67f3ac8e
2019-04-29 12:34:23 +03:00
Tagir Valeev
094a14783a LambdaUtil#resolveFunctionalInterfaceClass
Could be faster than PsiUtil.resolveClassInClassTypeOnly(expression.getFunctionalInterfaceType())
2019-02-25 17:51:51 +07:00
Daniil Ovchinnikov
9a0ace1ac3 [java] skip anonymous classes when searching for declarations under caret (IDEA-206793) 2019-02-06 20:13:21 +03:00
Daniil Ovchinnikov
9cc648f6b6 make TargetElementEvaluator#getElementByReference default 2019-01-30 11:44:14 +03:00
Dmitry Batrak
4c6746550d revert fix for IDEA-183660 (Quick doc on a link) 2019-01-15 14:28:25 +03:00
Alexey Kudravtsev
ae3b36fd74 IDEA-194817 Show enum constant usages on mouse middle-click 2018-12-03 11:57:46 +03:00
Max Medvedev
75c1a661f1 add several @NotNull to TargetElementUtil & TargetElementEvaluatorEx2 2018-09-11 13:03:58 +03:00
nik
0be3657ad0 cleanup: remove 'public' modifier from constructors in non-public classes (IDEA-195931)
public constructors in non-public classes may be confusing, and removing them makes code shorter.
2018-09-06 16:49:46 +03:00
Tagir Valeev
5f86f8cb46 ExpressionUtils#isArrayCreationExpression; used in SideEffectChecker
Fixes IDEA-194652 IDEA found side effect in primitive array creation
2018-06-28 17:53:29 +07:00
Anna Kozlova
38f7fc11b6 don't recognize ref on functional interface outside of control stmts
IDEA-193833
2018-06-13 19:38:56 +03:00
Anna Kozlova
bedffe1c61 resolve constant to enum class when no constructor is available
IDEA-193708
2018-06-11 14:54:24 +03:00
Alexey Kudravtsev
1efe1e355d cleanup 2018-05-24 13:47:41 +03:00
Anna.Kozlova
fb409684db target evaluator: drill through var to inferred type
IDEA-189093: goto implementation, navigate to source, etc
2018-04-04 18:02:06 +02:00
Tagir Valeev
7fcc441fd5 JavaTargetElementEvaluator: remove DFA support
Rolls back IDEA-179038
2018-02-22 10:31:23 +07:00
Tagir Valeev
89d7f7290e PsiParameterList#isEmpty; isEmpty and getParametersCount used where possible 2018-01-26 16:41:54 +07:00
Anna.Kozlova
0d68a7724a getUseScope() (IDEA-CR-28320) 2018-01-08 19:30:15 +01:00
Anna.Kozlova
41ebb4f647 goto implementation: narrow scope to file for private methods()IDEA-184663 2018-01-08 17:05:50 +01:00
Dmitry Batrak
9e37ec42f9 IDEA-183660 Quick doc on a link 2017-12-20 16:16:32 +03:00
Tagir Valeev
3fdbcdd753 JavaTargetElementEvaluator#findOverridingMethod: run DFA only if method class has subclasses 2017-12-18 12:09:08 +07:00
Dmitry Batrak
e7ebd7eaf1 IDEA-183660 Quick doc on a link 2017-12-15 14:34:53 +03:00
Tagir Valeev
a7632b7d41 Covariant return: proper support of known intersection types 2017-11-13 11:45:35 +07:00
Tagir Valeev
0b99eeb259 MethodSignatureUtil.findMethodBySuperMethod used to find super method 2017-09-21 11:23:24 +07:00
Tagir Valeev
160e59056b JavaTargetElementEvaluator: fixes accoring to review IDEA-CR-24616
Extracted method, PsiUtil#canBeOverridden used, JavaOverridingMethodsSearcher#findOverridingMethod used
2017-09-15 15:34:07 +07:00
Tagir Valeev
d837111973 IDEA-179038 When navigating to method definition specific type information known from DFA could be used to find actual implementation 2017-09-15 14:29:43 +07:00
Alexey Kudravtsev
2f9ac87d26 some methods returning arrays marked notnull 2017-03-15 13:36:23 +03:00
Anna.Kozlova
20629ad77c goto implementation: process type parameter bounds recursively (following IDEA-CR-16752) 2016-12-13 15:47:37 +01:00
Anna.Kozlova
152eaa4337 goto implementations: use type parameter bounds to detect overriding methods (IDEA-165282) 2016-12-09 15:42:52 +01:00
Anna.Kozlova
971fdab483 goto implementation: allow on incomplete code (IDEA-161718) 2016-09-26 18:14:53 +02:00
Roman Shevchenko
c079105cdf [java] copying/pasting module references 2016-08-17 17:46:42 +03:00
Anna.Kozlova
78d1492242 explicit types to diamonds 2016-08-08 17:08:03 +02:00
Dmitry Batrak
f0967054f2 cleanup in JavaTargetElementEvaluator 2016-06-08 20:20:07 +03:00
Dmitry Batrak
374b53dd1b IDEA-157050 Disable quick doc for javadoc block tags 2016-06-08 20:20:07 +03:00