Commit Graph

75 Commits

Author SHA1 Message Date
anna a829ba2568 ignore parameter for foreach (IDEA-72671) 2012-02-14 18:54:07 +01:00
anna 86518ea411 do not highlight unused foreach parameter (IDEA-72671) 2012-02-13 18:41:26 +01:00
anna ba961d59ad highlight error: access to a private field from a class annotation is not possible 2012-02-10 16:49:46 +01:00
Roman Shevchenko f214f99337 [ann] IDEA-80335 (more precise check for exceptions from AutoClosable types) 2012-01-26 20:33:48 +04:00
anna 042e92601f diamonds: retrieve qualifier type 2011-12-19 18:23:27 +01:00
anna 09c0ca15d8 IDEA-78031 diamonds with new qualifiers 2011-12-19 12:37:02 +01:00
Roman Shevchenko c917bfc09b IDEA-77008 (warn about generics in qualifier reference inside type cast) 2011-12-07 16:39:03 +01:00
Roman Shevchenko 259c98c535 IDEA-70214 (forward lookup for type parameters) 2011-11-08 20:43:01 +01:00
anna 263680df94 use type parameter bound when normalize super wildcard by position (IDEA-73980) 2011-09-14 19:36:26 +02:00
anna b294192ac2 diamonds: should check raw types when error occurs before inference is even started (IDEA-74053) 2011-09-08 19:27:51 +02:00
anna ab1d2768b6 diamonds: do not capture wildcard on inference (IDEA-73689 ) 2011-08-31 16:53:36 +02:00
anna 2787a3a5f4 add warning on switch by inaccessible enums (IDEA-65961 ) 2011-08-24 12:05:55 +02:00
anna d8613c2ee1 diamonds: no diamonds with anonymous classes (IDEA-72391) 2011-07-26 10:56:48 +04:00
Roman Shevchenko 7f0b52ac52 IDEA-71244 (NPE at single-type/single-static import conflict fixed) 2011-06-24 16:29:15 +04:00
Alexey Kudravtsev 4d63800998 highlight unresolved method call even with unresoolved arguments 2011-06-20 11:54:16 +04:00
anna 765d5e4f01 do not highlight enum constants as unused when values are used (IDEA-65298 ) 2011-06-15 14:51:09 +04:00
Roman Shevchenko 9387f10fc2 IDEA-70089 (inherited methods should shadow statically imported ones) 2011-06-09 11:47:23 +04:00
anna 2280dade76 skip parenthesized expressions during type inference (IDEA-70591) 2011-06-03 17:59:04 +04:00
Roman Shevchenko d62745a9b0 Field names formatting in highlighting made independent of pesky plugins 2011-06-02 09:23:14 +04:00
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