Commit Graph

1062 Commits

Author SHA1 Message Date
peter
bff5d16471 dot chooses lookup items, even those that contain dot 2011-09-06 18:38:34 +02:00
peter
3efabdc178 preselect the most relevant item when lexicographic sorting is enabled in the lookups 2011-09-06 18:16:55 +02:00
anna
ca2c3bc539 SOE (IDEA-69752 ) 2011-09-06 11:54:45 +02:00
anna
c09410b3b5 @Override quick fixes: suggest to pull method up; pull members up, extract interface/superclass (IDEA-55720 ) 2011-09-06 11:54:45 +02:00
anna
25b5ddcbc8 pull up: preserve/remove override from pulled method according to super classes structure 2011-09-06 11:05:01 +02:00
anna
5471e8e202 push down: do not add the same interface twice (check class equivalence over non-copied element) 2011-09-06 11:05:00 +02:00
anna
d1a5dacee3 inline superclass: preserve superclass extends/implements list (IDEA-69339) 2011-09-06 11:04:59 +02:00
anna
b01b21b30f rationalize static method calls after pull up 2011-09-02 19:25:58 +02:00
peter
c8e59d711c IDEA-73717 Completion after 'new' and generics 2011-09-02 18:37:54 +02:00
Alexey Kudravtsev
ee1a3cb532 IDEA-72851 2011-09-02 13:50:55 +04:00
anna
4fddb0a5c8 redundant casts: skip casts in conditional branches of calls when resulted call would resolve to another method (IDEA-15720) 2011-09-01 19:07:48 +02:00
anna
a8172fdc67 replace inaccessible field with getter/setter (IDEA-22752) 2011-09-01 16:04:33 +02:00
anna
cd43fc0173 change new type & collapse generics for java 7 (IDEA-73517) 2011-09-01 16:04:31 +02:00
anna
ab1d2768b6 diamonds: do not capture wildcard on inference (IDEA-73689 ) 2011-08-31 16:53:36 +02:00
anna
818ef93d29 rename constructor matching class (IDEA-22812 ) 2011-08-26 19:01:05 +02:00
anna
b07cacac30 expect errors on importing from default packet 2011-08-26 18:14:26 +02:00
anna
9bc5f34ff8 process c-style arrays in setInitializer (IDEA-20538 ) 2011-08-26 17:57:19 +02:00
anna
ef6071d1ca test data fixed to exclude imports for default package 2011-08-26 15:58:34 +02:00
anna
15b1d535cd add single static import on inaccessible element - retrieve accessible or do not suggest intention (IDEA-18050 ) 2011-08-26 15:58:33 +02:00
anna
df6d79ce8a add single static import on type elements, e.g. inside annotations, type elements (IDEA-22130) 2011-08-26 13:34:31 +02:00
anna
6794da37dd add single static import: check method base class beforehand (IDEA-12607 ) 2011-08-26 13:34:30 +02:00
anna
c88166026e forbid default package classes in imports (IDEA-18695) 2011-08-26 13:34:27 +02:00
anna
0f5615356b provide also create annotation from usage (IDEA-19746 ) 2011-08-25 19:26:03 +02:00
anna
008326cc84 forbid cast primitive to type parameter (IDEA-52484; IDEA-23260) 2011-08-25 19:26:02 +02:00
anna
a6c2368498 redundant casts: exclude casts from primitive types in synchronized stms (IDEA-58637 ) 2011-08-24 21:13:56 +02:00
anna
44ad96872c test data 2011-08-24 18:04:29 +02:00
anna
01de4037a2 nullable problems: disable warnings on "complex" getters/setters (IDEA-63958) 2011-08-24 15:41:38 +02:00
anna
6f31251be4 disable add single static import when on demand exists (IDEA-62321) 2011-08-24 12:06:00 +02:00
anna
2787a3a5f4 add warning on switch by inaccessible enums (IDEA-65961 ) 2011-08-24 12:05:55 +02:00
anna
c0a11624a2 insert instance of|cast when condition contains intersection with instanceof (IDEA-64776) 2011-08-23 12:57:59 +02:00
anna
40dd8914ae change parameter class: allow for constructor calls (IDEA-64657); for variable assignments (IDEA-71592 ) 2011-08-22 21:31:12 +02:00
anna
1615e8f030 create class from usage: types in wildcard bounds accepted (IDEA-50310 ) 2011-08-22 21:31:11 +02:00
anna
9d4f40f5f5 additional test for (IDEA-65857; IDEA-62515 ) 2011-08-22 21:31:10 +02:00
anna
613f9fddae space (IDEA-67070) 2011-08-22 17:56:05 +02:00
anna
f087cd8c25 generate private enum constructor everywhere (IDEA-69128 ) 2011-08-22 17:56:04 +02:00
anna
e23fd301ad forbid default package classes in static imports (IDEA-26971 ) 2011-08-22 17:56:03 +02:00
anna
c763ca289f can be final: should not trigger static fields with initializer in a constructor (IDEA-69011) 2011-08-22 17:56:01 +02:00
anna
b2ad5fd7be fix test data 2011-08-22 10:57:14 +02:00
anna
c71a873d1d i18n && wording (IDEA-72585 ) 2011-08-21 17:39:34 +02:00
anna
12e8bcbd5d field can be local: exclude all fields used in fields initializers (IDEA-72649 ) 2011-08-21 17:39:33 +02:00
anna
1ed82c5609 introduce parameter: replace field access with getter: correct anonymous class access; check qualifier 2011-08-21 14:46:36 +02:00
anna
6aba03f21c expand static import to class qualification (IDEA-68853) 2011-08-19 21:11:35 +02:00
anna
129d370f24 surround with runnable: check if name unique; start inplace rename; place caret after 2011-08-19 21:11:07 +02:00
anna
edcc4a17e0 introduce parameter object: no need to change signature for overriders as they would be changed anyway; correct varargs method processing (IDEA-68920 ) 2011-08-19 21:10:52 +02:00
anna
a02dca8eca allow to create field inside static inner class when outer class has the field with the same name (IDEA-71841) 2011-08-19 21:10:10 +02:00
anna
3f144f08b4 move instance methods: leave this refs inside anonymous classes untouched (IDEA-71575) 2011-08-19 21:09:55 +02:00
anna
50c39a05d2 diamonds: forbid diamonds completion with inapplicable inferred types (IDEA-73068) 2011-08-17 18:13:50 +02:00
anna
b66c85fdee diamonds: forbid diamonds completion with anonymous rollover (IDEA-72527) 2011-08-17 18:13:49 +02:00
peter
440204554c infer Boolean in if(runReadAction(new Computab<caret>)){} 2011-08-16 19:54:55 +02:00
anna
51ecd1ad28 diamonds: collapse to diamonds when introducing (IDEA-73069) 2011-08-11 17:31:29 +04:00