Commit Graph

35 Commits

Author SHA1 Message Date
Anna Kozlova
01fc1dc40f lambda -> method ref: make cast type denotable (IDEA-134217) 2016-01-04 19:25:03 +01:00
Anna Kozlova
62cc281a3d disable lambda -> methref for qualified new expressions (IDEA-147054) 2015-10-29 19:40:11 +01:00
Anna Kozlova
090038722a EA-70589 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText 2015-09-29 17:59:47 +02:00
Anna Kozlova
6144008d26 disable lambda -> meth ref if qualifier is not pure (IDEA-139825) 2015-08-26 16:23:35 +03:00
Anna Kozlova
75e3086fb2 lambda -> meth ref: reject replacements with invalid qualifiers (IDEA-142695) 2015-07-21 08:51:06 +02:00
Anna Kozlova
e5097dfc24 lambda -> method ref: ensure that capture is checked according to the param ref; avoid wildcards in method ref qualifiers (IDEA-139529) 2015-04-24 13:46:11 +02:00
Anna Kozlova
b8683c3640 lambda -> meth ref: accept receiver only for calls on lambda params (IDEA-138593) 2015-04-01 20:39:31 +02:00
Anna Kozlova
bcbc25e1de lambda -> method reference: ensure functional type was not changed after transformation (IDEA-136163) 2015-02-17 14:58:58 +01:00
Anna Kozlova
fcb252d25e ensure functional type for formal parameters lambda is valid after method reference replacement (IDEA-135053) 2015-01-08 19:54:23 +01:00
Anna Kozlova
fa99ec2a74 lambda -> method ref: do not skip array initializer; ensure dimension expressions are correct 2015-01-02 12:05:46 +01:00
Anna Kozlova
79da0849e2 disable lambda -> method ref if resulted methods are not the same (IDEA-134486) 2014-12-18 14:13:23 +01:00
Anna Kozlova
efc2dc0c59 lambda -> methref: respect laziness (IDEA-133372) 2014-11-24 12:09:15 +01:00
Anna Kozlova
6261633a4d AIOOBE 2014-11-13 12:35:05 +01:00
Anna Kozlova
1d2a8e0571 lambda -> meth ref: varargs 2014-11-12 13:13:35 +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
09f8895b2b lambda ->method ref: check if accessible (IDEA-132371) 2014-11-10 20:41:56 +01: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
9f72b14b9c lambda -> method reference: ambiguity prevented (IDEA-130126) 2014-09-30 19:18:44 +02:00
Anna Kozlova
3e13cddf2b lambda -> method reference: exclude receiver/non-receiver ambiguity (IDEA-129924) 2014-09-17 20:45:43 +04:00
Anna Kozlova
bacc3c2ad6 lambda -> method refs: collapse when acceptable method without supers found 2014-07-21 20:47:52 +02:00
Anna Kozlova
b524d609c1 lambda -> method ref: forbid inside anonymous; qualify this (IDEA-126750) 2014-07-02 11:00:55 +02:00
Anna Kozlova
a2a076c02a lambda -> method ref: reject anonymous class replacement (IDEA-124748) 2014-05-05 17:12:13 +04:00
Anna Kozlova
a3348c56cb lambda-> method ref: do not insert type args to reference type if they were inferred for lambda expression 2014-04-11 17:06:01 +02:00
anna
3c78ab4dc5 lambda -> method ref: do not convert if resulted ref would be ambiguous (IDEA-116964) 2013-11-28 21:42:31 +01:00
anna
be9e2fa9f7 testdata fixed 2013-05-06 20:55:21 +02:00
anna
a1753089fe lambda -> method ref: disable for inapplicable target methods (IDEA-103369)
(cherry picked from commit c05e901232c17e1a93a7024e5d7262d6a324c5e3)
2013-03-21 10:40:42 +01:00
anna
436f2cc351 lambda: primitive array type constructors fixed (IDEA-102836) 2013-03-11 12:29:05 +01:00
anna
b298b6a8bc lambda -> method refs: array refs supported 2013-03-04 16:03:09 +01:00
anna
456a49ce9f method refs: fix testdata according to new javac strategy 2013-02-26 16:30:12 +01:00
Anna Kozlova
89109d4348 method refs: process local classes (IDEA-100452) 2013-02-05 13:09:37 +04:00
Anna Kozlova
e8c454f426 lambda -> method ref: insert cast when resulted ref is ambiguous (IDEA-100385) 2013-02-04 14:07:08 +04:00
anna
ce1e18a9c9 lambda -> method ref: do not suggest to replace anonymous classes (IDEA-93588) 2012-10-25 15:52:44 +02:00
Anna Kozlova
074c756386 method refs: shorten class names in qualifiers supported (IDEA-92724) 2012-10-12 11:30:21 +02:00
anna
0fbf5f2464 lambda can be converted to method reference inspection 2012-10-09 17:54:32 +02:00