Mark getDependencyVector with @NotNull
This commit is contained in:
parent
8d9e1db8f2
commit
4d462d65f4
6 changed files with 10 additions and 0 deletions
|
@ -353,6 +353,7 @@ public final class Engine implements SubsystemMainClass {
|
||||||
* @see DependencyVector
|
* @see DependencyVector
|
||||||
* @since 1-alpha1
|
* @since 1-alpha1
|
||||||
*/
|
*/
|
||||||
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
public DependencyVector getDependencyVector() {
|
public DependencyVector getDependencyVector() {
|
||||||
return new DependencyVector("engine", StarOpenSourceVersioningSystem.class, EngineInformation.getVersioningString());
|
return new DependencyVector("engine", StarOpenSourceVersioningSystem.class, EngineInformation.getVersioningString());
|
||||||
|
|
|
@ -24,6 +24,7 @@ import de.staropensource.sosengine.base.annotations.EventListener;
|
||||||
import de.staropensource.sosengine.base.internal.events.InternalEngineShutdownEvent;
|
import de.staropensource.sosengine.base.internal.events.InternalEngineShutdownEvent;
|
||||||
import de.staropensource.sosengine.base.logging.LoggerInstance;
|
import de.staropensource.sosengine.base.logging.LoggerInstance;
|
||||||
import de.staropensource.sosengine.base.types.dependency.DependencyVector;
|
import de.staropensource.sosengine.base.types.dependency.DependencyVector;
|
||||||
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The interface for engine subsystem main classes.
|
* The interface for engine subsystem main classes.
|
||||||
|
@ -53,6 +54,7 @@ public interface SubsystemMainClass {
|
||||||
* @see DependencyVector
|
* @see DependencyVector
|
||||||
* @since 1-alpha1
|
* @since 1-alpha1
|
||||||
*/
|
*/
|
||||||
|
@NotNull
|
||||||
DependencyVector getDependencyVector();
|
DependencyVector getDependencyVector();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -36,6 +36,7 @@ import de.staropensource.sosengine.graphics.classes.ApiManagementClass;
|
||||||
import de.staropensource.sosengine.graphics.events.GraphicsApiErrorEvent;
|
import de.staropensource.sosengine.graphics.events.GraphicsApiErrorEvent;
|
||||||
import de.staropensource.sosengine.graphics.opengl.events.GraphicsErrorEvent;
|
import de.staropensource.sosengine.graphics.opengl.events.GraphicsErrorEvent;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
|
import org.jetbrains.annotations.NotNull;
|
||||||
import org.lwjgl.glfw.GLFWErrorCallback;
|
import org.lwjgl.glfw.GLFWErrorCallback;
|
||||||
import org.lwjgl.system.MemoryUtil;
|
import org.lwjgl.system.MemoryUtil;
|
||||||
|
|
||||||
|
@ -198,6 +199,7 @@ public final class OpenGlSubsystem implements ApiMainClass {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
public DependencyVector getDependencyVector() {
|
public DependencyVector getDependencyVector() {
|
||||||
return new DependencyVector("opengl", StarOpenSourceVersioningSystem.class, EngineInformation.getVersioningString());
|
return new DependencyVector("opengl", StarOpenSourceVersioningSystem.class, EngineInformation.getVersioningString());
|
||||||
|
|
|
@ -148,6 +148,7 @@ public final class GraphicsSubsystem implements SubsystemMainClass {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
public DependencyVector getDependencyVector() {
|
public DependencyVector getDependencyVector() {
|
||||||
return new DependencyVector("graphics", StarOpenSourceVersioningSystem.class, EngineInformation.getVersioningString());
|
return new DependencyVector("graphics", StarOpenSourceVersioningSystem.class, EngineInformation.getVersioningString());
|
||||||
|
|
|
@ -34,6 +34,7 @@ import de.staropensource.sosengine.graphics.classes.ApiMainClass;
|
||||||
import de.staropensource.sosengine.graphics.classes.ApiManagementClass;
|
import de.staropensource.sosengine.graphics.classes.ApiManagementClass;
|
||||||
import de.staropensource.sosengine.graphics.vulkan.events.GraphicsErrorEvent;
|
import de.staropensource.sosengine.graphics.vulkan.events.GraphicsErrorEvent;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
|
import org.jetbrains.annotations.NotNull;
|
||||||
import org.lwjgl.glfw.GLFWErrorCallback;
|
import org.lwjgl.glfw.GLFWErrorCallback;
|
||||||
|
|
||||||
import static org.lwjgl.glfw.GLFW.*;
|
import static org.lwjgl.glfw.GLFW.*;
|
||||||
|
@ -173,6 +174,7 @@ public final class VulkanSubsystem implements ApiMainClass {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
public DependencyVector getDependencyVector() {
|
public DependencyVector getDependencyVector() {
|
||||||
return new DependencyVector("vulkan", StarOpenSourceVersioningSystem.class, EngineInformation.getVersioningString());
|
return new DependencyVector("vulkan", StarOpenSourceVersioningSystem.class, EngineInformation.getVersioningString());
|
||||||
|
|
|
@ -30,6 +30,7 @@ import de.staropensource.sosengine.base.types.CodePart;
|
||||||
import de.staropensource.sosengine.base.types.dependency.DependencyVector;
|
import de.staropensource.sosengine.base.types.dependency.DependencyVector;
|
||||||
import de.staropensource.sosengine.base.utility.Miscellaneous;
|
import de.staropensource.sosengine.base.utility.Miscellaneous;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
|
import org.jetbrains.annotations.NotNull;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -79,6 +80,7 @@ public class Slf4jCompatibilitySubsystem implements SubsystemMainClass {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
public DependencyVector getDependencyVector() {
|
public DependencyVector getDependencyVector() {
|
||||||
return new DependencyVector("slf4j-compat", StarOpenSourceVersioningSystem.class, EngineInformation.getVersioningString());
|
return new DependencyVector("slf4j-compat", StarOpenSourceVersioningSystem.class, EngineInformation.getVersioningString());
|
||||||
|
|
Loading…
Reference in a new issue