Commit Graph

2312 Commits

Author SHA1 Message Date
Anna Kozlova
1d2a8e0571 lambda -> meth ref: varargs 2014-11-12 13:13:35 +01:00
Anna Kozlova
89d1df1dc0 redundant casts in lambda return expressions (IDEA-132723) 2014-11-12 13:13:33 +01:00
Anna Kozlova
bf5b3ed5b2 lambda -> method refs: cleanup ambiguity between receiver/non-receiver methods 2014-11-11 18:24:48 +01:00
Anna Kozlova
0506cb77bc lambda -> method refs: check if result method reference is valid 2014-11-11 18:24:46 +01:00
Anna Kozlova
7e141da4c2 method references: compare number of arguments for non-vararg applicability only (IDEA-132708) 2014-11-11 12:03:06 +01:00
Anna Kozlova
09f8895b2b lambda ->method ref: check if accessible (IDEA-132371) 2014-11-10 20:41:56 +01:00
Anna Kozlova
2cbd7d0d52 fix remove unused assignment fix in return statement (IDEA-132349) 2014-11-10 20:41:55 +01:00
Anna Kozlova
db9d8d03fb javadoc generation: base class for anonymous (IDEA-132362) 2014-11-10 20:41:54 +01:00
peter
ca3481dbd3 IDEA-131145 Completion for @Override 2014-11-10 17:53:26 +01:00
peter
38e08bdcf9 IDEA-131845 Lambdas. Wrong current statement completion. 2014-11-10 17:53:26 +01:00
Anna Kozlova
96bfd65ab3 intersection rules: flatten unbounded wildcard with everything (IDEA-132431) 2014-11-07 15:47:50 +01:00
Anna Kozlova
6aef1682d6 testdata IDEA-132560 2014-11-07 15:47:49 +01:00
Anna Kozlova
cbd8be4b8e conflict resolution: missed null checks for diamonds non-physical static methods (IDEA-132534) 2014-11-07 11:57:07 +01:00
Anna Kozlova
668ccc7dd0 new inference: site substitution from remembered properties (IDEA-132417) 2014-11-06 19:11:31 +01:00
Anna Kozlova
bba30278f9 method refs: fix variable initializing order (IDEA-132445) 2014-11-06 19:11:29 +01:00
Anna Kozlova
234fdbfc4f find functional expressions by method type parameter 2014-11-05 19:31:52 +01:00
Anna Kozlova
accd4f0b23 redundant lambda code block: check void compatible lambdas for ambiguity conflicts 2014-11-03 16:11:26 +01:00
Anna Kozlova
7547c92c1f anonym -> lambda: expression lambda should be used with care due to void/value ambiguity (IDEA-125951) 2014-11-03 16:03:53 +01:00
Anna Kozlova
5f147eff7e fix comparison level when checking type arguments applicability (IDEA-132063) 2014-10-31 14:23:41 +01:00
Anna Kozlova
6e4595e7bd capture getClass() method type (IDEA-130973) 2014-10-31 13:24:41 +01:00
Anna Kozlova
66cd10b00c new inference: unchecked conversion detection in case of inference variables (IDEA-122932) 2014-10-31 13:24:40 +01:00
Anna Kozlova
2a71679bc4 initialized twice should not make use of computed constants (IDEA-63226) 2014-10-30 18:41:04 +01:00
Anna Kozlova
14f91eb65f final field initialization: class initializers (IDEA-130312) 2014-10-30 18:41:03 +01:00
Anna Kozlova
113d5db581 testdata for IDEA-65386 2014-10-30 18:41:02 +01:00
Anna Kozlova
d0e6c61fde disable short circuits for unreachable statements detection (IDEA-58305; IDEA-70953; IDEA-70948) 2014-10-30 11:50:05 +01:00
Anna Kozlova
3e3824fc89 add field to enum: ensure correct position after comment (IDEA-131820) 2014-10-29 18:05:55 +01:00
Anna Kozlova
ddbaef9462 fix message for final locals used inside local/anonym classes in java 8 (IDEA-131949) 2014-10-29 18:05:52 +01:00
Anna Kozlova
f0fc85674e diamonds: constructor varargs (IDEA-131918) 2014-10-29 14:21:11 +01:00
Dmitry Batrak
9c94ace79f IDEA-131761 Quick documentation incorrectly renders value of byte[] constant 2014-10-29 13:49:44 +04:00
Anna Kozlova
f05cd24dfe EA-62157 - IAE: PsiUtil.getLanguageLevel
process further when package-info doesn't correspond any package
2014-10-28 12:00:19 +01:00
Anna Kozlova
8f67ad587e "might not have been initialized" adjusted for lambdas inside anonymous (IDEA-130468) 2014-10-24 21:48:13 +02:00
Anna Kozlova
5136167d8b new inference: use site substitution inside one level of inference only so calls with different site substitutions are possible in one expression (IDEA-131723; IDEA-131562) 2014-10-24 18:36:20 +02:00
Anna Kozlova
71d92723a8 create constructor params from field: do not reject next constructors if current one is chained (IDEA-131746) 2014-10-23 14:46:31 +02:00
Anna Kozlova
247fbc358f testdata for IDEA-131700 2014-10-23 14:46:29 +02:00
Anna Kozlova
fa2c07e579 block lambda -> expr: disable if found comments outside of expression (IDEA-131749) 2014-10-23 14:46:27 +02:00
Anna Kozlova
6780d694c7 IDEA-131456 //noinspection InspectionName(s) should fully support comments 2014-10-20 19:47:14 +02:00
Anna Kozlova
f90c603a81 testdata for IDEA-57537
(cherry picked from commit 701378494912e1f8a52c8f0c9bc18d61e2f3ebbf)
2014-10-17 21:08:07 +02:00
Anna Kozlova
9fce6c0640 erasure method call type if unchecked assignment was applied during applicability check (IDEA-67862)
(cherry picked from commit f106f813559768f90952caac6a2eec4cfeed7103)
2014-10-17 21:07:43 +02:00
Anna Kozlova
763ba4e270 testdata for IDEA-113631
(cherry picked from commit 08781460ef008e273213dfb9609c00dc30807d83)
2014-10-17 21:07:20 +02:00
Anna Kozlova
6ed35f49fd testdata for IDEA-59283
(cherry picked from commit 395ade03a5f4eb59ccd55375cdd97f5c5d196c7a)
2014-10-17 21:06:57 +02:00
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