Skip to content
Snippets Groups Projects
Commit 44bd863d authored by bajuglair's avatar bajuglair
Browse files

Remove unsupported annotation Targets.

parent f2ae781f
Branches main
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Injectable annotation
*/
@Target({ METHOD, CONSTRUCTOR, FIELD })
@Target({ FIELD })
@Retention(RUNTIME)
@Documented
public @interface Autowired {
......
......@@ -10,7 +10,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Specify type to inject
*/
@Target({ METHOD, CONSTRUCTOR, FIELD })
@Target({ FIELD })
@Retention(RUNTIME)
@Documented
public @interface Tag {
......
......@@ -10,7 +10,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Unique injection required
*/
@Target({ METHOD, CONSTRUCTOR, FIELD })
@Target({ FIELD })
@Retention(RUNTIME)
@Documented
public @interface Unique {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment