Commit Graph
273 Commits
Author SHA1 Message Date
Roman Shevchenko fe7b1d3f5b Only parse diamonds where they're welcomed 2011-03-24 21:42:06 +01:00
anna 516bef4f42 create class from usage: do not show dialog from write action (IDEA-66872) 2011-03-23 21:05:59 +01:00
Gregory Shrago a2c449009a IDEA-66790 "Private field is never used" does not appear when @Resource annotation used 2011-03-21 18:56:26 +03:00
anna a3aacb032c redundant suppression: correct redundancy for tools with the same id 2011-03-18 12:48:30 +01:00
Roman Shevchenko 91c7d40078 Project Coin precise rethrow support 2011-03-17 17:47:38 +01:00
anna 63bb62c7fa heap pollution:check if possible to make final (IDEA-65920) 2011-03-14 17:02:11 +01:00
anna d1b5fd26f8 create class from usage: enable inside new expr args (IDEA-66193) 2011-03-11 15:32:27 +01:00
anna 066f5d8ce8 create class from usage: setup generics params as it is done for create from new ( IDEA-43214) 2011-03-11 15:04:05 +01:00
anna e1fc66adaa remove local redundant unchecked suppress inspection - replace with existing global one (IDEA-66039) 2011-03-09 20:53:21 +01:00
anna c61a0360a7 suppress possible heap pollution with unchecked id (IDEA-66066) 2011-03-09 20:53:20 +01:00
Roman Shevchenko c992b9c216 Resolve in javadoc fixed 2011-03-09 13:03:29 +01:00
anna ccdc3a5bcb diamond: replace wildcards with corresponding bound when inference (IDEA-66124) 2011-03-08 17:45:00 +01:00
anna b5303937f9 diamonds: do not warn about broken inference for raw types (IDEA-66132) 2011-03-08 11:27:12 +01:00
Roman Shevchenko c3b799c246 IDEA-66081 (resolve methods in javadoc by signatures) 2011-03-07 22:01:53 +01:00
Roman Shevchenko 20b933ac87 IDEA-66266 (add/remove modifier quick fix to work on explicit ones only) 2011-03-07 22:01:52 +01:00
peter f145812a77 foreach loop variable shouldn't be visible from the loop expression (IDEA-55859) 2011-03-03 20:07:54 +01:00
Roman Shevchenko 636877d224 Generalize catch fix made aware of try-with-resources 2011-03-01 20:34:18 +01:00
Roman Shevchenko 618e0e3ac0 Surround with try/catch fix made aware of try-with-resources 2011-03-01 20:34:18 +01:00
Roman Shevchenko 77f94dbece Add exception to method signature fix made aware of try-with-resources 2011-03-01 20:34:18 +01:00
Roman Shevchenko a5a7e6846a Add catch block fix made aware of try-with-resources 2011-03-01 20:34:17 +01:00
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