Commit Graph

65 Commits

Author SHA1 Message Date
Roman Shevchenko
54a7b4dc70 Deprecated extension method syntax dropped 2013-02-27 20:40:44 +01:00
anna
47c7983713 lambda: check more specific method based on lambda return types with wildcards 2013-02-27 18:03:31 +01:00
anna
e48f61bf4d method refs: test data to check enum/interface/annotation not accepted; isAcceptable checks on Array types 2013-02-26 20:38:07 +01:00
anna
2ceabcf7ba method refs: super::abstract method 2013-02-26 19:51:03 +01:00
anna
7333331a42 method refs: decline constructor refs on array ref with inapplicable substitutor 2013-02-26 19:51:02 +01:00
anna
23056b8d20 method refs: patch getClass return value in the same way it is done in PsiMethodCallExpression 2013-02-26 19:51:01 +01:00
anna
a41b5c6f85 support method/constructor refs on array types 2013-02-26 16:30:11 +01:00
anna
96abac54cc method refs: treat boxed types as with anonymous 2013-02-26 16:30:10 +01:00
anna
ed8986937e method refs: compilation error when static method is accept through instance reference 2013-02-26 14:19:16 +01:00
anna
af83c60af8 constructor refs: forbid outer as implicit receiver in non-static inner class 2013-02-26 14:19:15 +01:00
anna
d20905d2d5 constructor refs: forbid default constructors for inner classes 2013-02-26 14:19:15 +01:00
anna
25220f5f46 method refs: accept generic methods in functional interfaces testdata 2013-02-21 20:21:50 +01:00
anna
38ce821958 method ref: accept non parameterized receivers (IDEA-101168) 2013-02-15 14:00:02 +01:00
anna
c4eaec6655 method refs: take into account super class substitutor 2013-02-12 17:42:22 +01:00
anna
b2ffa6a8d1 testdata for IDEA-100441 2013-02-11 17:32:00 +01: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
857c23caf2 method refs: wildcards treatment (IDEA-99828) 2013-01-28 14:00:10 +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
6f2878cdf7 java 8: intersection type casts (IDEA-98843) 2013-01-11 16:09:23 +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
1c0933b830 search for method references during constructor search (IDEA-92804) 2012-10-15 16:20:55 +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
anna
0b4a8e2873 method refs: check access problems (II) 2012-10-04 17:21:04 +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
a1bcdbf97b method refs: testdata 2012-10-02 21:15:30 +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
55c8b4db6c method refs: testdata 2012-10-02 21:15:28 +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