Commit Graph

196 Commits

Author SHA1 Message Date
Anna Kozlova 328808bebb redundant cast: process instanceof (IDEA-128493) 2014-08-12 19:35:38 +04:00
Alexey Kudravtsev 1b9ba31da8 cast from Short to char is prohibited 2014-07-23 13:35:58 +04:00
Alexey Kudravtsev 0a6a37496e Reverted: cast from Short to char is prohibited (1c5a03589e) 2014-07-18 17:21:10 +04:00
Alexey Kudravtsev 1c5a03589e cast from Short to char is prohibited 2014-07-18 14:58:43 +04:00
Max Medvedev 319bbf28a0 IDEA-125909 Groovy: trait methods accessed via 'super' are not resolved.
Use LinkedHashSet for PsiIntersectionType for order forcing.
2014-06-18 14:02:40 +04:00
Roman Shevchenko b8be4e29d9 IDEA-125805 (language level increase quickfix for switch on enum/string) 2014-06-02 20:14:07 +04:00
Anna Kozlova 5953b8fb0d accessibility of private method via anonymous classes fixed 2014-05-22 20:45:56 +04:00
Anna Kozlova d83af543fc accept raw substitutors during diamonds inference (IDEA-124836) 2014-05-07 15:35:58 +04:00
Anna Kozlova baccb31d7e diamonds: resolve conflicts based on type params from constructor and containing class (IDEA-123518) 2014-04-25 18:38:39 +02:00
Anna Kozlova 4686315880 A class may not at the same time be a subtype of two interface types which are different parameterizations of the same generic interface(IDEA-122475); revert workarounds for javac 6 bug 2014-03-20 20:05:27 +01:00
Anna Kozlova 5461aa27e4 IDEA-122519 No enclosing instance of type XXX in scope 2014-03-20 15:25:53 +01:00
Anna Kozlova 8d0a07976b unused symbol: should not apply to the public constructors of Externalizable classes (IDEA-120639 ) 2014-03-19 11:02:31 +01:00
Roman Shevchenko fb7c097c90 IDEA-121834 (generic exception substituted) 2014-03-11 15:05:52 +01:00
Roman Shevchenko b9b76dca15 java: type annotations 2014-03-04 10:53:04 +01:00
Anna Kozlova 80c776355c testdata fixed 2014-02-27 21:02:58 +01:00
Anna Kozlova 7a9bf2ac51 reject 1.7 varargs hack as 1.8 reject the code again even with target 1.7 2014-02-24 20:35:44 +01:00
Alexey Kudravtsev c7b78f76a2 IDEA-120784 "Class is public should be declared in a file named <Classname>.java" for inner interface 2014-02-18 13:55:52 +04:00
Alexey Kudravtsev ad661d92e4 correct level in highlighting:
highlight element X only when visiting X or its ascendant
2014-02-10 20:03:58 +04:00
Bas Leijdekkers 03e63d75d3 IDEA-115034 (Good code red: hex float zero) 2013-10-17 13:43:52 +02:00
Mike Strobel fbc3d18f9e IDEA-111450 false positive for "Redundant type cast" inspection 2013-09-12 21:43:10 +04:00
Anna Kozlova e006534d08 moreSpecific cleanup 2013-08-15 17:38:03 +04:00
Anna Kozlova 397c637699 testdata for IDEA-57633 2013-08-15 13:49:58 +04:00
Anna Kozlova 230c6fd84b moreSpecific: use site info to check assignability, prefer concrete to abstract methods (IDEA-57569) 2013-08-15 13:49:57 +04:00
Anna Kozlova 3f49bd2d73 moreSpecific: check erased signatures when comparing interface methods (IDEA-67519) 2013-08-15 13:49:51 +04:00
Anna Kozlova 215cfff69c prefer generics to raw when more specific was not detected (IDEA-67576) 2013-08-15 13:49:50 +04:00
Anna Kozlova c5e3693ce2 testdata for IDEA-67836 2013-08-15 13:49:49 +04:00
Anna Kozlova 47220fd160 moreSpecific simplification, include complete check for inferred types in MethodCandidateInfo.isApplicable 2013-08-15 13:49:47 +04:00
anna 50ac56862b fix testdata 2013-08-05 21:41:29 +02:00
anna 867d5f227d least upper bound for primitive arrays fixed (IDEA-111420) 2013-08-05 18:16:25 +02:00
anna 30dce02dfc primitive/class conversions are available since language level 1.5 (IDEA-111451) 2013-08-05 18:16:24 +02:00
anna 8df5997677 visibility with anonymous classes fixed 2013-05-13 17:02:53 +02:00
anna 5b572ae4a5 private method is not available from anonymous class via this (IDEA-78916) 2013-05-08 19:43:51 +02:00
anna 05ebdc5e5b testdata for IDEA-62056 2013-05-03 13:30:06 +02:00
anna ad5f3cbab1 testdata for IDEA-63731 2013-05-03 13:30:04 +02:00
anna 8c3496ee2d testdata for IDEA-70890 2013-05-03 13:30:03 +02:00
anna 1e4fcaaabd testdata for IDEA-67841 2013-05-02 14:53:01 +02:00
anna d49391b689 generics: do not prefer type with more bounds when additional bounds are just subtypes of the rest, discard unchecked conversion (IDEA-67669) 2013-04-30 18:12:22 +02:00
anna 0624cad67f testdata for IDEA-67671 2013-04-30 18:12:21 +02:00
anna 4e3928010b generics: choose least bound symmetric (IDEA-57500) 2013-04-30 18:12:19 +02:00
anna 504c2c3867 generics: do not prefer type with more bounds when additional bounds are just subtypes of the rest (IDEA-67668) 2013-04-30 18:12:19 +02:00
anna ae8ab9589e IDEA-103758 2013-04-05 17:02:57 +02:00
anna c14be903d9 constant expressions check: discard polyadic expressions of non-primitive/Strings types (IDEA-104347) 2013-04-03 10:52:04 +02:00
anna 09f4a50b16 prevent diamonds in reference parameter list other than <> -> invalid PsiDiamondType in substitutors
(cherry picked from commit 4f7cc7a)
2013-03-27 19:02:35 +01:00
Roman Shevchenko 992d208806 IDEA-103576 (correct processing of unhandled multi-catch exceptions) 2013-03-24 11:24:52 +01:00
Roman Shevchenko 2ab88505d2 Annotation applicability highlighting reworked 2013-03-13 10:23:19 +01:00
anna fcd09e4b99 reject type args for constructor of a class without type params (IDEA-102239) 2013-03-01 20:05:18 +01:00
anna 985efd2362 more specific method should be chosen before static access is checked (IDEA-101480) 2013-02-21 15:23:11 +01:00
anna e869310a92 ambiguous method call: choose one method if both are from the same hierarchy as the actual problem is there (IDEA-101529) 2013-02-21 15:23:10 +01:00
anna f9565522cb split tests according to expected language level 2013-02-08 11:34:24 +01:00
Anna Kozlova 68f7ee96f7 java8: static method with body is allowed in interface (IDEA-100334) 2013-02-04 14:07:09 +04:00