Commit Graph

40 Commits

Author SHA1 Message Date
Anna Kozlova
41998a977e change signature: show conflicts if delegated method has same erasure as initial one (IDEA-157672) 2016-06-30 21:02:38 +03: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
18e74c0b96 method reference -> lambda: remove redundant qualifier 2016-02-25 17:25:55 +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
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
Anna Kozlova
b56e7e0c20 change signature: propagate parameters change to lambda expressions (IDEA-150138) 2016-01-13 16:54:58 +01:00
Anna Kozlova
a6bd93a9c7 change signature: fix search for tags to remove in unsorted array (IDEA-147535) 2015-11-06 16:21:29 +01:00
Anna Kozlova
a69c1bc650 change signature AIOOBE 2015-10-14 11:12:27 +02:00
Anna Kozlova
51af5a6312 change signature: ensure propagation works for inheritors (IDEA-142350) 2015-07-08 20:37:17 +03:00
Yaroslav Lepenkin
9f82306ea5 Added possibility not to add FQN in javadocs if class was imported (IDEA-121121 ) [CR-IC-6907]
Now three options is available: use FQN always, never, or when not imported. Last is used by default.
Converted and moved boolean legacy setting from CommonCodeStyle settings into JavaCodeStyleSettings.
2014-12-02 12:14:01 +02:00
Anna Kozlova
8a80f671c2 leave foreign params untouched (IDEA-119700) 2014-05-26 18:07:52 +04:00
Roman Shevchenko
2805c474e3 IDEA-103174 (type annotations in change signature) 2014-03-13 14:13:10 +01:00
peter
fdee76603c IDEA-117332 Change signature refactoring should warn about @Contract conflict 2014-02-21 15:38:38 +01:00
Yaroslav Lepenkin
2bcd0fb291 IDEA-110654 Change Signature inserts unnecessary new line in comment block 2013-11-21 13:45:44 +04:00
Anna Kozlova
3069f9ae10 IDEA-111735 Change Signature refactoring should not insert generics types into javadoc 2013-08-09 17:36:45 +02:00
Anna Kozlova
b685972a85 change signature: highest visibility should not return PUBLIC all at once (IDEA-111739) 2013-08-09 14:21:27 +02:00
anna
ec8876bed5 change signature: propagate params fix (IDEA-110601) 2013-07-24 18:59:30 +02:00
anna
58e9f5ffd8 change signature: reorder params with javadoc without * (IDEA-110332) 2013-07-16 12:30:05 +02:00
anna
924523869c testdata fixed 2013-05-06 21:21:52 +02:00
anna
320f89f28c change signature: fix param name hides field (IDEA-98123) 2012-12-31 11:32:58 +01:00
anna
dea70f5fdd correctly check for super call in constructor (IDEA-97203) 2012-12-11 22:02:28 +01:00
anna
0a2b36f3d7 change signature: do not multiple javadocs (IDEA-94465) 2012-11-09 17:20:01 +01:00
Anna Kozlova
51b6f9e052 change signature: preserve param javadoc when name was changed (IDEA-87521) 2012-06-18 19:03:39 +04:00
Anna Kozlova
e0015d4888 change signature: do not show conflicts about non-changed param names 2012-06-09 16:11:10 +04:00
anna
80b3fd3829 change signature: copy non varargs arg to varargs position (IDEA-65913) 2011-02-28 12:16:01 +01:00
anna
701d391f3d do not create throws list without exceptions (IDEA-65790 ) 2011-02-27 19:30:02 +01:00
anna
4b89145451 cs: do not compare parameters length of caller and primary method's old parameter idx (IDEA-58352) 2010-10-28 11:50:36 +04:00
anna
0d47b0f720 cs: use any var in declaration statement fixed (IDEA-58344) 2010-10-26 12:19:37 +04:00
anna
950399fc9b cs: pass this as default value when anyVar is selected and this type would be applicable (IDEA-59510) 2010-10-26 12:19:36 +04:00
anna
df27175e05 change signature: process first param spacing (IDEA-59817) 2010-10-26 12:19:35 +04:00
anna
3585f66c1a cs: all javadoc tags but the last contains tailing \n, delete child remove \n as well -> then delete last tag add new tag leads to \n removal (IDEA-59501) 2010-10-12 19:25:39 +04:00
Denis Zhdanov
1012dd0da2 IDEA-4384 Refactorings should obey "align when multiline"
1. Method parameters/method call arguments are reformatted during method return type/name/modifiers change now (corresponding logic is added at PSI level);
2. Corresponding tests are added;
2010-10-11 13:04:36 +04:00
Maxim Medvedev
9b56725bd0 fixes & tests 2010-05-30 17:28:36 +04:00
Denis Zhdanov
dde1392157 IDEA-42167 Reformat code works wrong
Test data is revised in accordance with corrected algorithm
2010-05-20 15:12:31 +04:00
Denis Zhdanov
21c7768447 IDEA-54902 Layout after Change signature is broken
Comment is added
2010-05-14 19:32:25 +04:00
Denis Zhdanov
eb0ac30988 IDEA-54902 Layout after Change signature is broken
Comment is added
2010-05-14 19:32:15 +04:00
Denis Zhdanov
fc53c7faff IDEA-54902 Layout after Change signature is broken
Corresponding test data
2010-05-14 19:09:24 +04:00
anna
d2ba61a99e check for list size: skiped varargs parameter (16666) 2009-10-29 12:40:06 +03:00
Dmitry Jemerov
b854be0323 test++ 2009-09-10 20:09:11 +04:00