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