Commit Graph

14 Commits

Author SHA1 Message Date
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