Commit Graph

69 Commits

Author SHA1 Message Date
Anna Kozlova
f1c1c6ee42 support @FunctionalInterface 2013-01-28 16:21:22 +04:00
Anna Kozlova
857c23caf2 method refs: wildcards treatment (IDEA-99828) 2013-01-28 14:00:10 +04:00
anna
4cbc38008a lambda: incompatible lambda parameters type check fixed according to wildcards (IDEA-99073) 2013-01-16 15:57:08 +01:00
Alexey Kudravtsev
be7cb06a61 @NotNull 2013-01-15 13:57:07 +04:00
anna
1cc7b6ee11 lambda: check unhandled exceptions for method references; disable surround with try/catch accordingly (IDEA-98966) 2013-01-14 16:51:11 +01:00
anna
c892ea7f32 java 8: resolve conflicts choosing more specific return type (IDEA-98845) 2013-01-11 18:55:34 +01:00
anna
6f2878cdf7 java 8: intersection type casts (IDEA-98843) 2013-01-11 16:09:23 +01:00
anna
5a15076bd6 lambda: check lambda return type compatibility before more specific checks (IDEA-97870) 2012-12-20 15:32:39 +01:00
anna
bd4346cea8 lambda: use incomplete substitutor when calc functional interface (IDEA-97038) 2012-12-18 20:26:31 +01:00
anna
d9fb83d631 lambda: accept raw functional interfaces when there are no params 2012-12-18 13:07:31 +01:00
anna
44ab4d534a lambda: infer functional interface from enum constants (IDEA-97596) 2012-12-17 17:32:28 +01:00
anna
788336e0ff do not treat diamonds in jdk 8 special (IDEA-97294) 2012-12-13 18:42:28 +01:00
anna
306c531544 SOE (IDEA-95955)
(cherry picked from commit d092c1363b3ae02dbfb4059f0c0cf28df575024c)
2012-11-29 11:53:09 +01:00
anna
e5a6ce555d EA-41372 - AIOOBE: JavaMethodsConflictResolver.isMoreSpecific
(cherry picked from commit 6f6a46ec1e26294e4a478fc6dee158123ccba406)
2012-11-29 11:53:02 +01:00
anna
a5f940d5e4 method reference: proceed with class type when diamond static factory is used (IDEA-93099) 2012-11-21 12:20:29 +01:00
Anna Kozlova
9bde831163 extract method refs util 2012-11-01 14:43:00 +01:00
peter
b56d64807f less finallies 2012-10-31 20:06:46 +01:00
anna
665894b44b method refs: allow unchecked conversions in default constructors (IDEA-93346) 2012-10-22 17:10:41 +02:00
anna
e775459321 lambda: nested lambda return statements exclusion 2012-10-15 16:20:57 +02:00
anna
1c0933b830 search for method references during constructor search (IDEA-92804) 2012-10-15 16:20:55 +02:00
Anna Kozlova
289ee1d04c lambda: do not override already inferred types from parent (IDEA-92733) 2012-10-12 17:31:16 +02:00
Anna Kozlova
beb2c4df54 method refs: do not warn about type args over raw types, non parameterized methods (IDEA-92851) 2012-10-12 14:56:44 +02:00
anna
d598293eb9 method refs: propagate substitutor from method reference resolve to upper level inference (IDEA-91988) 2012-10-11 18:32:48 +02:00
anna
635ebe4e27 method refs: varargs in receiver position supported (IDEA-92711) 2012-10-10 15:10:43 +02:00
anna
b929c5ad2f wildcards in receiver type supported (IDEA-92699) 2012-10-10 15:10:42 +02:00
anna
8f11a9d3fa method refs: varargs in referenced method processed (IDEA-92598) 2012-10-08 19:22:00 +02:00
anna
9488b020db method refs: infer from functional interface return types 2012-10-05 10:39:24 +02:00
anna
4eeaeb4f2f method refs: resolve default constructor 2012-10-05 10:39:23 +02:00
anna
9f5d27f863 method refs: check access problems 2012-10-04 17:21:02 +02:00
anna
120111d01b method refs: check cyclic inference for method refs 2012-10-04 17:21:01 +02:00
anna
03693dcf99 varargs check can be applied for new java only (fix resolve tests) 2012-10-02 21:36:35 +02:00
anna
cf0e5a1051 method refs: check more specific by return type; check used method in test via unused symbol inspection 2012-10-02 21:15:29 +02:00
anna
ff500e1468 method refs: choose more specific return type when checking more specific functional interface 2012-10-02 21:15:27 +02:00
anna
65983d0060 method refs: accept qualified receivers when called over raw type 2012-10-02 21:15:27 +02:00
anna
0e8ade2f40 method refs: allow reference parameters before method name 2012-10-02 21:15:26 +02:00
anna
9c796a4342 method refs: filter more specific 2012-10-02 18:00:45 +02:00
anna
b3029c4f46 method refs: inner classes from hierarchy availability 2012-10-01 20:52:38 +02:00
anna
61ce8c8f12 method refs: inner classes constructors 2012-10-01 15:04:24 +02:00
anna
2ad31f0bc5 method refs: resolve conflicts according to spec 2012-10-01 10:19:57 +02:00
anna
96482dd326 method refs: testdata 2012-10-01 10:19:55 +02:00
anna
37bf7fad42 method refs: resolve constructors; static problems 2012-09-28 18:53:24 +02:00
anna
ac4a96fc03 method refs: static testdata, apply qualifier substitutor 2012-09-28 10:11:46 +02:00
anna
2cdfea8b61 method refs: take qualifier's type arguments in account 2012-09-28 10:11:44 +02:00
anna
bcebb55f60 method refs: ambiguity checks into resolver; testdata 2012-09-27 18:02:09 +02:00
anna
806d8384b4 method ref: initial ambiguity rules 2012-09-26 18:33:18 +02:00
anna
d1fbf297bc method ref: isAssignable check; resolve (initial) 2012-09-25 19:47:04 +02:00
anna
a617afe1fe method refs: turn highlighting on; check valid context 2012-09-25 19:47:01 +02:00
anna
5c170f7eb5 hide "illegal forward reference" warning for lambda (IDEA-91986) 2012-09-25 11:34:17 +02:00
anna
4adc3db92c lambda: return type compatibility test 2012-09-18 09:16:09 +02:00
Anna Kozlova
5a6fdedb9a lambda: check parameters if they use free names (IDEA-91502) 2012-09-13 17:53:30 +04:00