diff --git a/deob/src/main/java/dev/openrs2/deob/transform/StaticScramblingTransformer.kt b/deob/src/main/java/dev/openrs2/deob/transform/StaticScramblingTransformer.kt index 3295cd51aa..5fb2696bf4 100644 --- a/deob/src/main/java/dev/openrs2/deob/transform/StaticScramblingTransformer.kt +++ b/deob/src/main/java/dev/openrs2/deob/transform/StaticScramblingTransformer.kt @@ -1,5 +1,6 @@ package dev.openrs2.deob.transform +import com.github.michaelbull.logging.InlineLogger import dev.openrs2.asm.ClassVersionUtils import dev.openrs2.asm.MemberRef import dev.openrs2.asm.classpath.ClassPath @@ -202,7 +203,12 @@ class StaticScramblingTransformer : Transformer() { return false } + override fun postTransform(classPath: ClassPath) { + logger.info { "Moved ${fieldClasses.size} fields and ${methodClasses.size} methods" } + } + companion object { + private val logger = InlineLogger() private const val MAX_FIELDS_AND_METHODS = 500 } }