add javadoc

This commit is contained in:
Eduard Heimbuch
2020-04-09 08:14:03 +02:00
parent e84d37b3bd
commit 64a699b050
2 changed files with 42 additions and 34 deletions

View File

@@ -34,5 +34,12 @@ import java.lang.annotation.Target;
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
public @interface Requires {
/**
* The annotated class is loaded only if all of the specified plugins are installed.
* The value has to be an array of string with the plugin names the class should depend on.
*
* @since 2.0.0
* @return list of required plugins to load this class
*/
String[] value();
}