Commit Graph

96 Commits

Author SHA1 Message Date
Roman Shevchenko
a66489593b [ann] IDEA-69688 (unrestricted cast of return types of JSR-292 "polymorphic" methods) 2011-05-18 17:14:14 +04:00
anna
097a350597 diamonds: cannot use diamonds with explicit constructor types/disable checks on type args for non generics constructors (sic!?) 2011-05-17 21:00:44 +04:00
Alexey Kudravtsev
b0fbab04f2 do not autoimport inner classes 2011-05-11 12:51:12 +04:00
Alexey Kudravtsev
f99cbb9757 IDEA-69120 2011-05-04 14:49:21 +04:00
Roman Shevchenko
475354f2b6 [ann] Improved catch analysis 2011-05-03 21:10:11 +02:00
Roman Shevchenko
8072b38603 [ann] Correct highlighting for subtypes in multi-catch 2011-05-03 21:10:10 +02:00
anna
3bb0c9d03a diamonds; actual types accepted in java 7 even if no formal types were defined!
(cherry picked from commit 903984b162008a56def605c72743c22517304a2d)
2011-05-02 21:14:20 +02:00
anna
b94ead9094 diamonds: accept captured types; discard anonymous inner classes (IDEA-67125) 2011-04-20 20:10:21 +02:00
Alexey Kudravtsev
f1c5040111 cleanup 2011-04-20 19:10:48 +04:00
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
Alexey Kudravtsev
a1aeacd499 leaks in AddAnnotationFix 2011-04-15 15:46:29 +04: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
Alexey Kudravtsev
ee9a68bf44 PSI leaks via LocalQuickFix 2011-04-12 11:42:23 +04: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
Roman Shevchenko
bf9add7eb8 IDEA-67385 (explicitly imported types should shadow inherited ones) 2011-04-05 13:30:10 +02:00
Dennis Ushakov
12b0211ef6 RUBY-5332 Enable "Lossy encoding" inspection in platform 2011-03-28 11:13:38 +04: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
Roman Shevchenko
91c7d40078 Project Coin precise rethrow support 2011-03-17 17:47:38 +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
anna
3b8b505304 diamonds: treat as raw type when inference was failed (IDEA-66370) 2011-03-09 20:53:19 +01:00
Roman Shevchenko
c992b9c216 Resolve in javadoc fixed 2011-03-09 13:03:29 +01:00
anna
675a660b14 replace explicit with diamond: do not leave incorrect psi (IDEA-66114 ) 2011-03-08 17:45:01 +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
Roman Shevchenko
a9c8cd157b Cleanup 2011-03-07 22:01:52 +01:00
Alexey Kudravtsev
951285d91b cleanup 2011-03-05 11:56:08 +03: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
f4f467bf64 safe varags: rename inspection 2011-02-27 16:39:34 +01:00
Roman Shevchenko
9e0bef7dcd Project Coin try-with-resource support, take 4 2011-02-24 20:02:33 +01:00
Roman Shevchenko
0f2e1cd4f6 Try-with-resource support: variable usage inspection 2011-02-22 20:33:24 +01:00
Roman Shevchenko
8915ce77a3 Test cleanup 2011-02-22 20:33:23 +01:00
Roman Shevchenko
2bc8375a90 Try-with-resource support: reuse variable quick fix 2011-02-22 20:33:23 +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
Alexey Kudravtsev
6c65c04303 unnecessary calls to getMockJDK() removed in tests 2011-02-17 14:00:16 +03:00
anna
84e7a9ae7a unchecked warnings as fair inspection 2011-02-17 09:48:44 +01:00
Alexey Kudravtsev
156a91c5fd WrapInCommand annotation in tests 2011-02-16 12:58:20 +03: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
68ce5423cb Project Coin multi-catch support 2011-02-14 19:00:07 +01:00
Alexey Kudravtsev
d177894331 cleanup 2011-02-11 17:12:49 +03:00