-
@Retention(RUNTIME) @Target(TYPE) public @interface Depend
The depend system use. If the condition is met then the class will load.- 从以下版本开始:
- 2.2
-
-
元素详细资料
-
value
String value
The name of depend.- 返回:
- The name.
-
-
-
version
String version
- 默认值:
- ""
-
-
-
compare
int compare
The compare type will use.type action -1 Requires dependencies before this release(including this release) -2 Requires dependencies before this release (not including this version) 0 Requires dependencies with this release (only this version) 1 Requires dependencies after this release(including this release) 2 Requires dependencies after this release(not including this release) - 返回:
- The compare type
- 默认值:
- 0
-
-