Commit Graph

137 Commits

Author SHA1 Message Date
Roman Shevchenko
370794e5f7 Cleanup 2011-04-18 18:49:30 +02:00
Roman Shevchenko
847ad86feb IDEA-68179 (Javac quirks inspection) 2011-04-17 18:53:22 +02:00
anna
2e0cd2d032 interface 'overrides' object: methods can declare different exceptions (IDEA-67753) 2011-04-13 20:05:34 +02:00
anna
8f4a7ee0d0 interface 'overrides' object: methods with same erasure should be accepted (IDEA-67752) 2011-04-13 20:05:33 +02:00
Alexey Kudravtsev
5b6a43015d IDEA-61333 2011-04-13 17:45:11 +04:00
anna
98568c1380 type arguments agree when one is type parameter and another is not any wildcard (IDEA-67427) 2011-04-12 15:17:39 +02:00
anna
0633dddcc0 message fixed 2011-04-11 17:24:31 +02:00
anna
82e049d035 preserve arguments list for enum constant on implement methods (IDEA-67719) 2011-04-07 19:55:19 +02:00
Roman Shevchenko
cce2c02db1 IDEA-67556 (use highest language level in an artificial elements was a bad idea) 2011-04-05 20:59:18 +02:00
anna
dde2360a0c keep spaces (IDEA-67541 ) 2011-04-05 18:13:36 +02:00
anna
3aaa7fb39b diamonds: check according to diamonds even if expected type is raw 2011-04-05 15:45:49 +02:00
Roman Shevchenko
bf9add7eb8 IDEA-67385 (explicitly imported types should shadow inherited ones) 2011-04-05 13:30:10 +02:00
anna
6f8b67665c unimplement interface in generics case: check by subst. signature (IDEA-67230 ) 2011-03-31 16:31:08 +02:00
Roman Shevchenko
5d95c304c6 IDEA-67190 (correctly unwrap try statement if it's not in a code block) 2011-03-29 15:58:52 +02:00
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