injector: support hooks on constructors

This commit is contained in:
Adam
2017-07-16 12:53:01 -04:00
parent d1bbc52bb4
commit ca32ec4502

View File

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