injector: support hooking to methods
This commit is contained in:
@@ -30,7 +30,7 @@ import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.FIELD)
|
||||
@Target({ElementType.FIELD, ElementType.METHOD})
|
||||
public @interface Hook
|
||||
{
|
||||
String value();
|
||||
|
||||
Reference in New Issue
Block a user