Commit Graph

42 Commits

Author SHA1 Message Date
Anna Kozlova
ea84b25cc5 unrelated defaults: ignore type parameters check for abstract methods only, leave as is for defaults 2016-03-11 10:04:22 +01:00
Anna Kozlova
9675e0248a unrelated defaults: don't check type parameters 2016-03-11 09:38:32 +01:00
Anna Kozlova
480658c12e unrelated defaults: adjust pattern in current class to super class substitution 2016-03-03 13:31:40 +01:00
Anna Kozlova
cbd7853f19 fix for default overriding abstract: missed substitutor 2016-02-26 16:06:22 +01:00
Anna Kozlova
99e4c75ee7 inherit unrelated abstract/default through hierarchy: don't merge methods with not override equivalent signatures (IDEA-146135) 2016-01-07 16:06:39 +01:00
Anna Kozlova
df3e5be8cb inherit unrelated abstract/default through hierarchy (IDEA-146070) 2016-01-07 16:06:39 +01:00
Anna Kozlova
a25cb73db1 inherit abstract/default when inheritor provides substitutor which makes 2 different methods in the super hierarchy override equivalent (IDEA-140490; IDEA-146056) 2016-01-07 16:06:39 +01:00
Anna Kozlova
2da2ff75fa don't reject static method of interfaces imported via static imports (IDEA-145504) 2015-09-25 15:43:09 +03:00
Anna Kozlova
8b322fadb7 static methods of interfaces: accept calls on type parameters with exact one interface bound (IDEA-145269) 2015-09-18 14:37:14 +03:00
Anna Kozlova
99a54a3e76 resolve/overload resolution: collect static methods of interface called on foreign class/instance but filter them out during overload resolution (IDEA-145187) 2015-09-17 13:42:45 +03:00
Anna Kozlova
14cfc1680c unrelated defaults false negative (IDEA-144518) 2015-08-31 19:09:55 +03:00
Anna Kozlova
8a9e5ae9db A.super.field should not accept super interface (IDEA-140646) 2015-07-07 18:18:30 +03:00
Anna Kozlova
6fd53851a0 report unrelated defaults when 2 default methods provided; abstract/default otherwise (IDEA-141714) 2015-06-23 12:05:22 +03:00
Anna Kozlova
2fc7821d06 forbid native in interfaces (IDEA-140491) 2015-05-20 13:49:49 +02:00
Anna Kozlova
4e9f79945c ensure static method inherit default if container classes are inheritors 2015-05-17 17:39:18 +02:00
Anna Kozlova
02e86e0ab9 static interface method: if called on wrong qualifier mark as static problem (IDEA-139651) 2015-04-28 13:04:57 +02:00
Anna Kozlova
502dd423d9 static interface method call: ignore static imports if call is qualified (IDEA-136077) 2015-02-11 19:05:40 +01:00
Anna Kozlova
3f940f370f reference to static method from interface: prefer static import context if provided (IDEA-130136) 2014-09-30 15:47:29 +02:00
Anna Kozlova
81fc7616bf forbid 'static'/'default' in annotation types 2014-08-18 14:35:59 +04:00
Anna Kozlova
5bf5dd0450 static methods in interfaces can't be hidden in subclasses (IDEA-124921) 2014-05-12 13:08:28 +04:00
Anna Kozlova
0d66941866 IDEA-123839: abstract&default combination 2014-04-11 17:06:07 +02:00
Anna Kozlova
5a0fe4306e check access class for super expressions referenced to interfaces 2014-04-09 19:27:20 +02:00
Anna Kozlova
39ec50333b testdata for IDEA-120498 2014-03-28 20:47:26 +01:00
Anna Kozlova
72203e26ef default methods: check for super class is now needed (IDEA-122720) 2014-03-26 18:54:39 +01:00
Anna Kozlova
cf066deca7 default methods: do not warn about protected methods from Object 2014-02-28 09:59:35 +01:00
Anna Kozlova
964fcf5994 java 8: final and default/static in interfaces 2014-02-20 22:40:18 +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
Anna Kozlova
6565df2bab untie static methods in interface hierarchy (IDEA-118577) 2013-12-23 16:44:50 +04:00
anna
ae7e30edee java 8: forbid super in static methods 2013-11-05 12:56:04 +01:00
anna
4a725b52b3 IDEA-115789 an interface inheriting a default method and an abstract method 2013-11-04 16:16:28 +01:00
anna
9ae4eced85 IDEA-115790 default methods cannot override Object methods 2013-11-04 16:16:27 +01:00
Anna Kozlova
8741f3f1d6 non-static members access from implicitly static context fixed (IDEA-108285) 2013-06-03 22:25:26 +04:00
Anna Kozlova
fb8144344c static interface methods: forbid on instance members, inheritors (IDEA-107794) 2013-05-30 15:46:53 +04:00
anna
11f81e0be7 accept this refs inside anonymous classes in java 8 interfaces (IDEA-105892) 2013-04-22 15:50:32 +02:00
Roman Shevchenko
54a7b4dc70 Deprecated extension method syntax dropped 2013-02-27 20:40:44 +01:00
anna
33a583584b do not apply substitutor twice (IDEA-101752) 2013-02-25 18:44:14 +01:00
anna
533ca9ace4 SAM: skip allowed static methods as they are not supposed to be overridden (IDEA-101403) 2013-02-19 12:54:36 +01:00
anna
1bc365756b fix method hierarchy with default methods: mark method to implement if it abstract and overrides default method (IDEA-101167) 2013-02-15 18:36:24 +01:00
Roman Shevchenko
6910c2e3ab Test fixed 2013-02-14 20:15:42 +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