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
* @see #initialPerformSubsystemInitialization
* @since v1-alpha2
* @since v1-alpha5
*/
private boolean initialPerformSubsystemInitialization;

View file

@ -200,7 +200,7 @@ public final class EngineInternals {
* @throws IllegalAccessException when restricted ({@link InternalAccessArea#REFLECTIVE_CLASSPATH_SCANNING_GET})
* @see EventHelper#registerEvent(Class, EventListenerCode)
* @see EventHelper#registerEvent(Class, EventListenerCode, EventPriority)
* @since v1-alpha4
* @since v1-alpha5
*/
public boolean getReflectiveClasspathScanning() throws IllegalAccessException {
isRestricted(InternalAccessArea.REFLECTIVE_CLASSPATH_SCANNING_GET);
@ -225,7 +225,7 @@ public final class EngineInternals {
* @throws IllegalAccessException when restricted ({@link InternalAccessArea#REFLECTIVE_CLASSPATH_SCANNING_OVERRIDE})
* @see EventHelper#registerEvent(Class, EventListenerCode)
* @see EventHelper#registerEvent(Class, EventListenerCode, EventPriority)
* @since v1-alpha0
* @since v1-alpha5
*/
public void overrideReflectiveClasspathScanning(boolean reflectiveClasspathScanning) throws IllegalAccessException {
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.
*
* @since v1-alpha2
* @since v1-alpha5
*/
public class InvalidMethodSignatureException extends Exception {
/**
* Constructs this exception.
*
* @param methodName method name
* @since v1-alpha5
*/
public InvalidMethodSignatureException(@NotNull String methodName) {
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.
*
* @since v1-alpha0
* @since v1-alpha5
*/
public final class EventListenerMethod extends EventListenerCode {
/**
* Contains the method to call and get.
*
* @since v1-alpha0
* @since v1-alpha5
*/
private final @NotNull ReflectionMethod method;
@ -45,7 +45,7 @@ public final class EventListenerMethod extends EventListenerCode {
* Constructs this class.
*
* @param method method to execute
* @since v1-alpha0
* @since v1-alpha5
*/
public EventListenerMethod(@NotNull Method method) {
this.method = Reflect.reflectOn(method);
@ -65,7 +65,7 @@ public final class EventListenerMethod extends EventListenerCode {
* @param annotation annotation to get
* @return annotation or {@code null} on error
* @see ReflectionMethod#getAnnotation(Class)
* @since v1-alpha0
* @since v1-alpha5
*/
public <T extends Annotation> @Nullable T getAnnotation(@NotNull Class<T> annotation) {
try {

View file

@ -20,6 +20,6 @@
/**
* Interfaces and abstract classes which can be used for implementing classes.
*
* @since v1-alpha0
* @since v1-alpha5
*/
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 InstanceMethodFromStaticContextException when the target method is non-static and called from a static context
* @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 {
Object returnValue;

View file

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