JVM IR: minor, fix enum lowering kdoc
invokedynamic-based logic was removed in 562b27db4e.
This commit is contained in:
committed by
Space Team
parent
081e006006
commit
449c866c7a
+2
-3
@@ -63,15 +63,14 @@ private class EnumClassLowering(private val context: JvmBackendContext) : ClassL
|
|||||||
* <clinit> {
|
* <clinit> {
|
||||||
* A = new MyEnum("A", 0);
|
* A = new MyEnum("A", 0);
|
||||||
* $VALUES = $values();
|
* $VALUES = $values();
|
||||||
* Function0<MyEnum[]> supplier = #invokedynamic ..args.. $entries;
|
* $ENTRIES = new EnumEntries($VALUES);
|
||||||
* $ENTRIES = new EnumEntriesList(supplier);
|
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* public static MyEnum[] values() {
|
* public static MyEnum[] values() {
|
||||||
* return $VALUES.clone();
|
* return $VALUES.clone();
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* // Should be RO property from Kotlin standpoint
|
* // Should be a read-only property from Kotlin's standpoint
|
||||||
* public static EnumEntries<MyEnum> getEntries() {
|
* public static EnumEntries<MyEnum> getEntries() {
|
||||||
* return $ENTRIES;
|
* return $ENTRIES;
|
||||||
* }
|
* }
|
||||||
|
|||||||
Reference in New Issue
Block a user