com.didichuxing.doraemonkit.plugin.transform.DoKitDependTransform.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dokitx-plugin Show documentation
Show all versions of dokitx-plugin Show documentation
DoKit is an efficiency platform for the entire life cycle of general front-end product research and development.
package com.didichuxing.doraemonkit.plugin.transform
import com.didichuxing.doraemonkit.plugin.asmtransformer.DoKitAsmTransformer
import com.didichuxing.doraemonkit.plugin.classtransformer.MSDClassTransformer
import com.didiglobal.booster.transform.Transformer
import org.gradle.api.Project
/**
* Represents the transform base
* DoKitCommTransform 作用于 CommTransformer、BigImgTransformer、UrlConnectionTransformer、GlobalSlowMethodTransformer
* @author johnsonlee
*/
open class DoKitDependTransform(androidProject: Project, private val level: Int) :
DoKitBaseTransform(androidProject) {
override val transformers = listOf(DoKitAsmTransformer(listOf(MSDClassTransformer(level))))
override fun getName(): String {
return "${this.javaClass.simpleName}_$level"
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy