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

io.github.xtherk.bytehook.HookEndpoint Maven / Gradle / Ivy

package io.github.xtherk.bytehook;

import java.lang.annotation.*;


/**
 * @author xtherk
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
public @interface HookEndpoint {

    /**
     * Class that needs to be hooked.
     *
     * 

To obtain an inner class, use "$" instead of "." for separating * the enclosing class name and the inner class name.

* * @return a fully-qualified class name */ String clazz(); /** * It is used to locate the method that requires hook. * * @return method descriptor */ String desc() default ""; /** * @return Hook target method behavior. */ Behavior behavior() default Behavior.SET; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy