-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dependency.java
30 lines (28 loc) · 968 Bytes
/
Dependency.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
*
* Copyright (C) 2022 Vasiliy Petukhov <[email protected]>
*
* Everyone is permitted to copy and distribute verbatim or modified
* copies of this license document, and changing it is allowed as long
* as the name is changed.
*
* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
* TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
*
* 0. You just DO WHAT THE FUCK YOU WANT TO.
*/
package voidpointer.spigot.framework.di;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Dependency {
/**
* An identifier if you have multiple objects with the same name.
* If not set {@link Class#getName()} will be used to identify.
*/
String id() default "";
}