Commit Graph

80 Commits

Author SHA1 Message Date
anna
87e7f6aa02 add warning "unchecked generic array creation for vararg parameter" 2011-02-16 09:48:39 +01:00
anna
5c24e5a3c6 redundant unchecked warning inspection 2011-02-16 09:48:38 +01:00
anna
04d3758e69 @SafeVarargs inspection: find all methods which can be annotated as 2011-02-16 09:48:36 +01:00
anna
898f2cc1bc project coin: @SafeVarargs applicability 2011-02-16 09:48:35 +01:00
Roman Shevchenko
924c40f58d Multi-catch support: resolve to fields 2011-02-15 21:11:44 +01:00
Roman Shevchenko
b4043639ba Multi-catch support: exceptions may implement interfaces 2011-02-15 18:41:03 +01:00
Denis Zhdanov
f2c1a27c51 Test data fixes 2011-02-15 09:33:13 +03:00
Roman Shevchenko
68ce5423cb Project Coin multi-catch support 2011-02-14 19:00:07 +01:00
anna
61f2714f06 create method from usage: allow to reuse parent class type args (IDEA-64683) 2011-02-10 17:21:59 +01:00
Denis Zhdanov
d4117de40b IDEA-58293 Java Formatter: Respect 'space after semicolon' setting for 'for' loop with empty 'after loop' operation
Test data is corrected
2011-02-10 13:09:13 +03:00
anna
1c8936875f create constructor from usage: use "override method body" template when super class contains no default constructor 2011-02-08 18:41:34 +01:00
Roman Shevchenko
e75d85ba43 Project Coin numeric literals (IDEA-64808) 2011-02-08 12:16:20 +01:00
anna
41d993b1b0 diamonds: new expressions from return statements 2011-02-03 12:59:51 +01:00
anna
431aaa09b8 add junit to classpath when annotation FQN is used (IDEA-64909) 2011-02-02 16:33:18 +01:00
anna
ab8c561e5c replace ref quickfix checks scope (IDEA-64946) 2011-02-02 14:02:19 +01:00
anna
c05c58cf4c completion: diamonds; inspection: collapse to diamond 2011-01-31 17:14:11 +01:00
anna
58447c4832 add explicit type arguments: qualify method expression if needed (IDEA-64458) 2011-01-24 13:20:30 +01:00
anna
db47e5ccd8 forbid private/protected class modifiers inside anonymous classes (IDEA-64188) 2011-01-20 18:51:34 +01:00
anna
5ae4640721 enable diamonds in field initializers (IDEA-63979) 2011-01-12 16:51:31 +01:00
anna
e1ac3c6f0a suggest new param name based on type instead of other params 2010-12-23 18:01:52 +03:00
anna
9010b36338 invert if: do not skip returns as they may contain valuable info (IDEA-61892) 2010-12-22 22:25:20 +03:00
anna
4b793a4f9f unbound wildcard is not provably distinct from any array type (IDEA-63447) 2010-12-22 17:13:51 +03:00
anna
a167792cf4 do not migrate from type to self 2010-12-16 19:16:28 +03:00
anna
64e3456f20 bring into scope: multiple vars in one declaration should be normalized (IDEA-62848 ) 2010-12-13 15:56:43 +03:00
Alexey Kudravtsev
458ae21dcb test for IDEA-62529 2010-12-08 16:13:24 +03:00
anna
19ccd895cb super wildcard processing (IDEA-62529 ) 2010-12-08 12:40:10 +03:00
anna
e1164f1314 private inner class can't be used in top class signature ( IDEA-57751) 2010-11-19 12:07:05 +03:00
anna
f79288c1eb start live template if enum constant needs params (IDEA-19205) 2010-11-15 16:54:57 +03:00
Alexey Kudravtsev
e55eb679fd IDEA-57619 2010-11-13 12:16:35 +03:00
anna
edc0799f69 create method from usage: create method type params if needed (IDEA-55505) 2010-11-12 19:43:54 +03:00
anna
92b0210e9f do not mix PsiImmediateClassType and PsiReferenceClassType: presentable name for ref type is calc based on reference name only (IDEA-56135) 2010-11-10 19:02:24 +03:00
Alexey Kudravtsev
4f5f9f485a preserve highlights on enter 2010-11-09 12:51:46 +03:00
anna
31cb911e3f generics: raw type should not be equal to param type (IDEA-60170) 2010-10-29 15:02:02 +04:00
Alexey Kudravtsev
095774c01f autoimport not completed generic reference of the kind arraylist<> 2010-10-28 13:12:24 +04:00
anna
79bb22d0fa create static inner class if new expression is inside this/super constructor call (IDEA-45530) 2010-10-28 11:50:35 +04:00
anna
7ae3e5f625 expressions presentation tweaks, new expression type changes should not delete anonymous class (IDEA-58290) 2010-10-28 11:50:35 +04:00
anna
72f680902b access object class should be calc corresponding to ref qualifier (IDEA-58377) 2010-10-26 12:19:38 +04:00
Alexey Kudravtsev
221d0c527e Application.assertWriteAccess does really assert in tests,
tests now run in EDT
2010-10-25 15:04:08 +04:00
anna
946b3a3f63 implement abstract method; use existing implementation for enum constants (IDEA-59807) 2010-10-22 21:52:19 +04:00
Alexey Kudravtsev
e2f12d5e29 dynamically add dead code extension 2010-10-08 10:13:27 +04:00
anna
cd75690d57 change signature from usage fix: varargs processing (IDEA-58449) 2010-10-05 19:55:42 +04:00
anna
d065029b5c unimplement: do not delete methods which override super methods (IDEA-58918) 2010-09-28 21:17:13 +04:00
anna
48b40d0c03 type casts: check type parameter first (IDEA-58454) 2010-09-09 13:09:37 +04:00
anna
3942c3f88d create field from parameter: array types (IDEA-58140) 2010-08-31 15:04:06 +04:00
anna
0bb2f844f2 remove redundant else: check all then clauses (IDEA-58136) 2010-08-30 20:52:53 +04:00
anna
db9fc5a09b assert statement: description should be of string type (IDEA-58067) 2010-08-27 20:19:49 +04:00
anna
ab7796431a show methods the same if type parameter bounds were mixed 2010-08-26 12:03:53 +04:00
anna
60bdcacc70 check whether wildcard bound or not (IDEA-57343) 2010-08-24 17:33:26 +04:00
anna
20ed44ab80 unbounded wildcard cant be proved to be different: test data 2010-08-24 13:26:08 +04:00
Alexey Kudravtsev
48245a1a3a duplicate annotations 2010-08-23 14:29:03 +04:00