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

com.github.bingoohuang.blackcat.instrument.callback.BlackcatJavaAgentInterceptorAdapter Maven / Gradle / Ivy

The newest version!
package com.github.bingoohuang.blackcat.instrument.callback;

import org.objectweb.asm.tree.ClassNode;
import org.objectweb.asm.tree.MethodNode;

public class BlackcatJavaAgentInterceptorAdapter extends BlackcatJavaAgentInterceptor {

    @Override
    public void init(String arg) {
    }

    @Override
    public boolean interceptClass(ClassNode classNode, String className) {
        return true;
    }

    @Override
    public boolean interceptMethod(ClassNode cn, MethodNode mn) {
        return true;
    }

    @Override
    protected void onStart(BlackcatMethodRt rt) {

    }

    @Override
    protected void onThrowableCaught(BlackcatMethodRt rt) {

    }

    @Override
    protected void onThrowableUncaught(BlackcatMethodRt rt) {

    }

    @Override
    protected void onFinish(BlackcatMethodRt rt) {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy