All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.flyjingfish.android_aop_plugin.scanner_visitor.ClassSuperScanner.kt Maven / Gradle / Ivy

Go to download

Lightweight Aop for Android platform, you deserve it, action is worse than your heartbeat

There is a newer version: 2.2.8
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy