Commit Graph

1277 Commits

Author SHA1 Message Date
Anna Kozlova 43b8f9cdf4 stream migration: collapse identity matching (IDEA-122706) 2014-03-24 20:22:22 +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 9845ef2fd8 new inference: capture nested call case fixed (~Collections) 2014-03-21 13:16:46 +01:00
Anna Kozlova 4686315880 A class may not at the same time be a subtype of two interface types which are different parameterizations of the same generic interface(IDEA-122475); revert workarounds for javac 6 bug 2014-03-20 20:05:27 +01:00
Anna Kozlova 5461aa27e4 IDEA-122519 No enclosing instance of type XXX in scope 2014-03-20 15:25:53 +01:00
Anna Kozlova 003bfed65e testdata for IDEA-122509 2014-03-19 22:02:26 +01:00
Anna Kozlova d8747dfea6 stream: do not suggest collect when filter depends on collection (IDEA-122410) 2014-03-19 22:02:25 +01:00
Anna Kozlova b92955274f IDEA-122392 intention: "Create Local Var from instanceof Usage" does not format generated code 2014-03-19 22:02:24 +01:00
Anna Kozlova e6547e3991 poly conditional expression type = target type (IDEA-122401) 2014-03-19 19:32:35 +01:00
Anna Kozlova 8d0a07976b unused symbol: should not apply to the public constructors of Externalizable classes (IDEA-120639 ) 2014-03-19 11:02:31 +01:00
Anna Kozlova 6af1d4e49a field can be local: group by top level blocks (IDEA-121490) 2014-03-18 20:00:56 +01:00
Anna Kozlova 38168d7531 testdata after JDK-8034223 2014-03-18 16:49:05 +01:00
Anna Kozlova ed13961e23 IDEA-122347 No quick fix to add explicit type arguments 2014-03-18 16:49:03 +01:00
Anna Kozlova f53613781d IDEA-120563 2014-03-17 10:12:36 +01:00
Anna Kozlova 8b37b2b5d6 overload resolution: compare SAMs erasures 2014-03-14 20:44:00 +01:00
Anna Kozlova c464f19d9c IDEA-122129 agentmain method is highlighted as unused 2014-03-14 20:43:59 +01:00
Anna Kozlova 3704bfc631 IDEA-121234 IDEA can not update method return type 2014-03-14 20:43:58 +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 912e13d8af add junit4.jar together with hamcrest (IDEA-119626)
(cherry picked from commit 8adb1aadfc02ee5450f6f40d6e62892bef5a97e0)
2014-03-12 10:15:26 +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
Roman Shevchenko 64c651e7c5 IDEA-54397 (type annotations in override/implement) 2014-03-11 15:08:03 +01:00
Roman Shevchenko fb7c097c90 IDEA-121834 (generic exception substituted) 2014-03-11 15:05:52 +01:00
Anna Kozlova dccb826526 new inference: cache substitutor for outer call conflict resolution 2014-03-07 18:02:48 +01:00
Bas Leijdekkers 54fccb5efd IDEA-121828 (Add single member static import intention should be available on incomplete code) 2014-03-07 16:54:19 +01:00
Bas Leijdekkers 6d2515cf2f fix IDEA-112499 for single member static imports 2014-03-07 16:54:18 +01:00
Bas Leijdekkers 811fdf58e0 fix IDEA-112499 for on demand imports 2014-03-07 16:54:18 +01:00
Bas Leijdekkers b52ec5f33f IDEA-121784 (Add on demand static import intention not available when single-member static import present) 2014-03-07 16:54:17 +01:00
Bas Leijdekkers 557cca9d2d IDEA-108072 (Don't suggest to add on-demand static import for the current class) 2014-03-06 19:16:12 +01:00
Anna Kozlova 1a931f9871 lambda: unhandled exceptions inside method body should be treated as those inside anonymous classes (IDEA-121741) 2014-03-06 15:30:24 +01:00
Anna Kozlova a042720e74 stream migration inspection: preserve comments (IDEA-121679) 2014-03-06 15:30:23 +01:00
Anna Kozlova b060c817e0 stream migration inspection: collapse only primitive new initializers (IDEA-121745) 2014-03-06 15:30:22 +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
Roman Shevchenko 4969888e1f java: no annotations needed in type cast 2014-03-06 10:55:44 +01:00
Roman Shevchenko 1687a22e89 Cleanup (unneeded test data) 2014-03-06 10:55:44 +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