Fix @since tags

This commit is contained in:
JeremyStar™ 2024-09-22 13:48:33 +02:00
parent b26517958a
commit 38d8deefa7
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
7 changed files with 12 additions and 12 deletions

View file

@ -143,7 +143,7 @@ public final class EngineConfiguration extends Configuration {
* *
* @return variable value * @return variable value
* @see #initialPerformSubsystemInitialization * @see #initialPerformSubsystemInitialization
* @since v1-alpha2 * @since v1-alpha5
*/ */
private boolean initialPerformSubsystemInitialization; private boolean initialPerformSubsystemInitialization;

View file

@ -200,7 +200,7 @@ public final class EngineInternals {
* @throws IllegalAccessException when restricted ({@link InternalAccessArea#REFLECTIVE_CLASSPATH_SCANNING_GET}) * @throws IllegalAccessException when restricted ({@link InternalAccessArea#REFLECTIVE_CLASSPATH_SCANNING_GET})
* @see EventHelper#registerEvent(Class, EventListenerCode) * @see EventHelper#registerEvent(Class, EventListenerCode)
* @see EventHelper#registerEvent(Class, EventListenerCode, EventPriority) * @see EventHelper#registerEvent(Class, EventListenerCode, EventPriority)
* @since v1-alpha4 * @since v1-alpha5
*/ */
public boolean getReflectiveClasspathScanning() throws IllegalAccessException { public boolean getReflectiveClasspathScanning() throws IllegalAccessException {
isRestricted(InternalAccessArea.REFLECTIVE_CLASSPATH_SCANNING_GET); isRestricted(InternalAccessArea.REFLECTIVE_CLASSPATH_SCANNING_GET);
@ -225,7 +225,7 @@ public final class EngineInternals {
* @throws IllegalAccessException when restricted ({@link InternalAccessArea#REFLECTIVE_CLASSPATH_SCANNING_OVERRIDE}) * @throws IllegalAccessException when restricted ({@link InternalAccessArea#REFLECTIVE_CLASSPATH_SCANNING_OVERRIDE})
* @see EventHelper#registerEvent(Class, EventListenerCode) * @see EventHelper#registerEvent(Class, EventListenerCode)
* @see EventHelper#registerEvent(Class, EventListenerCode, EventPriority) * @see EventHelper#registerEvent(Class, EventListenerCode, EventPriority)
* @since v1-alpha0 * @since v1-alpha5
*/ */
public void overrideReflectiveClasspathScanning(boolean reflectiveClasspathScanning) throws IllegalAccessException { public void overrideReflectiveClasspathScanning(boolean reflectiveClasspathScanning) throws IllegalAccessException {
isRestricted(InternalAccessArea.REFLECTIVE_CLASSPATH_SCANNING_OVERRIDE); isRestricted(InternalAccessArea.REFLECTIVE_CLASSPATH_SCANNING_OVERRIDE);

View file

@ -24,13 +24,14 @@ import org.jetbrains.annotations.NotNull;
/** /**
* Thrown when a method could not be found due to an invalid method signature. * Thrown when a method could not be found due to an invalid method signature.
* *
* @since v1-alpha2 * @since v1-alpha5
*/ */
public class InvalidMethodSignatureException extends Exception { public class InvalidMethodSignatureException extends Exception {
/** /**
* Constructs this exception. * Constructs this exception.
* *
* @param methodName method name * @param methodName method name
* @since v1-alpha5
*/ */
public InvalidMethodSignatureException(@NotNull String methodName) { public InvalidMethodSignatureException(@NotNull String methodName) {
super("Method " + methodName + " has a different method signature"); super("Method " + methodName + " has a different method signature");

View file

@ -31,13 +31,13 @@ import java.lang.reflect.Method;
/** /**
* Interface specifically for executing event listener methods. * Interface specifically for executing event listener methods.
* *
* @since v1-alpha0 * @since v1-alpha5
*/ */
public final class EventListenerMethod extends EventListenerCode { public final class EventListenerMethod extends EventListenerCode {
/** /**
* Contains the method to call and get. * Contains the method to call and get.
* *
* @since v1-alpha0 * @since v1-alpha5
*/ */
private final @NotNull ReflectionMethod method; private final @NotNull ReflectionMethod method;
@ -45,7 +45,7 @@ public final class EventListenerMethod extends EventListenerCode {
* Constructs this class. * Constructs this class.
* *
* @param method method to execute * @param method method to execute
* @since v1-alpha0 * @since v1-alpha5
*/ */
public EventListenerMethod(@NotNull Method method) { public EventListenerMethod(@NotNull Method method) {
this.method = Reflect.reflectOn(method); this.method = Reflect.reflectOn(method);
@ -65,7 +65,7 @@ public final class EventListenerMethod extends EventListenerCode {
* @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)
* @since v1-alpha0 * @since v1-alpha5
*/ */
public <T extends Annotation> @Nullable T getAnnotation(@NotNull Class<T> annotation) { public <T extends Annotation> @Nullable T getAnnotation(@NotNull Class<T> annotation) {
try { try {

View file

@ -20,6 +20,6 @@
/** /**
* Interfaces and abstract classes which can be used for implementing classes. * Interfaces and abstract classes which can be used for implementing classes.
* *
* @since v1-alpha0 * @since v1-alpha5
*/ */
package de.staropensource.sosengine.base.internal.implementation; package de.staropensource.sosengine.base.internal.implementation;

View file

@ -351,7 +351,7 @@ public final class ReflectionMethod {
* @throws InvocationTargetException covers exceptions thrown by the method * @throws InvocationTargetException covers exceptions thrown by the method
* @throws InstanceMethodFromStaticContextException when the target method is non-static and called from a static context * @throws InstanceMethodFromStaticContextException when the target method is non-static and called from a static context
* @throws StaticInitializerException when an the static initializer fails * @throws StaticInitializerException when an the static initializer fails
* @since v1-alpha2 * @since v1-alpha5
*/ */
public @Nullable Object invoke(Object... args) throws NoAccessException, InvalidMethodSignatureException, InvocationTargetException, InstanceMethodFromStaticContextException, StaticInitializerException { public @Nullable Object invoke(Object... args) throws NoAccessException, InvalidMethodSignatureException, InvocationTargetException, InstanceMethodFromStaticContextException, StaticInitializerException {
Object returnValue; Object returnValue;

View file

@ -2,11 +2,10 @@
* The sos!engine test application, used by engine developers to test their changes. * The sos!engine test application, used by engine developers to test their changes.
* This module is very uninteresting for non-engine developers. * This module is very uninteresting for non-engine developers.
* *
* @since v1-alpha1 * @since v1-alpha5
*/ */
open module sosengine.testapp { open module sosengine.testapp {
// Dependencies // Dependencies
// -> Engine // -> Engine
requires sosengine.windowing; requires sosengine.windowing;
// -> Libraries
} }