Fix Javadoc API generation warnings and errors
All checks were successful
build-and-test / build (push) Successful in 1m27s
build-and-test / test (push) Successful in 1m23s
build-and-test / generate-javadoc (push) Successful in 1m36s

This commit is contained in:
JeremyStar™ 2024-09-21 21:01:57 +02:00
parent a9125c9bea
commit 796eb9c8f9
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
3 changed files with 11 additions and 0 deletions

View file

@ -41,10 +41,18 @@ public abstract class EventListenerCode {
*/
public @NotNull EventPriority priority = EventPriority.DEFAULT;
/**
* Constructs this class.
*
* @since v1-alpha5
*/
public EventListenerCode() {}
/**
* Invokes the event listener.
*
* @param arguments arguments passed along by the event
* @throws Exception exceptions thrown
* @since v1-alpha5
*/
public abstract void run(Object... arguments) throws Exception;

View file

@ -44,6 +44,7 @@ public final class EventListenerMethod extends EventListenerCode {
/**
* Constructs this class.
*
* @param method method to execute
* @since v1-alpha0
*/
public EventListenerMethod(@NotNull Method method) {
@ -60,6 +61,7 @@ public final class EventListenerMethod extends EventListenerCode {
* Forwards {@link ReflectionMethod#getAnnotation(Class)}
* to the internal {@link ReflectionMethod} instance.
*
* @param <T> annotation
* @param annotation annotation to get
* @return annotation or {@code null} on error
* @see ReflectionMethod#getAnnotation(Class)

View file

@ -52,6 +52,7 @@ public enum Tristate {
/**
* Converts the {@link Boolean} into a {@link Tristate}.
*
* @param bool boolean to convert
* @return tristated boolean
* @since v1-alpha5
*/