Uses of Interface
dev.ua.theroer.magicutils.commands.TypeParser
Packages that use TypeParser
Package
Description
-
Uses of TypeParser in dev.ua.theroer.magicutils.commands
Methods in dev.ua.theroer.magicutils.commands that return TypeParserModifier and TypeMethodDescription@Nullable TypeParser<S, ?> TypeParserRegistry.findParserForType(@NotNull Class<?> targetType) Finds the first parser that can handle the given type.Methods in dev.ua.theroer.magicutils.commands that return types with arguments of type TypeParserModifier and TypeMethodDescriptionList<TypeParser<S, ?>> TypeParserRegistry.getParsers()Gets all registered parsers.Methods in dev.ua.theroer.magicutils.commands with parameters of type TypeParserModifier and TypeMethodDescriptionvoidTypeParserRegistry.register(@NotNull TypeParser<S, ?> parser) Registers a new type parser.booleanTypeParserRegistry.unregister(@NotNull TypeParser<S, ?> parser) Removes a parser from the registry.Method parameters in dev.ua.theroer.magicutils.commands with type arguments of type TypeParserModifier and TypeMethodDescriptionvoidTypeParserRegistry.registerAll(@NotNull List<TypeParser<S, ?>> parsers) Registers a list of type parsers.intTypeParserRegistry.unregisterByClass(@NotNull Class<? extends TypeParser<S, ?>> parserClass) Removes all parsers of a specific class from the registry. -
Uses of TypeParser in dev.ua.theroer.magicutils.commands.parsers
Classes in dev.ua.theroer.magicutils.commands.parsers that implement TypeParserModifier and TypeClassDescriptionclassType parser for Boolean arguments.classGeneric enum parser to avoid registering a parser per enum type.classType parser for handling list suggestions like {value1,value2,value3}.classType parser for numeric arguments (int/long/double/float/short/byte/BigInteger/BigDecimal).classType parser for String arguments. -
Uses of TypeParser in dev.ua.theroer.magicutils.diagnostics
Classes in dev.ua.theroer.magicutils.diagnostics that implement TypeParserModifier and TypeClassDescriptionfinal classParser for diagnostics suite command arguments.