Commit Graph
923 Commits
Author SHA1 Message Date
anna e483d67491 good code red: do not apply the same substitutor twice - lead to problems when params depend recursively (IDEA-91866) 2012-09-21 16:50:12 +02:00
Roman Shevchenko 6bbeced3f7 IDEA-91785 (sometimes extension method is abstract) 2012-09-19 11:41:52 +02:00
anna faf232bfc1 diamonds: type params bounds restored (IDEA-91769) 2012-09-19 10:23:47 +02:00
anna 51afcf78dc generic array creation: check if component type is reifiable (IDEA-91743) 2012-09-18 16:09:45 +02:00
anna 21a0d8565e simplify ? extends Object (IDEA-91631; IDEA-91144) 2012-09-18 12:46:54 +02:00
anna 4adc3db92c lambda: return type compatibility test 2012-09-18 09:16:09 +02:00
Roman Shevchenko f51b828729 IDEA-91665 (highlight extension methods outside interfaces) 2012-09-17 17:12:37 +04:00
Konstantin Bulenkov 343fc4bea6 IDEA-91588 Reflection completion generates generics types 2012-09-14 19:02:31 +04:00
Anna Kozlova 3894a2e676 do not warn about effectively final vars used in inner classes in java 8 (IDEA-91372) 2012-09-14 17:22:46 +04:00
Anna Kozlova da098b2a31 suggest implements->extends for interfaces hierarchy (IDEA-89867) 2012-09-14 14:54:25 +04:00
Anna Kozlova fd644a7299 captured wildcards on the first level do not prevent binary operator to be applicable (IDEA-89640) 2012-09-14 14:54:24 +04:00
Roman Shevchenko edd939be23 IDEA-90883 (do not insert super call to implemented extension method) 2012-09-13 19:03:06 +04:00
Anna Kozlova 87a2c4818d class literal checks for parameterized type/type parameter (IDEA-89726) 2012-09-13 17:53:31 +04:00
Anna Kozlova 5a6fdedb9a lambda: check parameters if they use free names (IDEA-91502) 2012-09-13 17:53:30 +04:00
Roman Shevchenko 7c944d2a7a IDEA-90882 (do not pre-select extension methods for implementation) 2012-09-13 17:14:04 +04:00
Anna Kozlova f66949fa6b treat captured wildcards depends on nested level (IDEA-91481) 2012-09-13 17:01:11 +04:00
Anna Kozlova dda9269851 disable add variable initializer fix for foreach parameter (IDEA-90899) 2012-09-12 17:53:32 +04:00
Anna Kozlova 94dd1967d1 lambda: check return compatibility according to expected lambda type; test fixed 2012-09-12 12:59:30 +04:00
Denis.Zhdanov 72f3ec79e5 IDEA-91337 doc popup for variable: missing link for ArrayList 2012-09-12 09:40:22 +04:00
Anna Kozlova 943d901fff lambda: do not accept ? as type argument for return value (IDEA-91369) 2012-09-12 00:03:42 +04:00
Roman Shevchenko 4cbe87de02 Highlight misplaced reference parameter lists 2012-09-11 19:31:55 +04:00
Anna Kozlova 1bdca6d4e5 create method from usage: do not qualify already qualified ref (IDEA-91041) 2012-09-11 17:34:00 +04:00
Anna Kozlova d2ebef63e8 (int)Object cast conversion in java 1.7 supported (IDEA-90906; IDEA-66803) 2012-09-11 10:39:16 +04:00
Anna Kozlova 64581b2d53 anonymous class can't have constructor (IDEA-91071) 2012-09-10 18:47:47 +04:00
Anna Kozlova b665d21263 anonym -> lambda: decode context correctly 2012-09-10 14:59:17 +04:00
Anna Kozlova 2c659ba2d9 redundant lambda code block: do not suggest for expressions with non-void type 2012-09-10 12:54:45 +04:00
Anna Kozlova 11a2faaf14 lambda: allow raw types when no inference was performed 2012-09-10 12:54:44 +04:00
Anna Kozlova 5a546b640c lambda: missed return statement error; do not use containing method return type for lambda inference 2012-09-10 12:54:43 +04:00
Anna Kozlova 447bc37818 lambda: remove redundant code block inspection accept void compatible lambda & nested blocks (IDEA-91184) 2012-09-07 22:29:45 +04:00
Evgeny Gerashchenko 9b0d18c367 Added test for editing external annotation. 2012-09-06 20:46:03 +04:00
Evgeny Gerashchenko cfb2a511e9 Creating self-closing tag when annotation arguments list is not null, but empty. Added test. 2012-09-06 20:46:01 +04:00
Evgeny Gerashchenko 37ceccb1eb Fixed bug on deannotating: when annotation tag removed, parent is also removed if the latter has no children. Added test. 2012-09-06 20:46:00 +04:00
peter baecbfd6c8 IDEA-90606 Smart completion misses exception from try-with-resources 2012-09-06 17:36:30 +02:00
Anna Kozlova 2a91b03499 testdata for IDEA-90998 2012-09-06 19:17:34 +04:00
Anna Kozlova 262fcbafad extend lambda valid context: conditional expressions (IDEA-91140) 2012-09-06 19:10:16 +04:00
Anna Kozlova 51e044a8f5 smart completion in lambda body: decision to insert semicolon based on lambda context and body type (IDEA-91083) 2012-09-06 14:59:46 +04:00
Anna Kozlova 8d4ef8b54e lambda: do not suggest to replace anonymous with lambda when this/super exist in body (IDEA-91055) 2012-09-06 13:31:24 +04:00
Denis.Zhdanov cbd0fe4e8e IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
Test data is updated
2012-09-06 13:21:42 +04:00
Denis.Zhdanov e76b02dc4e IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
1. Arrangement API provides 'dependent entries' concept now;
2. Java static and instance initialization blocks are defined to be 'dependent arrangement entries';
3. Corresponding tests are added;
4. Default java arrangement rules are expanded in order to preserve old 'generated class members order';
5. Test data is corrected;
2012-09-06 13:21:41 +04:00
Denis.Zhdanov 4a4aa01505 IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
1. 'Constructor' entry type is defined and supported at java rearranger;
2. Test data fixes;
2012-09-06 13:21:41 +04:00
Anna Kozlova d474aa3f1c lambda: take into account substitution interface with method -> functional interface;
do not infer return type parameters when lambda parameter type was calculated, no substitution caching here (IDEA-90875)
2012-09-06 13:07:11 +04:00
Anna Kozlova f73177c04e lambda: correct message when lambda params are incompatible (IDEA-91016) 2012-09-04 21:05:05 +04:00
Anna Kozlova d83b1f12c7 lambda: skip conditional condition during inference from return value 2012-09-04 21:05:03 +04:00
peter 2e722afde9 IDEA-90900 Complete statement works incorrectly in some simple cases 2012-09-04 16:39:54 +02:00
Anna Kozlova 844ee5e89b testada 2012-09-04 11:33:41 +04:00
Anna Kozlova 659d9f3251 lambda: smart completion: substitute return type; respect one line lambda as return statement (IDEA-90941; IDEA-90944) 2012-09-03 21:27:13 +04:00
Anna Kozlova 49a08fce9e anonymous->lambda: forbid for recursive calls (IDEA-90964) 2012-09-03 21:27:12 +04:00
Anna Kozlova 2996ce4b20 lambda: simple inference in case of conditional expressions (IDEA-90812) 2012-09-03 21:27:11 +04:00
Anna Kozlova f324594bc3 lambda: create method from usage with lambda arg (IDEA-90957) 2012-09-03 18:27:56 +04:00
Anna Kozlova d71e11473a lambda: convert anonymous to lambda in invalid context with cast; add cast when functional interface type won't be found otherwise (IDEA-90863) 2012-09-03 18:27:55 +04:00