Commit Graph

207 Commits

Author SHA1 Message Date
Anna Kozlova b0f1e6f2be determining enclosing instances for inner class instance creation expressions: accept all qualified super exprs, invalid are checked separately (IDEA-139880) 2015-05-11 18:04:31 +02:00
Anna Kozlova 4587a18b23 testdata fixed 2015-04-28 16:46:37 +02:00
Anna Kozlova 21f187bd44 separate capture conversion from substitution 2015-04-27 09:32:20 +02:00
Anna Kozlova 511a356788 reifiable types: ensure that generic types with only all type params as unbound wildcards are treated as reifiable (IDEA-139577) 2015-04-24 20:33:37 +02:00
Anna Kozlova 4597494195 import of inner classes through should get raw substitutor from outr class if applicable (IDEA-121166) 2015-03-20 21:09:04 +01:00
Anna Kozlova 6ad1810157 unchecked warning explanation (IDEA-126457) 2015-03-16 13:34:32 +01:00
Anna Kozlova d631901d7e distinguish capture in presentable text 2015-02-19 18:07:56 +01:00
Anna Kozlova e9beee7c66 warn when accessing static method of interfaces in language levels prior to 1.8 (IDEA-134814) 2014-12-29 18:57:41 +01:00
Anna Kozlova bcf0f87453 raw diamond substitution: infer Object for jdk < 1.8 (IDEA-133733) 2014-12-02 12:49:55 +01:00
Anna Kozlova cbd8be4b8e conflict resolution: missed null checks for diamonds non-physical static methods (IDEA-132534) 2014-11-07 11:57:07 +01:00
Anna Kozlova 6e4595e7bd capture getClass() method type (IDEA-130973) 2014-10-31 13:24:41 +01:00
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