injector: support hooking to methods

This commit is contained in:
Adam
2017-01-30 20:12:26 -05:00
parent fbff8ab9e9
commit 971a99b241

View File

@@ -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();