Commit Graph

103 Commits

Author SHA1 Message Date
anna
db86efbbd4 format type after field creation from usage (IDEA-65996) 2011-02-28 15:18:41 +01:00
anna
70308b234e check for enclosing instance of type for top level extends type only (IDEA-65857) 2011-02-27 17:30:17 +01:00
anna
a89d18d0f0 safe varags: enable add safe varargs on constructor 2011-02-27 16:50:28 +01:00
Roman Shevchenko
70370a5456 Highlight uninitialized resource variable 2011-02-25 20:59:19 +01:00
Roman Shevchenko
a469762b6d Resolve in resource list tuned to not look forward 2011-02-25 20:59:19 +01:00
Roman Shevchenko
b2ec3c9263 Unused local variable inspection made aware of try-with-resources 2011-02-25 20:59:19 +01:00
Roman Shevchenko
e4eacc4451 "Reuse variable declaration" no more suitable for resource variables 2011-02-24 21:35:40 +01:00
Roman Shevchenko
9e0bef7dcd Project Coin try-with-resource support, take 4 2011-02-24 20:02:33 +01:00
Roman Shevchenko
0a17b195bb Resource declaration and assignment conflicts highlighting 2011-02-23 21:04:42 +01:00
Roman Shevchenko
fdbaba14e1 Resource declaration conflicts highlighting 2011-02-23 21:04:42 +01:00
Roman Shevchenko
5fa72a60da Try-with-resource support: highlight unhandled exceptions from close() 2011-02-22 20:33:24 +01:00
Roman Shevchenko
0f2e1cd4f6 Try-with-resource support: variable usage inspection 2011-02-22 20:33:24 +01:00
Roman Shevchenko
2bc8375a90 Try-with-resource support: reuse variable quick fix 2011-02-22 20:33:23 +01:00
Roman Shevchenko
e84bc3af06 Project Coin try-with-resource support, take 2 2011-02-21 19:55:45 +01:00
anna
67c44e47df forbid diamonds on non-parameterized types (javac should be fixed accordingly) 2011-02-21 18:36:16 +01:00
anna
e29bf9f509 diamonds inference: test data just-in-case 2011-02-21 15:03:31 +01:00
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