Commit Graph

611 Commits

Author SHA1 Message Date
Anna Kozlova 0d66941866 IDEA-123839: abstract&default combination 2014-04-11 17:06:07 +02:00
Anna Kozlova 75f267c222 testdata for IDEA-123848 2014-04-11 17:06:06 +02:00
Anna Kozlova 5e4751f25f testdata for IDEA-123869 2014-04-11 17:06:05 +02:00
Anna Kozlova d84cfe4661 method refs: do not loose information about type arguments given by ReferenceType in receiver 2014-04-11 17:06:02 +02:00
Anna Kozlova 5a0fe4306e check access class for super expressions referenced to interfaces 2014-04-09 19:27:20 +02:00
Anna Kozlova 07600e5109 testdata for IDEA-123731 2014-04-09 19:27:17 +02: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 e860377181 testdata for IDEA-123366 2014-04-09 13:29:01 +02:00
Anna Kozlova 6fd18d16b3 unused parameter: do not highlight if method is used locally by method reference (IDEA-123265) 2014-04-08 18:28:27 +02:00
Anna Kozlova d8ed05dbfa functional expressions: allow to delete/change signature of default methods of functional interfaces 2014-04-08 12:18:32 +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
Anna Kozlova 1daf8f50df ambiguity (IDEA-123352) 2014-04-03 17:15:53 +02:00
Anna Kozlova 565b28a089 check for assignment to final field inside lambda (IDEA-123308) 2014-04-02 20:54:08 +02:00
Anna Kozlova 2cc9842ac2 method references: highlight separately non-instantiated classes, not resolved methods (IDEA-123279) 2014-04-02 10:51:27 +02:00
Anna Kozlova d33575878b new inference: substitute resolved vars which e.g. did not participate in initial session (IDEA-123248) 2014-04-01 14:17:06 +02:00
Anna Kozlova 5518b93bd2 method reference constraints (IDEA-123223) 2014-04-01 14:17:05 +02:00
Anna Kozlova e28d3f5c95 method reference: use site substitutor if nothing else was inferred 2014-04-01 10:19:02 +02:00
Anna Kozlova 990094f360 new inference: collect nested calls from lambda return statements (JDK-8038747) 2014-04-01 10:19:01 +02:00
Anna Kozlova 39ec50333b testdata for IDEA-120498 2014-03-28 20:47:26 +01:00
Anna Kozlova c7eb840149 new inference: use available in stack methods, do not cache if this info was used (IDEA-122406) 2014-03-26 18:54:41 +01:00
Anna Kozlova 72203e26ef default methods: check for super class is now needed (IDEA-122720) 2014-03-26 18:54:39 +01:00
Anna Kozlova 9f58257359 new inference: String::length should be exact (IDEA-122191) 2014-03-25 14:47:59 +01:00
Anna Kozlova 40424a1615 wildcard substitution partly reverted (IDEA-122700) 2014-03-24 20:22:26 +01:00
Anna Kozlova 5bd221386d inference: ensure nested methods lift their bounds (IDEA-122681) 2014-03-24 12:54:15 +01:00
Anna Kozlova 60acb4b9b2 IDEA-122616 2014-03-21 18:28:36 +01:00
Anna Kozlova 003bfed65e testdata for IDEA-122509 2014-03-19 22:02:26 +01:00
Anna Kozlova e6547e3991 poly conditional expression type = target type (IDEA-122401) 2014-03-19 19:32:35 +01:00
Anna Kozlova 38168d7531 testdata after JDK-8034223 2014-03-18 16:49:05 +01:00
Anna Kozlova 8b37b2b5d6 overload resolution: compare SAMs erasures 2014-03-14 20:44:00 +01:00
Anna Kozlova 219506dabf new inference: ignore return dependencies of a variable when proper bound is present (IDEA-119535) 2014-03-13 19:30:34 +01:00
Anna Kozlova 766bdc0151 new inference: method reference constraint for the case of return type depends on type params (IDEA-122100) 2014-03-13 19:30:33 +01:00
Anna Kozlova 853235664f new inference: resolve bounds which are not mentioned by additional constraints before starting algorithm
(cherry picked from commit f4c3b393d749a7ad27936014c932492643a277e4)
2014-03-13 15:15:11 +01:00
Anna Kozlova d03d73ed7d testdata for IDEA-122074, IDEA-122084
(cherry picked from commit 582e8846460cb5f4c20d271cdf7894e557bc6e02)
2014-03-13 15:15:02 +01:00
Anna Kozlova e02ca9c75a comment testdata 2014-03-12 10:54:18 +01:00
Anna Kozlova d85189374d testdata for IDEA-121999
(cherry picked from commit 85f88420716c2bb2e0a73d524a33656a5699cf9f)
2014-03-12 10:19:45 +01:00
Anna Kozlova b89dc394cc testdata for IDEA-121884
(cherry picked from commit 985e902bb5edb3c913d0394492494ed115e545b4)
2014-03-12 10:19:22 +01:00
Anna Kozlova 7d747c8cef new inference: most specific with same functional interface presence
(cherry picked from commit f05ae78f4cfd030258264d717d7522ab0930d9a5)
2014-03-12 10:17:33 +01:00
Anna Kozlova 465325a6a6 new inference: nested varargs
(cherry picked from commit 0d293e439ffcbe97db98c1a1b8072e798d94323e)
2014-03-12 10:17:10 +01:00
Anna Kozlova 4112118f42 new inference: choose most specifics between 2 varargs methods
(cherry picked from commit 9f754331ad04e4be639d94da7a659927f8384294)
2014-03-12 10:16:12 +01:00
Anna Kozlova 1ee2942d53 new inference: raw inner class method qualifier fixed (IDEA-121909)
(cherry picked from commit 012fcf6e95030e673f24307cb3527e0ea82f5c72)
2014-03-12 10:15:49 +01:00
Anna Kozlova 10760d9bbf new inference: process varargs as separate method candidate/separate phase
(cherry picked from commit fdd6f66268d29bb996a103f69180851b92947d21)
2014-03-12 10:15:03 +01:00
Anna Kozlova fb20169d40 new inference: reject varargs as method reference target
(cherry picked from commit 77017d7790b78c5bb20c591e2588c1eccd0f96d7)
2014-03-12 10:13:54 +01:00
Anna Kozlova 0f40eb9bed new inference: exact method reference is not pertinent to applicability when target type is type parameter
(cherry picked from commit 8b3512a097ef1124a5cede6ade95b4e50017c7b9)
2014-03-12 10:13:19 +01:00
Anna Kozlova dccb826526 new inference: cache substitutor for outer call conflict resolution 2014-03-07 18:02:48 +01:00
Anna Kozlova 09c6a8db6c method refs: search for potentially applicable members in supers (IDEA-121737) 2014-03-06 11:42:08 +01:00
Anna Kozlova 5412fbc960 overload resolution: grab lambda from nested parenthesis as well as conditional expressions 2014-03-06 11:42:07 +01:00
Anna Kozlova f86ac6f741 new inference: use equals bounds during incorporation 2014-03-06 10:15:25 +01:00
Anna Kozlova e07fdee02a testdata for IDEA-118965 2014-03-06 10:15:24 +01:00
Anna Kozlova 46112ee3ec new inference: cache lambda functional type during expression constraints reduction (IDEA-121315) 2014-03-06 10:15:23 +01:00
Anna Kozlova 5029b3fc55 new inference: do not prefer specifics based on void return type for both void and value compatible lambdas 2014-03-06 10:15:22 +01:00