Commit Graph

1564 Commits

Author SHA1 Message Date
Anna Kozlova
403abc677a testdata for IDEA-57293
(cherry picked from commit ece414558b7165e746bdf0a2d949979641ca33b4)
2014-10-17 21:06:36 +02:00
Anna Kozlova
ba074ff60f testdata for IDEA-57508
(cherry picked from commit 4fe55d72d1deca0802202ffb90194fdc41196598)
2014-10-17 21:06:14 +02:00
Anna Kozlova
8dd8f509f6 substitution: do not open unbounded capture during substitution (IDEA-125423)
(cherry picked from commit 1a8180cabca79b6ab2972a759aaffaa043f60c57)
2014-10-17 21:05:53 +02:00
Anna Kozlova
bc8a70e89f fix erasure of captures special case, not valid anymore for new compilers (IDEA-131348)
(cherry picked from commit 0f357add956c0340ce08c79a14c052007e53be86)
2014-10-17 21:03:34 +02:00
Anna Kozlova
524c5a4c4d new inference: functional parameterization should proceed to non-wildcard parameterization with partly ready parameterization, new spec (IDEA-131417)
(cherry picked from commit e7cf17fa45740d7f233ce426d9d78a3580399d8e)
2014-10-17 21:03:20 +02:00
Anna Kozlova
3ad7219cdb disable anonymous -> lambda replacement when 'runtime annotated' (IDEA-131206)
(cherry picked from commit 07b10689487a95a5d2de78c25d1a7f0c44b6607d)
2014-10-17 21:02:10 +02:00
Anna Kozlova
2ecc4272ac merge unused declaration and unused symbol inspections 2014-10-14 10:24:58 +02:00
Anna Kozlova
b2ea4c6e79 inference: simplify bounds check; ensure fresh variables are treated as same, important e.g. in case of diamond operator when inferred types are new each time they are computed (IDEA-131066)
(cherry picked from commit 517c299e336e38bc20d3478191279be2176fbd9b)
2014-10-13 19:33:33 +02:00
Anna Kozlova
b2a07e2eee lambda: stop at method if it's located inside lambda (IDEA-131087)
(cherry picked from commit 890ffa719208e467b1ba238d248dbbf102c71b76)
2014-10-13 19:33:05 +02:00
Anna Kozlova
99f55229dc lambda -> meth ref: fix this qualifier in case of inheritance
(cherry picked from commit 5273314961f0fbf32c18ea3d602410c635caf03f)
2014-10-13 19:24:13 +02:00
Anna Kozlova
edd271b71a testdata for IDEA-130920 2014-10-08 14:06:00 +02:00
Alexey Kudravtsev
fc68d2a0d6 IDEA-130782 make RemoveUnusedVariableUtil#checkSideEffects Contract(pure) aware 2014-10-08 15:01:58 +04:00
Anna Kozlova
bcdb87573e new inference: do not cache control flow during conflict resolution (IDEA-130226) 2014-10-07 18:25:03 +02:00
Anna Kozlova
02c3e4395d testdata for IDEA-127767 2014-10-07 18:25:02 +02:00
Anna Kozlova
39154531ec unchecked warning: do not traverse through lambda bounds (IDEA-130810) 2014-10-06 10:39:43 +02:00
Anna Kozlova
892fe777b0 testdata for IDEA-130547 2014-09-30 19:18:49 +02:00
Anna Kozlova
e6483ac10c testdata for IDEA-130549 2014-09-30 19:18:48 +02:00
Anna Kozlova
9f72b14b9c lambda -> method reference: ambiguity prevented (IDEA-130126) 2014-09-30 19:18:44 +02:00
Anna Kozlova
3f940f370f reference to static method from interface: prefer static import context if provided (IDEA-130136) 2014-09-30 15:47:29 +02:00
Anna Kozlova
30b12e3e25 new inference: same parametrization check tweaked (IDEA-130519) 2014-09-30 15:47:28 +02:00
Anna Kozlova
75f1f14e8c anonymous type methods: remove too much intelligence (IDEA-130498) 2014-09-30 11:02:23 +02:00
Anna Kozlova
1df6fba2bb testdata for IDEA-130129 2014-09-29 16:09:18 +02:00
Anna Kozlova
aedcba169d do not drill inside lambda body during return statement search (IDEA-130123) 2014-09-29 14:08:36 +02:00
Anna Kozlova
d34eaa9ad2 shorten qualified names in change signature return type (IDEA-130277) 2014-09-29 14:08:35 +02:00
Alexey Kudravtsev
a03297df6b do not highlight method unused if referenced via overridden 2014-09-23 16:00:58 +04:00
Anna Kozlova
38087e7f3b do not erasure methods from non generics super types of raw types (IDEA-129646) 2014-09-18 15:02:23 +04:00
Anna Kozlova
3e13cddf2b lambda -> method reference: exclude receiver/non-receiver ambiguity (IDEA-129924) 2014-09-17 20:45:43 +04:00
Anna Kozlova
f1b12f6025 method refs: correct condition on receiver type substitution (IDEA-129905) 2014-09-16 20:11:42 +04:00
Anna Kozlova
5e79028c99 new inference: checked exceptions inference, ensure throws bound are marked as such 2014-09-16 16:04:04 +04:00
Anna Kozlova
800f508c44 new inference: prohibit substitution during checked exception constraint processing 2014-09-16 10:25:03 +04:00
Anna Kozlova
dc988e848d new inference: do not resolve method calls in lambda return expressions to check isPolyExpression when arguments do not contain potential constrains 2014-09-16 10:25:03 +04:00
Anna Kozlova
724425f20f allow access inner class object from super expression (IDEA-129795) 2014-09-12 21:36:56 +04:00
Anna Kozlova
c07c3f5c5b lambda: ensure ground type is taken before lambda parameter type is calculated (IDEA-129791) 2014-09-12 21:36:55 +04:00
Anna Kozlova
ea883dd1e7 stream migration: do not suggest to migrate if exceptions are thrown inside the block (IDEA-129484) 2014-09-12 21:36:55 +04:00
Anna Kozlova
a9c44fb386 block lambda -> exp lambda: more accurate check for conflict (IDEA-129780) 2014-09-12 16:24:22 +04:00
Anna Kozlova
6b266edf0b testdata accepted 2014-09-12 09:34:43 +04:00
Anna Kozlova
16838a8c11 new inference: teach strict subtyping constraint about intersection types (IDEA-129727) 2014-09-11 09:49:51 +04:00
Anna Kozlova
cbb22b8c9f new inference: process fresh variables depending on resolved vars (IDEA-56775) 2014-09-08 20:29:29 +04:00
Anna Kozlova
29e00ab329 testdata for IDEA-102800 2014-09-08 15:37:38 +04:00
Anna Kozlova
f884b96deb testdata for IDEA-114797 2014-09-08 15:37:38 +04:00
Anna Kozlova
8e353cebff testdata for IDEA-106985 2014-09-04 15:07:13 +04:00
Anna Kozlova
17b77be48b do not generate captured wildcard from unbound captured wildcard with same context 2014-09-04 15:07:13 +04:00
Anna Kozlova
f35847c962 support for disjunction types in create from usage intentions (IDEA-129453) 2014-09-04 15:07:12 +04:00
Anna Kozlova
33f7cb51f2 new inference: most specific check according to spec, fixed testdata after JDK-8043734 2014-09-04 13:45:03 +04:00
Anna Kozlova
32448804ae redundant lambda code block: do not suggest change void/value compatibility 2014-09-03 16:54:34 +04:00
Anna Kozlova
9097465506 new overload resolution: void value compatibility to reject improperly shaped implicitly typed lambdas 2014-09-03 16:54:34 +04:00
Anna Kozlova
5fc5b2b300 new overload resolution: reject explicitly typed lambda to be pertinent to applicability if any of its return expressions is not 2014-09-03 16:54:33 +04:00
Anna Kozlova
83c2d36544 testdata for assignment to final vars inside lambda 2014-09-03 16:54:32 +04:00
Anna Kozlova
44253d03be forbid assignment to final variable inside lambda 2014-09-03 16:54:31 +04:00
Anna Kozlova
736f703bbf new inference: standalong check with cached data (IDEA-128982) 2014-09-02 19:59:38 +04:00