com.blade.ioc.annotation.InjectWith Maven / Gradle / Ivy
package com.blade.ioc.annotation;
import com.blade.ioc.Injector;
import java.lang.annotation.*;
/**
* 凡是标注了 InjectFieldWith 的第三方 Annotation,就被允许进行自定义注入字段
*/
@Target(ElementType.ANNOTATION_TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface InjectWith {
Class extends Injector> value();
}