com.flyjingfish.android_aop_plugin.scanner_visitor.ClassSuperScanner.kt Maven / Gradle / Ivy
package com.flyjingfish.android_aop_plugin.scanner_visitor
import com.flyjingfish.android_aop_plugin.beans.ClassSuperInfo
import com.flyjingfish.android_aop_plugin.utils.WovenInfoUtils.addClassSuper
import org.objectweb.asm.ClassVisitor
import org.objectweb.asm.Opcodes
class ClassSuperScanner(private val fileClass:String) : ClassVisitor(Opcodes.ASM9) {
override fun visit(
version: Int,
access: Int,
name: String,
signature: String?,
superName: String?,
interfaces: Array?
) {
super.visit(version, access, name, signature, superName, interfaces)
addClassSuper(fileClass,ClassSuperInfo(name, superName, interfaces))
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy