Commit Graph

247 Commits

Author SHA1 Message Date
anna
b3d9ff9874 new inference: array creation notional method; testdata
(cherry picked from commit dc1b25b74db12a5282332b5bae1d10da1aed99e8)
2013-11-25 16:47:46 +01:00
anna
628e05bda7 new inference: isValueCompatible check during reduce (IDEA-116548)
(cherry picked from commit 3d028a86a23efeba68187c5a43d822c7aeb388f3)
2013-11-25 16:47:43 +01:00
anna
a6309f6c6d extend testdata for IDEA-93587
(cherry picked from commit d4939f7b93989a0e3387c225de335ef7bf19949f)
2013-11-25 16:47:42 +01:00
anna
6086b1725d testdata for IDEA-106670
(cherry picked from commit 78c98d762dd449ff86ea805179b51c2d2b4fc00f)
2013-11-25 16:47:41 +01:00
anna
b612209ab9 testdata for IDEA-116359
(cherry picked from commit bd1ca6826f3a5449c2a26a1ea3b471c21f4bc7d5)
2013-11-25 16:47:40 +01:00
anna
bd64f4044b testdata for IDEA-116252
(cherry picked from commit 263652d7e97e6caab5dce7fb95a37d14ff34de4b)
2013-11-25 16:47:39 +01:00
anna
481bc252f3 switch tests on new inference
(cherry picked from commit d2cbf3f2833104c3a0381059b0d6ef8ac0b3c94c)
2013-11-25 16:47:38 +01:00
anna
23432e3cd7 new inference: array constructor refs are always exact (IDEA-115725)
(cherry picked from commit 0f6538fc54bbee0aaf6cbab9884c0407937d4568)
2013-11-25 16:47:36 +01:00
anna
f7fd8525b9 lambda: catch exception by SAM method substitution (IDEA-116441)
(cherry picked from commit 0bce39590bdcc6e6a74c0dcedbb02add3333e685)
2013-11-25 16:47:34 +01:00
anna
06815172d7 testdata fixed 2013-11-11 10:43:19 +01:00
anna
915fb35af7 new overload resolution: testdata 2013-11-06 12:40:27 +01:00
anna
ae7e30edee java 8: forbid super in static methods 2013-11-05 12:56:04 +01:00
anna
fb98413e84 testdata fixed 2013-11-04 16:16:28 +01:00
anna
4a725b52b3 IDEA-115789 an interface inheriting a default method and an abstract method 2013-11-04 16:16:28 +01:00
anna
9ae4eced85 IDEA-115790 default methods cannot override Object methods 2013-11-04 16:16:27 +01:00
anna
a7316ca594 lambda: do not suggest to replace with lambda when refs to final fields exist in body (IDEA-111026); final initializer 2013-10-24 14:07:46 +02:00
anna
b33fa7fc25 effectively final: check flow at variable start (IDEA-114737) 2013-10-10 18:39:58 +02:00
anna
69dbc89461 inference: do not check return type during inference; separate highlighting check 2013-10-08 17:13:33 +02:00
anna
f5257087e9 new inference: overload resolution for SAM return type for implicit lambda should be ignored 2013-09-25 16:12:44 +02:00
Anna Kozlova
e78ab513a5 lambda: check formal params for equality, eliminate wildcards during inference according to 15.27.3 2013-09-23 19:50:41 +04:00
Anna Kozlova
f415702127 new inference: default constructor as poly expression argument 2013-09-20 20:36:37 +04:00
Anna Kozlova
4cae15713b more specific: lambda extended initial fix (IDEA-113357) 2013-09-09 21:42:47 +04:00
Anna Kozlova
0622404265 method refs: ambiguity (IDEA-113078) 2013-09-04 13:46:45 +04:00
Anna Kozlova
75847497e5 method refs: accept 2 phase acceptance (static and receiver based), raise 'staticAccess' errors at highlighting level 2013-08-30 13:10:42 +04:00
Anna Kozlova
04a76c3faf IDEA-112555 Bad code is green with method references on instance 2013-08-26 18:11:00 +04:00
Anna Kozlova
183c7cd0b8 fix testdata 2013-08-20 15:15:13 +04:00
Anna Kozlova
6e9b26f3b1 method refs IDEA-112323 2013-08-20 13:32:04 +04:00
Anna Kozlova
e006534d08 moreSpecific cleanup 2013-08-15 17:38:03 +04:00
Roman Shevchenko
cfc55bcb41 java: single underscore variables highlighting for Java 8 2013-08-07 15:07:21 +02:00
anna
1bd39a6322 recursive lambda checks for functional interfaces 2013-08-06 13:49:09 +02:00
Anna Kozlova
d28dd0f6ca testdata fixed 2013-07-29 20:08:03 +02:00
anna
68a43aa534 @FunctionalInterface make warning to prevent misunderstanding 2013-07-15 13:41:52 +02:00
Anna Kozlova
c976e88894 lambda/diamond inference: accept wildcards in lambda return types (IDEA-108955) 2013-06-14 13:30:18 +04:00
Anna Kozlova
8741f3f1d6 non-static members access from implicitly static context fixed (IDEA-108285) 2013-06-03 22:25:26 +04:00
Anna Kozlova
6269653b12 lambda: check assignable takes into account wildcards (IDEA-108195) 2013-05-31 20:31:24 +04:00
Anna Kozlova
1996dc9571 static interface methods completion: forbid on instance members, inheritors (IDEA-107794) 2013-05-30 15:46:54 +04:00
Anna Kozlova
fb8144344c static interface methods: forbid on instance members, inheritors (IDEA-107794) 2013-05-30 15:46:53 +04:00
anna
a5a54bd00a method references of vararg methods 2013-05-14 12:08:00 +02:00
anna
7a56eb198f new array refs: accept signatures with assignable to int params (IDEA-106973) 2013-05-13 15:05:52 +02:00
anna
be9e2fa9f7 testdata fixed 2013-05-06 20:55:21 +02:00
anna
d67a21f788 redundant cast: ignore for lambda casts with serializable/intersections (IDEA-105839) 2013-04-22 18:00:30 +02:00
anna
11f81e0be7 accept this refs inside anonymous classes in java 8 interfaces (IDEA-105892) 2013-04-22 15:50:32 +02:00
anna
497644d544 method refs: collect substitution from type parameter's extends list (IDEA-104314) 2013-04-01 20:36:27 +02:00
anna
cb99f86169 AIOOBE IDEA-103980
(cherry picked from commit 235e1ab6ff11856c91e6c5afded3209879ac473e)
2013-03-27 19:02:37 +01:00
anna
ec801909f9 graph inference: take into account present type args during graph inference (IDEA-103023)
(cherry picked from commit e9e05d9d47210f6e315cef233f8b5b33192df7fc)
2013-03-21 10:40:44 +01:00
Roman Shevchenko
2ab88505d2 Annotation applicability highlighting reworked 2013-03-13 10:23:19 +01:00
anna
d7c5ecacdd constructor refs: decline abstract classes (IDEA-102392) 2013-03-04 16:03:07 +01:00
Roman Shevchenko
54a7b4dc70 Deprecated extension method syntax dropped 2013-02-27 20:40:44 +01:00
anna
a55b0fa17b lambda/method refs: more specific according to 15.12.2.5 - prefer private when private type is given/reference when reference type is given 2013-02-27 18:03:32 +01:00
anna
47c7983713 lambda: check more specific method based on lambda return types with wildcards 2013-02-27 18:03:31 +01:00