JVM IR: Refactor EnumClassLowering

This commit is contained in:
Steven Schäfer
2020-01-09 15:06:04 +01:00
committed by max-kammerer
parent b0e61ab470
commit 1b5109b6ee
2 changed files with 129 additions and 426 deletions
@@ -83,7 +83,7 @@ import static org.jetbrains.org.objectweb.asm.Opcodes.*;
import static org.jetbrains.org.objectweb.asm.Type.getObjectType;
public class ImplementationBodyCodegen extends ClassBodyCodegen {
private static final String ENUM_VALUES_FIELD_NAME = "$VALUES";
public static final String ENUM_VALUES_FIELD_NAME = "$VALUES";
private Type superClassAsmType;
@NotNull
private SuperClassInfo superClassInfo;