Commit Graph

371 Commits

Author SHA1 Message Date
Anna Kozlova
1698f7bb29 testdata: ensure method ref qualified are checked over static problems 2014-04-22 20:02:41 +02:00
Anna Kozlova
b49d8e753f testdata 2014-04-22 20:02:40 +02:00
Anna Kozlova
f1f6fcf53b functional interfaces: ignore methods with type parameters during abstract method choosing 2014-04-22 20:02:38 +02:00
Anna Kozlova
a55db18089 lambda: accept intersection type when exactly one conjunct is functional 2014-04-22 20:02:37 +02:00
Anna Kozlova
76a9293609 testdata 2014-04-22 20:02:34 +02:00
Anna Kozlova
17b020f7c2 new overload resolution: covariant comparison of return types 2014-04-22 20:02:33 +02:00
Anna Kozlova
98ab76f060 new overload resolution: most specific check on invalid class exceptions fixed 2014-04-22 20:02:32 +02:00
Anna Kozlova
552dfe92a9 lambda: intersection type produces conjunction of abstract methods 2014-04-22 20:02:30 +02:00
Anna Kozlova
bd9dbfc7d5 testdata 2014-04-22 20:02:29 +02:00
Anna Kozlova
9914757d15 warn about underscore identifier 2014-04-22 20:02:28 +02:00
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