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

io.github.lab515.utils.Interceptor Maven / Gradle / Ivy

There is a newer version: 1.0.12
Show newest version
package io.github.lab515.utils;

/**
 * the mode and behaviors is depends on return flags from preCall and postCall
 */
public interface Interceptor {
    int C_OVERWRITE = 1, C_STOP = 2, C_SKIP = 4; // precall overwrite
    // before the call
    boolean filterCall(Calling cl);
    // beginignig of call
    int preCall(Calling cl);
    // after call body
    int postCall(Calling cl);

    boolean withClass(String clsName);
    int withMethod(String clsName, String method, String desc, String annos);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy