diff --git a/src/main/kotlin/net/fabricmc/loom/kotlin/remapping/KotlinClassMetadataRemappingAnnotationVisitor.kt b/src/main/kotlin/net/fabricmc/loom/kotlin/remapping/KotlinClassMetadataRemappingAnnotationVisitor.kt index 7618e778e..b0736b7c7 100644 --- a/src/main/kotlin/net/fabricmc/loom/kotlin/remapping/KotlinClassMetadataRemappingAnnotationVisitor.kt +++ b/src/main/kotlin/net/fabricmc/loom/kotlin/remapping/KotlinClassMetadataRemappingAnnotationVisitor.kt @@ -24,13 +24,13 @@ package net.fabricmc.loom.kotlin.remapping -import kotlin.metadata.jvm.KotlinClassMetadata -import kotlin.metadata.jvm.Metadata import org.objectweb.asm.AnnotationVisitor import org.objectweb.asm.Opcodes import org.objectweb.asm.commons.Remapper import org.objectweb.asm.tree.AnnotationNode import org.slf4j.LoggerFactory +import kotlin.metadata.jvm.KotlinClassMetadata +import kotlin.metadata.jvm.Metadata class KotlinClassMetadataRemappingAnnotationVisitor( private val remapper: Remapper, diff --git a/src/main/kotlin/net/fabricmc/loom/kotlin/remapping/KotlinClassRemapper.kt b/src/main/kotlin/net/fabricmc/loom/kotlin/remapping/KotlinClassRemapper.kt index 9548a2093..4cc9f42be 100644 --- a/src/main/kotlin/net/fabricmc/loom/kotlin/remapping/KotlinClassRemapper.kt +++ b/src/main/kotlin/net/fabricmc/loom/kotlin/remapping/KotlinClassRemapper.kt @@ -24,6 +24,7 @@ package net.fabricmc.loom.kotlin.remapping +import org.objectweb.asm.commons.Remapper import kotlin.metadata.ClassName import kotlin.metadata.ExperimentalContextReceivers import kotlin.metadata.KmAnnotation @@ -52,7 +53,6 @@ import kotlin.metadata.jvm.signature import kotlin.metadata.jvm.syntheticMethodForAnnotations import kotlin.metadata.jvm.syntheticMethodForDelegate import kotlin.metadata.jvm.toJvmInternalName -import org.objectweb.asm.commons.Remapper @OptIn(ExperimentalContextReceivers::class) class KotlinClassRemapper(private val remapper: Remapper) {