Commit Graph
892 Commits
Author SHA1 Message Date
Anna.Kozlova 1ce6f8d2fa introduce param object: pass substitution around which won't be available after method signature is changed (IDEA-154208) 2016-04-25 10:57:40 +02:00
Anna.Kozlova b7eddbbbc3 extract method: fold parameters after array acces was detected (IDEA-155094) 2016-04-22 19:31:27 +02:00
Anna.Kozlova aeab53aa69 move: convert nested classes to the top level files even for multiple classes selected
EA-81558 - assert: PsiJavaDirectoryImpl.checkAdd
2016-04-19 19:05:54 +02:00
Anna.Kozlova 16f4b4c883 convert to instance/move instance: support default methods in interfaces for java 8 (IDEA-154833) 2016-04-18 12:54:50 +02:00
Anna.Kozlova 4c47e35b31 move inner: check protected accessibility in respect with class hierarchy (IDEA-154628) 2016-04-14 20:59:13 +02:00
Anna.Kozlova 0100d6fab5 allow variable introduction inside lambda chain with expression -> block lambda conversion 2016-04-14 16:26:10 +02:00
Anna.Kozlova 2a9a2e6568 change signature: remove @Override if only overrider was changed (IDEA-154669) 2016-04-13 21:11:02 +02:00
Anna.Kozlova 1a9c4c2f19 extract method: when context was changed ensure that static method is not qualified with this 2016-04-13 21:11:02 +02:00
Anna.Kozlova e4c71494a4 reassign during introduce variable: skip variables which must be effectively final 2016-04-01 11:38:39 +02:00
Anna.Kozlova ed7ed9c829 undo after template: don't insert second space (IDEA-153669) 2016-04-01 11:38:39 +02:00
Anna.Kozlova 943ed6a002 extract field: ensure type is valid after diamond conversion (IDEA-153602) 2016-04-01 11:38:39 +02:00
Anna.Kozlova 1e754b5579 extract method: strip this/super from field qualifiers when method was made static (IDEA-153692) 2016-04-01 11:38:39 +02:00
Anna.Kozlova bb5a0f66e9 inline: don't flatten multi dimensional array in varargs calls (IDEA-153700) 2016-03-29 21:17:55 +02:00
Anna.Kozlova ca2921eb6e inline local: don't check assignability before decoding (IDEA-152883) 2016-03-24 15:58:41 +01:00
Anna.Kozlova 0d78fb9f8d extract class: normalize fields declarations (IDEA-153457) 2016-03-22 19:22:42 +01:00
Anna.Kozlova 4ad5c2006c introduce functional parameter from substring
EA-80674 - AIOOBE: IntroduceParameterHandler.introduceStrategy
2016-03-17 21:25:32 +01:00
Anna.Kozlova 1545f58d8d make type denotable: ensure that array type is not created over wildcard 2016-03-17 18:04:01 +01:00
Egor.Ushakov e09b0fca1e IDEA-152851 Extract Method Object: incompilable result in case of this and super and anonymous class creation 2016-03-11 13:08:25 +03:00
Anna Kozlova 0108018028 fix testdata 2016-03-10 09:08:15 +01:00
Anna Kozlova cee6581734 generify: collapse to diamond when applicable 2016-03-09 14:23:53 +01:00
Anna Kozlova e6a5fc8f31 inline functional expression: surround with parenthesis if inlined in method reference qualifier (IDEA-152600) 2016-03-04 19:58:08 +01:00
Anna Kozlova 84f7bc13b8 inline super: don't warn for unresolved constructor with new array (IDEA-152583) 2016-03-04 17:00:37 +01:00
Anna Kozlova eeb4e4f49f inline superclass: proceed arrays (IDEA-152539) 2016-03-03 18:54:30 +01:00
Anna Kozlova db30803bee inline superclass: don't start push refactoring (with find usages, etc) inside inline; don't collect usages in all inheritors when at the end only one would be processed (IDEA-152480) 2016-03-03 18:54:30 +01:00
Anna Kozlova 3cd6b26423 inline superclass: don't change superconstructor if interface was inlined (IDEA-152481) 2016-03-03 15:16:22 +01:00
Anna Kozlova e836aa4980 invert boolean: leave final fields without initializer as is (IDEA-152514) 2016-03-03 15:16:22 +01:00
Anna Kozlova 5673683e95 extract method suggester: unique parameter names (IDEA-152334); update output variables when suggester replaces the initial method 2016-03-01 15:22:35 +01:00
Anna Kozlova f4e21c6788 method reference: accept classes as targets of constructor refs rebind 2016-02-29 16:45:33 +01:00
Anna Kozlova 32dd35be57 introduce parameter: extract and delete unused varargs parameter (IDEA-152294) 2016-02-29 16:45:33 +01:00
Egor.Ushakov 6b58c10ee2 IDEA-151861 ExtractMethodObject should not move static methods into created inner class - honor make static 2016-02-26 21:00:50 +03:00
Egor.Ushakov bcfc1fe10f IDEA-151861 ExtractMethodObject should not move static methods into created inner class 2016-02-26 20:01:51 +03:00
Anna Kozlova 7a0ae14c43 extract parameter object: set getter name by field if present (IDEA-152098) 2016-02-25 19:42:52 +01:00
Egor.Ushakov 4caabe011d IDEA-151867 ExtractMethodObject drops declaration of local variable when it is shared with a return value 2016-02-25 20:47:12 +03:00
Anna Kozlova 18e74c0b96 method reference -> lambda: remove redundant qualifier 2016-02-25 17:25:55 +01:00
Anna Kozlova 61816006f6 introduce parameter: expand method reference to lambda when new parameter introduced (IDEA-152125) 2016-02-25 16:17:33 +01:00
Anna Kozlova 716c8794ae safe delete: expand method reference to lambda if parameter is deleted (IDEA-152126) 2016-02-25 16:17:33 +01:00
Anna Kozlova 47ac87b9f8 invert boolean: allow to proceed with conflicts, convert method reference to lambda if needed 2016-02-25 16:17:33 +01:00
Anna Kozlova 8e5d9f60af change signature: don't expand method reference if parameters/exceptions were not changed (IDEA-152116); support method rename through change signature 2016-02-24 21:05:13 +01:00
Anna Kozlova aa00a3b1ba change signature: support changing signature of the method referenced by some method reference (IDEA-152114) 2016-02-24 21:05:13 +01:00
Egor.Ushakov eed9e7e7fb IDEA-132210 Debugger: Evaluate fails on this and super references in lambda 2016-02-24 15:33:05 +03:00
Anna Kozlova af1a898ee8 inline local: fix usages inside lambda body (IDEA-151960) 2016-02-24 13:12:24 +01:00
Anna Kozlova e1f2670f5a check methods moved to interface as default (IDEA-151809) 2016-02-19 20:30:26 +01:00
Anna Kozlova 9c1e06ac8d replace duplicates: suggest to make static when located up in the hierarchy (IDEA-151917) 2016-02-19 19:18:43 +01:00
Anna Kozlova bf226f58ab move members: conflict against members of superclass (IDEA-151440) 2016-02-16 18:59:27 +01:00
Dmitry Batkovich f836ad796d IDEA-151190 Change class signature doesn't support complicated bounds 2016-02-10 21:29:40 +03:00
Dmitry Batkovich 33a671a448 IDEA-148839 Change class signature allows to specify bound type for new type parameters 2016-01-28 16:25:50 +03:00
Anna Kozlova 8c04e64f09 move members: ignore conflict if resolution was with static problems (IDEA-149968) 2016-01-14 16:18:20 +01:00
Anna Kozlova 4b1d5629ec copy classes: retarget refs in extends lists (IDEA-150234) 2016-01-13 20:22:33 +01:00
Anna Kozlova 84b6b19292 safe delete: more precise check for safe delete top level classes (IDEA-150276) 2016-01-13 16:54:58 +01:00
Anna Kozlova 3fd8dfd38c change signature: convert method reference to lambda if SAM method signature was changed (IDEA-150138) 2016-01-13 16:54:58 +01:00