More progress on command method parsing

This commit is contained in:
Alexander Söderberg 2020-09-18 14:34:14 +02:00
parent da68a6bc87
commit 1e58ca3f13
No known key found for this signature in database
GPG key ID: C0207FF7EA146678
4 changed files with 153 additions and 30 deletions

View file

@ -128,7 +128,7 @@ public class CommandArgument<C, T> implements Comparable<CommandArgument<?, ?>>
*/
@Nonnull
public static <C, T> CommandArgument.Builder<C, T> ofType(@Nonnull final Class<T> clazz,
@Nonnull final String name) {
@Nonnull final String name) {
return new Builder<>(clazz, name);
}