@@ -0,0 +1,1313 @@
+package jadx.tests.integration.generics;%0A%0Aimport org.junit.jupiter.api.Test;%0A%0Aimport jadx.core.dex.nodes.ClassNode;%0Aimport jadx.tests.api.IntegrationTest;%0A%0Aimport static jadx.tests.api.utils.JadxMatchers.containsOne;%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0A%0Apublic class TestGenericsMthOverride extends IntegrationTest %7B%0A%0A%09public static class TestCls %7B%0A%09%09public interface I%3CX, Y%3E %7B%0A%09%09%09Y method(X x);%0A%09%09%7D%0A%0A%09%09public static class A%3CX, Y%3E implements I%3CX, Y%3E %7B%0A%09%09%09@Override%0A%09%09%09public Y method(X x) %7B%0A%09%09%09%09return null;%0A%09%09%09%7D%0A%09%09%7D%0A%0A%09%09public static class B%3CX, Y%3E implements I%3CX, Y%3E %7B%0A%09%09%09@Override%0A%09%09%09public Y method(Object x) %7B%0A%09%09%09%09return null;%0A%09%09%09%7D%0A%09%09%7D%0A%0A%09%09public static class C%3CX extends Exception, Y%3E implements I%3CX, Y%3E %7B%0A%09%09%09@Override%0A%09%09%09public Y method(Exception x) %7B%0A%09%09%09%09return null;%0A%09%09%09%7D%0A%09%09%7D%0A%0A%09%09public static class D%3CX, Y%3E implements I%3CX, Y%3E %7B%0A%09%09%09@Override%0A%09%09%09public Object method(Object x) %7B%0A%09%09%09%09return null;%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%0A%09@Test%0A%09public void test() %7B%0A%09%09ClassNode cls = getClassNode(TestCls.class);%0A%09%09String code = cls.getCode().toString();%0A%0A%09%09assertThat(code, containsOne(%22public Y method(X x) %7B%22));%0A%09%09assertThat(code, containsOne(%22public Y method(Object x) %7B%22));%0A%09%09assertThat(code, containsOne(%22public Y method(Exception x) %7B%22));%0A%09%09assertThat(code, containsOne(%22public Object method(Object x) %7B%22));%0A%09%7D%0A%7D%0A

check method override with generic arguments (#701)