Mark experimental methods

This commit is contained in:
JeremyStar™ 2024-07-11 22:07:04 +02:00
parent 2b83a1885e
commit a02011816b
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
2 changed files with 7 additions and 0 deletions

View file

@ -25,6 +25,7 @@ import de.staropensource.sosengine.base.types.DependencyVector;
import de.staropensource.sosengine.base.types.immutable.ImmutableArrayList;
import de.staropensource.sosengine.base.types.immutable.ImmutableLinkedList;
import lombok.Getter;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
import java.util.*;
@ -260,6 +261,7 @@ public final class DependencyResolver {
* @throws IllegalStateException when the current dependency vector list has not been resolved yet. in this case, just invoke {@code resolve()}
* @since 1-alpha1
*/
@ApiStatus.Experimental() // TODO
public LinkedList<DependencyVector> getOrder() throws IllegalStateException {
if (!resolved)
throw new IllegalStateException("The current dependency vector list has not been resolved yet");

View file

@ -19,6 +19,7 @@
package de.staropensource.sosengine.base.utility;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
import java.util.Arrays;
@ -45,6 +46,7 @@ public final class ListFormatter {
* @param array array to convert
* @return formatted string
*/
@ApiStatus.Experimental() // TODO
@NotNull
public static String formatArray(@NotNull Object[] array) {
return Arrays.toString(array);
@ -56,6 +58,7 @@ public final class ListFormatter {
* @param set set to convert
* @return formatted string
*/
@ApiStatus.Experimental() // TODO
@NotNull
public static String formatSet(@NotNull Set<?> set) {
return set.toString();
@ -67,6 +70,7 @@ public final class ListFormatter {
* @param list list to convert
* @return formatted string
*/
@ApiStatus.Experimental() // TODO
@NotNull
public static String formatList(@NotNull List<?> list) {
return list.toString();
@ -78,6 +82,7 @@ public final class ListFormatter {
* @param map map to convert
* @return formatted string
*/
@ApiStatus.Experimental() // TODO
@NotNull
public static String formatMap(@NotNull Map<?, ?> map) {
return map.toString();