Commit Graph

36 Commits

Author SHA1 Message Date
Daniil Ovchinnikov
47bedfb488 [jvm-lang] java: return if no method is found after reformat IDEA-188113 2018-03-12 21:40:30 +03:00
Daniil Ovchinnikov
872ddb5d0e [jvm-lang] rename create getter/setter actions
- _Create Getter_ -> _Create read-only property 'foo' in 'Bar'_
- _Create Setter_ -> _Create write-only property 'foo' in 'Bar'_

Action names are now consistent with _Create property 'foo' in 'Bar'_.
2018-02-15 16:00:36 +03:00
Daniil Ovchinnikov
544ee7980f [jvm-lang] java: port _Create getter/setter from usage_ actions
- extract PropertyRenderer for reusing;
- make them work with type parameter guesser.
2018-02-13 01:15:09 +03:00
Daniil Ovchinnikov
3151924a52 [jvm-lang] java: don't create private abstract methods (IDEA-186499) 2018-02-12 19:25:20 +03:00
Daniil Ovchinnikov
6e0f6897c9 [jvm-lang] group 'Create method' and 'Create field' actions 2018-02-02 17:07:57 +03:00
Daniil Ovchinnikov
e08521fb91 [jvm-lang] update Java-to-Java Create Method from usage tests 2017-09-06 21:24:13 +03:00
Daniil Ovchinnikov
87fa214435 [java] add tests for "Create abstract method" 2017-09-06 19:02:21 +03:00
Anna Kozlova
e747d52bf5 create method from usage: treat polyadic expressions as for completion by containing expression (IDEA-151432) 2017-05-18 13:25:30 +03:00
Anna Kozlova
94dd554c0c don't use void in non-free method calls (IDEA-172958) 2017-05-16 21:33:01 +03:00
Anna.Kozlova
c482c21b29 create from usage: ensure type parameters are extracted from wildcards (IDEA-169857) 2017-03-20 11:45:14 +01:00
Anna Kozlova
93fa3ed8c8 expected type by prefix expression should be calculated by parent (IDEA-166819) 2017-01-20 12:58:32 +03:00
Tagir Valeev
eaff2cebb6 fix invalid negative tests for quick-fixes 2016-10-10 18:24:14 +07:00
Anna Kozlova
d7f768366b fix testdata 2015-11-02 15:29:42 +01:00
Anna Kozlova
5d98d49ecf ensure denotable types 2015-10-28 16:05:05 +01:00
Andrey Starovoyt
b20fc1c936 live templates: incorrect adding generic parameter IDEA-134434 2014-12-23 18:18:43 +03:00
Dmitry Avdeev
466b4e442b Create from usage: sentence capitalization 2014-12-06 12:06:31 +03:00
Anna Kozlova
91f505e2f7 create static method from usage in interface (IDEA-127563) 2014-07-21 19:19:14 +02:00
Anna Kozlova
fcd50614bb name suggestions for static non-final fields should escape _ (IDEA-123441) 2014-04-04 17:55:26 +02:00
anna
be9e2fa9f7 testdata fixed 2013-05-06 20:55:21 +02:00
anna
299e587bc4 create from usage: do not suggest to create static methods in interfaces (IDEA-98147) 2012-12-28 15:32:08 +01:00
anna
9a237f0b59 test data fixed 2012-09-27 12:25:59 +02:00
anna
d1fbf297bc method ref: isAssignable check; resolve (initial) 2012-09-25 19:47:04 +02:00
anna
d2af36382c method ref: create method from usages accept method ref in argument 2012-09-25 19:47:00 +02: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
f324594bc3 lambda: create method from usage with lambda arg (IDEA-90957) 2012-09-03 18:27:56 +04: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
Maxim.Medvedev
764a7bd65c copyright in testdata 2012-05-16 12:26:08 +04:00
Maxim.Medvedev
e5b412d4c3 'create groovy method from usage' position caret at the beginning of selection 2012-05-16 10:45:35 +04:00
anna
4814482749 insert template: do not handle [] twice (IDEA-69106)
(cherry picked from commit 2b98c3ab3529a3b1a0f34a3e3e4f62d393ce4d61)
2011-05-03 17:34:34 +02:00
anna
61f2714f06 create method from usage: allow to reuse parent class type args (IDEA-64683) 2011-02-10 17:21:59 +01:00
anna
edc0799f69 create method from usage: create method type params if needed (IDEA-55505) 2010-11-12 19:43:54 +03:00
anna
db9fc5a09b assert statement: description should be of string type (IDEA-58067) 2010-08-27 20:19:49 +04:00
anna
5c430dd73a create getter from usage: return type fixed when field with name already exist 2010-07-26 11:56:35 +04:00
Alexey Kudravtsev
2718da9fc7 more java tests moved to community 2010-06-25 12:46:40 +04:00