Anna Kozlova
f33a1f5426
[functional expressions search] check method equality when applicable (IDEA-276298)
...
otherwise unrelated lambdas/method references may land in results when intermediate inheritors contain default methods
GitOrigin-RevId: aa5baae37ff676ca477ca41d82b782c42d5fda6c
2021-08-18 15:11:51 +00:00
Peter Gromov
1182518e6b
JavaFunctionalExpressionIndex: don't throw on invalid code with lambdas outside members
...
GitOrigin-RevId: b2fac86f104ebf9d7a79dfc8136a69e7343adbb4
2020-06-19 19:49:34 +03:00
Peter Gromov
29ef77afd0
IDEA-242422 ArrayIndexOutOfBoundsException in FunExprOccurrence
...
GitOrigin-RevId: d0b1b4e881c919d9e855f897452c371dd12f2a59
2020-06-03 15:56:48 +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 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
970dc0fe32
Remove unnecessary downcasting
...
GitOrigin-RevId: b91110977db6e5b08d9f4aaffa8496d305d698e2
2019-05-03 01:40:23 +03:00
Vladimir Plyashkun
2d9369d983
CPP-16098 - Lags during inplace rename typing
...
- changed behaviour in safe way by introducing new method to check that particular expression does not depend
on committed PSI
GitOrigin-RevId: f5ec732613cdafdcef8a1d48eb8d04135c634047
2019-05-03 01:39:50 +03:00
Leonid Bushuev
338ad6db56
SQL code style per dialect: UI: fix indent editor
...
GitOrigin-RevId: 3cb00f5c500523717c42f404b2f38fd1822d6db0
2019-05-03 01:39:18 +03:00
Vladimir Plyashkun
d990d75dba
Merge branch 'master' into vplyashkun/inplace_rename_lags
...
GitOrigin-RevId: 5c7f8c478e7328df1646879ede977efd7465adf8
2019-05-03 01:38:45 +03:00
Leonid Bushuev
9f35a30458
SQL code style per dialect: UI
...
GitOrigin-RevId: 72cca4d6a23a5e2aa2089c03932ab2e9d08bfa48
2019-05-03 01:36:24 +03:00
peter
28a5a5765f
IDEA-211449 IDEA is unable to find lambda implementations when invoked on library class source
...
GitOrigin-RevId: 8fd904e0dae62c5b15f9b85fe2086860bf89b4d0
2019-04-28 17:13:28 +03:00
Tagir Valeev
62bbfeaa3c
JavaFunctionalExpressionIndex: support array initializers
2019-03-15 10:45:43 +07:00
peter
53867e057f
IDEA-161862 Lambda Expressions not showing as implementations of an interface
2016-09-29 11:31:20 +02:00
peter
9776d5a28d
speedup functional expression search (IDEA-159107)
...
* filter inapplicable expressions without loading AST if possible, via approximate resolve
* for that, store the approximate call chains in index
* iterate over files once, not for each empty marker Runnable interface separately
* don't rely on generic method parameter index: it's huge, memory-hungry and works only in Java
2016-08-13 12:12:19 +02:00
peter
e8ea2598f3
fun expr search: minor improvements after reviews
2016-08-13 12:12:19 +02:00
peter
522e0b9c2d
don't visit jdk Stream API usages when searching for unrelated functional interface implementations
2016-08-03 12:49:11 +02:00
peter
22b9dc61a6
fin functional expressions of SAM interfaces related to the given one
2016-07-23 23:05:56 +02:00
peter
2a93e063bd
rewrite functional expression search to use stub index
2016-07-22 17:41:21 +02:00
peter
1c451db9ad
a test that lambdas in constructor calls are found
2016-07-21 12:16:42 +02:00
peter
0a4f995460
find lambdas passed into vararg methods
2016-07-21 12:16:41 +02:00
Anna Kozlova
d9c65ce4ee
ensure functional interface is found if assigned to field in another file (IDEA-156592)
2016-05-31 20:21:14 +03:00
Anna Kozlova
e484d54fb8
missed usages of method references (IDEA-147828)
2015-11-12 12:36:59 +01:00
peter
c70ab42653
fix finding lambdas implementing JDK interfaces
2015-09-23 13:48:55 +02:00
Anna Kozlova
234fdbfc4f
find functional expressions by method type parameter
2014-11-05 19:31:52 +01:00
Anna Kozlova
6d7cfc99c2
java 8: anonymous class fields could be available later in next lambdas (IDEA-123731)
2014-04-09 19:27:16 +02:00
Anna Kozlova
ec1d4927bd
search for functional interface implementations by lambdas and method references: change signature/find usages; to be continued (IDEA-104286; IDEA-90824)
2014-04-07 16:59:16 +02:00