Commit Graph

119 Commits

Author SHA1 Message Date
anna 3b4e3818e6 lambda: correct inference for vararg place > params.len (IDEA-101169) 2013-02-15 14:00:03 +01:00
anna 38ce821958 method ref: accept non parameterized receivers (IDEA-101168) 2013-02-15 14:00:02 +01:00
Roman Shevchenko 6910c2e3ab Test fixed 2013-02-14 20:15:42 +01:00
anna 7e6e59724e lambda: clear caches after usage; more testdata 2013-02-13 15:57:24 +01:00
anna ac0f65d247 graph inference for the first arg 2013-02-13 12:20:33 +01:00
anna b0a04ac5d2 lambda: preserve partial substitutor data during substitute 2013-02-12 17:42:24 +01:00
anna c4eaec6655 method refs: take into account super class substitutor 2013-02-12 17:42:22 +01:00
anna cc9724c489 graph inference: conditional expressions then/else branches inference based on context (IDEA-100453) 2013-02-11 17:32:01 +01:00
anna b2ffa6a8d1 testdata for IDEA-100441 2013-02-11 17:32:00 +01:00
anna a9c4a9c5ab java 8 initial graph inference: allow to infer type information from siblings and parent calls 2013-02-08 11:34:25 +01:00
anna f9565522cb split tests according to expected language level 2013-02-08 11:34:24 +01:00
Anna Kozlova 68f7ee96f7 java8: static method with body is allowed in interface (IDEA-100334) 2013-02-04 14:07:09 +04:00
Anna Kozlova 23d936db66 method refs: attempt to use parent to infer constructor type (IDEA-98846) 2013-01-30 15:51:30 +04:00
Anna Kozlova 42d2b33230 lambda: choose more specific by return type fix (IDEA-99969); check cyclic inference when not on raw 2013-01-29 14:43:26 +04:00
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
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 963b2ed293 lambda: relax incompatible return type in case of void functional types 2012-12-17 17:32:29 +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 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 fedfbcaa85 method refs/lambda: types assignability (IDEA-92786) 2012-10-11 18:32:48 +02:00
anna 56036f1542 method refs: default constructors check (IDEA-92777) 2012-10-11 18:32:47 +02:00
anna a927ecf5d1 method refs: check constructor refs qualifiers (IDEA-92722) 2012-10-10 17:19:43 +02:00
anna 0706510a1e method refs: correct static flag detection in case of default constructors (IDEA-92735) 2012-10-10 17:19:42 +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 2e599091fd methods refs: check if default constructor is acceptable 2012-10-09 20:28:06 +02:00
anna 573abd10e3 varargs (IDEA-92641) 2012-10-09 17:54:33 +02:00
anna 0fbf5f2464 lambda can be converted to method reference inspection 2012-10-09 17:54:32 +02:00
anna f65e347410 method refs: accept default constructors refs for SAMs with void return type 2012-10-09 12:31:40 +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 43ddd9311a method refs: do not cache results during parent conflict resolving 2012-10-05 10:39:22 +02:00
anna 93245d3611 method refs: accept instance inner classes from instance methods 2012-10-04 17:21:05 +02:00