forked from StarOpenSource/Engine
Fix Javadoc API generation warnings and errors
This commit is contained in:
parent
a9125c9bea
commit
796eb9c8f9
3 changed files with 11 additions and 0 deletions
|
@ -41,10 +41,18 @@ public abstract class EventListenerCode {
|
||||||
*/
|
*/
|
||||||
public @NotNull EventPriority priority = EventPriority.DEFAULT;
|
public @NotNull EventPriority priority = EventPriority.DEFAULT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs this class.
|
||||||
|
*
|
||||||
|
* @since v1-alpha5
|
||||||
|
*/
|
||||||
|
public EventListenerCode() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Invokes the event listener.
|
* Invokes the event listener.
|
||||||
*
|
*
|
||||||
* @param arguments arguments passed along by the event
|
* @param arguments arguments passed along by the event
|
||||||
|
* @throws Exception exceptions thrown
|
||||||
* @since v1-alpha5
|
* @since v1-alpha5
|
||||||
*/
|
*/
|
||||||
public abstract void run(Object... arguments) throws Exception;
|
public abstract void run(Object... arguments) throws Exception;
|
||||||
|
|
|
@ -44,6 +44,7 @@ public final class EventListenerMethod extends EventListenerCode {
|
||||||
/**
|
/**
|
||||||
* Constructs this class.
|
* Constructs this class.
|
||||||
*
|
*
|
||||||
|
* @param method method to execute
|
||||||
* @since v1-alpha0
|
* @since v1-alpha0
|
||||||
*/
|
*/
|
||||||
public EventListenerMethod(@NotNull Method method) {
|
public EventListenerMethod(@NotNull Method method) {
|
||||||
|
@ -60,6 +61,7 @@ public final class EventListenerMethod extends EventListenerCode {
|
||||||
* Forwards {@link ReflectionMethod#getAnnotation(Class)}
|
* Forwards {@link ReflectionMethod#getAnnotation(Class)}
|
||||||
* to the internal {@link ReflectionMethod} instance.
|
* to the internal {@link ReflectionMethod} instance.
|
||||||
*
|
*
|
||||||
|
* @param <T> annotation
|
||||||
* @param annotation annotation to get
|
* @param annotation annotation to get
|
||||||
* @return annotation or {@code null} on error
|
* @return annotation or {@code null} on error
|
||||||
* @see ReflectionMethod#getAnnotation(Class)
|
* @see ReflectionMethod#getAnnotation(Class)
|
||||||
|
|
|
@ -52,6 +52,7 @@ public enum Tristate {
|
||||||
/**
|
/**
|
||||||
* Converts the {@link Boolean} into a {@link Tristate}.
|
* Converts the {@link Boolean} into a {@link Tristate}.
|
||||||
*
|
*
|
||||||
|
* @param bool boolean to convert
|
||||||
* @return tristated boolean
|
* @return tristated boolean
|
||||||
* @since v1-alpha5
|
* @since v1-alpha5
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue