]> git.somenet.org - pub/jan/dst18.git/blob - ass2-di/src/main/java/dst/ass2/di/annotation/Inject.java
[2.3.2] Logging aspect done.
[pub/jan/dst18.git] / ass2-di / src / main / java / dst / ass2 / di / annotation / Inject.java
1 package dst.ass2.di.annotation;
2
3 import java.lang.annotation.ElementType;
4 import java.lang.annotation.Retention;
5 import java.lang.annotation.RetentionPolicy;
6 import java.lang.annotation.Target;
7
8 @Retention(RetentionPolicy.RUNTIME)
9 @Target(ElementType.FIELD)
10 public @interface Inject {
11     boolean required() default true;
12
13     Class<?> specificType() default Void.class;
14 }