Commit Graph

1400 Commits

Author SHA1 Message Date
Anna Kozlova 41b974e36f anonym -> lambda: disable if target SAM type is raw and methods are called on params with Object erasure (IDEA-125613) 2014-05-29 21:49:26 +04:00
Anna Kozlova d67e9b4f4b IDEA-118279 create constructor params: apply cleanup 2014-05-29 16:17:22 +04:00
Dmitry Batkovich 80a7f69972 IDEA-25183 2014-05-28 17:46:34 +04:00
Dmitry Batkovich dff9280491 IDEA-93040 2014-05-28 16:06:16 +04:00
Anna Kozlova d5ee2ec744 testdata fixed 2014-05-26 22:21:20 +04:00
Anna Kozlova 32fe2746f9 stream api: do not collapse loops when body is not throws compatible (IDEA-125541) 2014-05-26 15:35:49 +04:00
Anna Kozlova eaa9ce63f6 method refs: check if interface functional (IDEA-125511) 2014-05-26 09:19:31 +04:00
Anna Kozlova d2c04b864f anonymous -> lambda: do not collapse to lambda functional interfaces with generics methods, accepted by method refs though 2014-05-26 07:46:09 +04:00
Anna Kozlova 506a2cbbbc include anonym prefix in internal canonical text to avoid incompatibility messages with "same" types on both sides 2014-05-22 20:45:58 +04:00
Anna Kozlova 5953b8fb0d accessibility of private method via anonymous classes fixed 2014-05-22 20:45:56 +04:00
Anna Kozlova 0da1a208cc ensure expression valid, initializer expression should be already replaced (IDEA-125231) 2014-05-19 14:08:56 +04:00
Anna Kozlova 8d2b706f59 change method return type on call site (IDEA-125166) 2014-05-16 20:42:44 +04:00
Anna Kozlova 1e48abe578 good code red: nested classes inheritance 2014-05-16 14:59:24 +04:00
Anna Kozlova 2b8c3330c5 fixed type annotations restoring (IDEA-124889) 2014-05-15 16:12:38 +04:00
Anna Kozlova 2386bed21f testdata for IDEA-24479 2014-05-13 18:34:56 +04:00
Anna Kozlova b32b3332c4 assignment fix for super wildcards (IDEA-125031) 2014-05-13 18:04:55 +04:00
Anna Kozlova 7ab104ac75 IDEA-124985 2014-05-12 17:59:15 +04:00
Anna Kozlova 5bf5dd0450 static methods in interfaces can't be hidden in subclasses (IDEA-124921) 2014-05-12 13:08:28 +04:00
Anna Kozlova d83af543fc accept raw substitutors during diamonds inference (IDEA-124836) 2014-05-07 15:35:58 +04:00
Anna Kozlova cc743c35cc testdata for JDK-8042508 2014-05-07 12:29:28 +04:00
Anna Kozlova 1ab69ce2b2 stream migration: missed qualifiers restored (IDEA-124820) 2014-05-07 11:57:36 +04:00
Anna Kozlova 288ccfa195 most specific check: accept lambdas when target type is type parameter (IDEA-124725) 2014-05-05 17:12:17 +04:00
Anna Kozlova a2a076c02a lambda -> method ref: reject anonymous class replacement (IDEA-124748) 2014-05-05 17:12:13 +04:00
Anna Kozlova dc73135a77 accept static methods with body in interfaces (IDEA-124745) 2014-05-05 17:12:12 +04:00
Anna Kozlova 35206e46bf uncomment testdata 2014-05-05 17:12:09 +04:00
Anna Kozlova 4cefdc5290 testdata for IDEA-124547 2014-05-05 17:12:06 +04:00
Anna Kozlova 90d2f451a1 new inference: early abort calculation by lambda return (IDEA-124276) 2014-05-01 16:29:35 +04:00
Anna Kozlova f2256cab48 calculate target type in the same way for statement/expressions lambdas 2014-05-01 15:33:13 +04:00
Anna Kozlova 896c488a2f testdata to expression lambda 2014-05-01 15:33:11 +04:00
Anna Kozlova 8096d635a6 inference when incomplete 2014-05-01 15:33:10 +04:00
Anna Kozlova 46408bee30 method references: super methods treatment in exact check 2014-04-30 14:45:10 +04:00
Anna Kozlova f144943412 applicability constraints by method reference (IDEA-122018) 2014-04-30 12:45:52 +04:00
Anna Kozlova 902e51a856 substitute bounds (IDEA-123509) 2014-04-29 18:54:59 +04:00
Anna Kozlova f58394cd59 IDEA-124019 2014-04-29 18:54:56 +04:00
Anna Kozlova a6db438af6 testdata fixed 2014-04-29 11:18:29 +02:00
Anna Kozlova c2957e7fe8 anonymous -> lambda: conflicting ref in var declaration (IDEA-124525) 2014-04-28 15:12:46 +02:00
Anna Kozlova 84deec968d method refs: is exact should check super methods for this/super qualifiers only (IDEA-124507) 2014-04-28 15:12:44 +02:00
Anna Kozlova a4f2f0e73b create method from method ref: fis for type element qualifier (IDEA-124485) 2014-04-25 18:38:40 +02:00
Anna Kozlova baccb31d7e diamonds: resolve conflicts based on type params from constructor and containing class (IDEA-123518) 2014-04-25 18:38:39 +02:00
Anna Kozlova f3e1d968b8 IDEA-124385 2014-04-25 18:38:38 +02:00
Anna Kozlova 0c1ec73530 IDEA-124163 2014-04-25 14:21:55 +02:00
Anna Kozlova 71f8a4af73 IDEA-124352 2014-04-25 14:21:53 +02:00
Anna Kozlova b8fb550a2e IDEA-124271 2014-04-23 20:10:19 +02:00
Anna Kozlova 209d176ea6 disable stream api conversion on iterable (IDEA-124222) 2014-04-23 20:10:18 +02:00
Anna Kozlova f72e4f5a7c testdata for IDEA-124148 2014-04-23 16:33:49 +02:00
Anna Kozlova 1c431a8076 create meth reference from usage: substitute param types (IDEA-124322) 2014-04-23 16:33:48 +02:00
Anna Kozlova c160fc5adf copy to temp/array for non-effectively final variables used in lambda expressions 2014-04-23 16:33:47 +02:00
Anna Kozlova 54ced00cb4 highlight all pairs of methods with same erasures (IDEA-124116) 2014-04-23 16:33:43 +02:00
Anna Kozlova 2b8e2e885a add unchecked warning calls also for method references 2014-04-22 20:02:55 +02:00
Anna Kozlova 57e886f7a4 testdata: check that method ref on static interface method is accepted 2014-04-22 20:02:54 +02:00