unification of codegen for singletons between object declarations, classobjects and const closures

This commit is contained in:
Alex Tkachman
2012-09-15 22:54:38 +03:00
parent f8983d8516
commit 99196c187b
7 changed files with 35 additions and 58 deletions
@@ -31,6 +31,8 @@ public class JvmAbi {
public static final String CLASS_OBJECT_CLASS_NAME = "ClassObject$";
public static final String CLASS_OBJECT_SUFFIX = "$" + CLASS_OBJECT_CLASS_NAME;
public static final String INSTANCE_FIELD = "$instance";
public static final JvmClassName JETBRAINS_NOT_NULL_ANNOTATION =
JvmClassName.byFqNameWithoutInnerClasses("org.jetbrains.annotations.NotNull");