Change enum entry resolution strategy in JDR

Enum entry is now resolved into a class with a class object, which inherits
from the former class, as in the other parts of the compiler. Create a special
class EnumEntrySyntheticClassDescriptor which will be reused in deserialization
later
This commit is contained in:
Alexander Udalov
2013-11-13 20:32:28 +04:00
parent 57678a5506
commit 83ef095093
14 changed files with 482 additions and 118 deletions

View File

@@ -1,6 +1,5 @@
package test;
//TODO: move to LoadJavaTestGenerated when possible
public enum JavaEnum {
ENTRY,
ANOTHER;