@@ -0,0 +1,1143 @@
+package jadx.tests.integration.enums;%0A%0Aimport jadx.core.dex.nodes.ClassNode;%0Aimport jadx.tests.api.IntegrationTest;%0Aimport jadx.tests.api.utils.JadxMatchers;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.assertThat;%0A%0Apublic class TestEnumsInterface extends IntegrationTest %7B%0A%0A%09public static class TestCls %7B%0A%0A%09%09public enum Operation implements IOperation %7B%0A%09%09%09PLUS %7B%0A%09%09%09%09public int apply(int x, int y) %7B%0A%09%09%09%09%09return x + y;%0A%09%09%09%09%7D%0A%09%09%09%7D,%0A%09%09%09MINUS %7B%0A%09%09%09%09public int apply(int x, int y) %7B%0A%09%09%09%09%09return x - y;%0A%09%09%09%09%7D%0A%09%09%09%7D;%0A%09%09%7D%0A%0A%09%09public interface IOperation %7B%0A%09%09%09int apply(int x, int y);%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, JadxMatchers.containsLines(1,%0A%09%09%09%09%22public enum Operation implements IOperation %7B%22,%0A%09%09%09%09indent(1) + %22PLUS %7B%22,%0A%09%09%09%09indent(2) + %22public int apply(int x, int y) %7B%22,%0A%09%09%09%09indent(3) + %22return x + y;%22,%0A%09%09%09%09indent(2) + %22%7D%22,%0A%09%09%09%09indent(1) + %22%7D,%22,%0A%09%09%09%09indent(1) + %22MINUS %7B%22,%0A%09%09%09%09indent(2) + %22public int apply(int x, int y) %7B%22,%0A%09%09%09%09indent(3) + %22return x - y;%22,%0A%09%09%09%09indent(2) + %22%7D%22,%0A%09%09%09%09indent(1) + %22%7D%22,%0A%09%09%09%09%22%7D%22%0A%09%09));%0A%09%7D%0A%7D%0A

test enum implementing interface