Fix @since tags
This commit is contained in:
parent
b26517958a
commit
465fc894d2
7 changed files with 12 additions and 12 deletions
|
@ -143,7 +143,7 @@ public final class EngineConfiguration extends Configuration {
|
|||
*
|
||||
* @return variable value
|
||||
* @see #initialPerformSubsystemInitialization
|
||||
* @since v1-alpha2
|
||||
* @since v1-alpha5
|
||||
*/
|
||||
private boolean initialPerformSubsystemInitialization;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue