Commit Graph
287 Commits
Author SHA1 Message Date
anna 5a5e84f3ef complex inference algorithm for diamond 2011-02-21 10:10:52 +01:00
Roman Shevchenko f2184f3f50 Multi-catch support: more highlighting 2011-02-19 14:48:41 +01:00
Roman Shevchenko 91e642ac49 Project Coin try-with-resources support (exception handling, part 1) 2011-02-18 15:37:38 +01:00
Roman Shevchenko 537ee9cfcb Substitution for PsiDisjunctionType 2011-02-17 18:48:49 +01:00
anna 0f9fced33c warn about possible heap pollution: annotates as SafeVarargs for final/static methods only (to be improved) 2011-02-17 16:53:04 +01:00
anna 84e7a9ae7a unchecked warnings as fair inspection 2011-02-17 09:48:44 +01:00
anna ab784c95c2 unchecked generics array creation: in new expressions; detect generic signature in anonymous class creation 2011-02-17 09:48:43 +01:00
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