Commit Graph

56 Commits

Author SHA1 Message Date
Roman Shevchenko 69e549128e Resolve in overlapping single type and on-demand static imports fixed 2011-06-01 21:50:08 +04:00
Roman Shevchenko be3925acc2 Test "lightened" 2011-06-01 21:50:07 +04:00
Roman Shevchenko b66b7a9d0a Resolve in overlapping single and on-demand static imports fixed 2011-06-01 12:03:15 +04:00
Roman Shevchenko 2484d68569 Similar highlighting tests united 2011-05-31 16:08:05 +04:00
Alexey Kudravtsev 444594e90c tests fix 2011-05-23 13:35:03 +04:00
Roman Shevchenko 1d9f3e525b IDEA-69629 (don't override erasure during check) 2011-05-19 15:39:11 +04:00
Roman Shevchenko fc32246f0c [cdr] Improved catch analysis relaxed for general exceptions 2011-05-18 22:08:01 +04:00
Roman Shevchenko 220dd97181 [ann] IDEA-69800 (unrestricted cast of argument types of JSR-292 "polymorphic" methods) 2011-05-18 17:19:55 +04:00
Roman Shevchenko 00f10ef907 [ann] Exceptions with interfaces in multi-catch: correct erasure 2011-05-18 17:18:49 +04:00
Roman Shevchenko 49e9988a40 [ann] Exceptions with interfaces in multi-catch: assignability and control flow fix 2011-05-18 17:15:49 +04:00
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
anna b7c7f173e1 qualified diamonds fixed 2011-05-05 21:45:26 +02: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
Roman Shevchenko 847ad86feb IDEA-68179 (Javac quirks inspection) 2011-04-17 18:53:22 +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 91c7d40078 Project Coin precise rethrow support 2011-03-17 17:47:38 +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
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 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 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 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 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
Roman Shevchenko 68ce5423cb Project Coin multi-catch support 2011-02-14 19:00:07 +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 c05c58cf4c completion: diamonds; inspection: collapse to diamond 2011-01-31 17:14:11 +01:00
anna 5ae4640721 enable diamonds in field initializers (IDEA-63979) 2011-01-12 16:51:31 +01:00
Alexey Kudravtsev e2f12d5e29 dynamically add dead code extension 2010-10-08 10:13:27 +04:00