Update events javadoc again

This commit is contained in:
JeremyStar™ 2024-06-12 16:32:51 +02:00
parent dba856281f
commit 4592fa0828
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
2 changed files with 5 additions and 3 deletions

View file

@ -187,6 +187,7 @@ public final class EngineConfiguration implements SubsystemConfiguration {
/**
* If enabled, will makes the {@link Logger} work asynchronous.
* Don't disable unless you want your application to run <b>extremely</b> slowly.
*
* @since 1-alpha0
*
@ -201,6 +202,7 @@ public final class EngineConfiguration implements SubsystemConfiguration {
/**
* If enabled, allows for {@link java.util.EventListener} precomputation.
* Don't disable unless you want your application to run slowly.
*
* @since 1-alpha0
*

View file

@ -108,7 +108,7 @@ public class EventHelper {
}
/**
* Returns all annotated methods.
* Returns all matching event listeners.
*
* @param clazz event class
* @return list of annotated methods
@ -120,7 +120,7 @@ public class EventHelper {
}
/**
* Invokes all annotated methods without any arguments.
* Invokes all matching event listeners without any arguments.
*
* @param clazz event class
* @since 1-alpha0
@ -139,7 +139,7 @@ public class EventHelper {
* Precomputes all event listeners listening on some event.
* Will recompute all event listeners if the specified event is already cached.
*
* @param clazz event class to (p)recompute, set to {@code null} to recompute all cached events
* @param clazz event listeners to (p)recompute, set to {@code null} to recompute all cached events
* @since 1-alpha0
*/
public static void precomputeEventListeners(@Nullable Class<? extends Event> clazz) {