📚 Add since annotations to new classes

This commit is contained in:
Alexander Söderberg 2020-10-17 18:27:09 +02:00 committed by Alexander Söderberg
parent 8d69767c15
commit 1249b74e83
7 changed files with 9 additions and 0 deletions

View file

@ -29,6 +29,8 @@ import org.checkerframework.checker.nullness.qual.NonNull;
/** /**
* An exception which is thrown when an argument's input is unexpectedly null or empty * An exception which is thrown when an argument's input is unexpectedly null or empty
*
* @since 1.1.0
*/ */
public class NoInputProvidedException extends ParserException { public class NoInputProvidedException extends ParserException {

View file

@ -71,6 +71,8 @@ public final class SelectorParseException extends ParserException {
/** /**
* Reasons for which selector parsing may fail * Reasons for which selector parsing may fail
*
* @since 1.1.0
*/ */
public enum FailureReason { public enum FailureReason {

View file

@ -50,6 +50,7 @@ import java.util.regex.Pattern;
* Accepts {@link NamedTextColor NamedTextColors}, Legacy Minecraft {@literal &} color codes, Hex Codes (#RRGGBB) * Accepts {@link NamedTextColor NamedTextColors}, Legacy Minecraft {@literal &} color codes, Hex Codes (#RRGGBB)
* *
* @param <C> Command sender type * @param <C> Command sender type
* @since 1.1.0
*/ */
public final class TextColorArgument<C> extends CommandArgument<C, TextColor> { public final class TextColorArgument<C> extends CommandArgument<C, TextColor> {

View file

@ -38,6 +38,7 @@ import java.util.function.Function;
* Injection module that allows for {@link VelocityCommandManager} to be injectable * Injection module that allows for {@link VelocityCommandManager} to be injectable
* *
* @param <C> Command sender type * @param <C> Command sender type
* @since 1.1.0
*/ */
public final class CloudInjectionModule<C> extends AbstractModule { public final class CloudInjectionModule<C> extends AbstractModule {

View file

@ -32,6 +32,7 @@ import java.util.LinkedList;
/** /**
* Velocity specific {@link Caption caption keys} * Velocity specific {@link Caption caption keys}
* @since 1.1.0
*/ */
public final class VelocityCaptionKeys { public final class VelocityCaptionKeys {

View file

@ -48,6 +48,7 @@ import java.util.stream.Collectors;
* Argument parser for {@link Player players} * Argument parser for {@link Player players}
* *
* @param <C> Command sender type * @param <C> Command sender type
* @since 1.1.0
*/ */
public final class PlayerArgument<C> extends CommandArgument<C, Player> { public final class PlayerArgument<C> extends CommandArgument<C, Player> {

View file

@ -48,6 +48,7 @@ import java.util.stream.Collectors;
* Argument parser for {@link RegisteredServer servers} * Argument parser for {@link RegisteredServer servers}
* *
* @param <C> Command sender type * @param <C> Command sender type
* @since 1.1.0
*/ */
public final class ServerArgument<C> extends CommandArgument<C, RegisteredServer> { public final class ServerArgument<C> extends CommandArgument<C, RegisteredServer> {