Uses of Record Class
dev.ua.theroer.magicutils.commands.TypeParseResult
Packages that use TypeParseResult
-
Uses of TypeParseResult in dev.ua.theroer.magicutils.commands
Methods in dev.ua.theroer.magicutils.commands that return TypeParseResultModifier and TypeMethodDescriptionstatic <T> TypeParseResult<T> TypeParseResult.invalid()Creates an invalid-value result.static <T> TypeParseResult<T> TypeParseResult.missing()Creates a missing-value result.default @NotNull TypeParseResult<T> TypeParser.parseDetailed(@Nullable String value, @NotNull Class<T> targetType, S sender) Parses the given value with a detailed outcome.<T> @NotNull TypeParseResult<T> TypeParserRegistry.parseDetailed(@Nullable String value, @NotNull Class<T> targetType, S sender) Parses a value to the specified type using registered parsers and returns a detailed outcome.static <T> TypeParseResult<T> TypeParseResult.success(T value) Creates a successful parse result.