Commit Graph

217 Commits

Author SHA1 Message Date
anna
d2af36382c method ref: create method from usages accept method ref in argument 2012-09-25 19:47:00 +02: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
dda9269851 disable add variable initializer fix for foreach parameter (IDEA-90899) 2012-09-12 17:53:32 +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
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
447bc37818 lambda: remove redundant code block inspection accept void compatible lambda & nested blocks (IDEA-91184) 2012-09-07 22:29:45 +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
49a08fce9e anonymous->lambda: forbid for recursive calls (IDEA-90964) 2012-09-03 21:27:12 +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
Anna Kozlova
24252e4741 testdata fixed 2012-08-31 21:46:38 +04:00
Anna Kozlova
87804891cf redundant lambda param type: check with resulted lambda 2012-08-31 18:41:45 +04:00
Anna Kozlova
e48926ccb0 inspection/intention to collapse/expand lambda body (IDEA-90827) 2012-08-31 11:27:38 +04:00
Anna Kozlova
bb0b0c008a convert anonym class to onle-line lambda if possible (IDEA-90820) 2012-08-30 20:14:36 +04:00
Anna Kozlova
2956c09aff testdata fixed according to new code style 2012-08-27 20:37:38 +04:00
Anna Kozlova
6b1343fded fix testdata 2012-08-27 17:31:51 +04:00
Anna Kozlova
899e8dccfa extend insert declaration/add cast intentions for the one line ref statement (IDEA-90448) 2012-08-24 12:39:03 +04:00
Anna Kozlova
9a4e0f00d0 lambda: redundant lambda param types 2012-08-22 14:08:27 +04:00
Anna Kozlova
a0d858fa5b lambda: effectively final parameters: copy in final variable if needed - never make implicitly final 2012-08-21 14:39:41 +04:00
Anna Kozlova
8b0455ce93 lambda: convert anonymous to lambda inspection & fix 2012-08-20 21:02:43 +04:00
Anna Kozlova
bd197be80e replace all members with static import method (IDEA-90040) 2012-08-15 18:59:24 +04:00
Anna Kozlova
2af9adfc2c try our best to find fields corresponding to params (IDEA-89773) 2012-08-07 20:17:04 +04:00
anna
58ea14ba09 IDEA-89344: create inner class: make a class static when needed 2012-07-31 12:24:28 +02:00
anna
673cc81da2 restore intention place; fix tests 2012-07-18 17:31:32 +02:00
anna
6aaad412f0 push condition inside call action (IDEA-88814) 2012-07-17 12:09:21 +02:00
anna
f3f98b6f54 create property:both getter nad setter from usage (IDEA-73186); return cursor to the initial state 2012-07-12 21:01:39 +02:00
anna
d18b86df35 create method from usage: create type params for static methods created in generics classes as class type params won't be accessible (IDEA-87688) 2012-07-05 16:13:21 +02:00
anna
433f988b40 create from usage: extract used type params from deep levels (IDEA-87564) 2012-07-04 19:47:43 +02:00
Evgeny Pasynkov
6371910dba Merge branch 'master' into upsource-master 2012-07-03 10:28:50 +02:00
Danila Ponomarenko
4123634435 IDEA-87839 'Split string' intention implemented 2012-06-27 13:07:30 +04:00
Danila Ponomarenko
2a004b3a4e additional test for additional test for ConvertColorRepresentationIntentionAction 2012-06-27 13:07:30 +04:00
Danila Ponomarenko
6d8a78c66d IDEA-62531 "Choose color" intention (Java): allow to convert between decimal and hex colour representation implemented 2012-06-26 19:53:55 +04:00
Danila Ponomarenko
b83dfbf637 IDEA-58049 Provide add type parameter quick-fix intention implemented 2012-06-25 18:11:54 +04:00
Danila Ponomarenko
6772fd01ea IDEA-58049 partial implementation 2012-06-25 18:11:53 +04:00
Danila Ponomarenko
3ab777e366 IDEA-85758 intention to replace casted var with a var of the right type and having the same value implemented 2012-06-20 16:04:00 +04:00
Danila Ponomarenko
4e91c6796c IDEA-87401 CreateAssign -> Bind + +HighPriorityAction + tests added 2012-06-19 16:12:52 +04:00
Danila Ponomarenko
c0f55c7ea5 IDEA-87401 For intention "Assign Parameter to Field", provide a "Assign All Unassigned Parameters to Fields" implemented 2012-06-18 20:25:08 +04:00
Anna Kozlova
40e35d7a60 enable fix all for file for annotator problems, should work for localQuickFixes only (IDEA-87100) 2012-06-18 12:07:27 +04:00
Anna Kozlova
679e1c6bcf change type args fix (IDEA-84097) 2012-06-15 13:13:26 +04:00
Anna Kozlova
c6e6a726ad disable make class extend itself when assignment is not valid e.g. due to wrong type args 2012-06-15 13:13:25 +04:00
Danila Ponomarenko
8edc336fd2 IDEA-61130 Intention to replace an assignment with a setter call implemented 2012-06-08 16:18:43 +04:00
Danila Ponomarenko
389ffea2d7 IDEA-86300 Create local variable intention implemented 2012-06-07 17:56:41 +04:00
Danila Ponomarenko
4b16f22fca test fixes 2012-06-05 16:51:25 +04:00
peter
a3fde695dd self-contained AddImpotActionTest 2012-06-04 15:02:28 +02:00
Danila Ponomarenko
0f472ce8b2 IDEA-28534 Intention enhancement: "Make class Foo implement interface Bar" implemented 2012-05-30 17:57:14 +04:00