argument
@Contract(value = "_, _, _ -> this", mutates = "this" )
Adds a new argument command node with the given name and type to this literal, applying the given builder to the node and returning this builder as the result.
Return
this builder
Parameters
S
the command source type
T
the argument type
name
the name of the argument
type
the argument type for parsing
builder
the builder to apply
@Contract(value = "_, _, _ -> this", mutates = "this" )
Adds a new argument command node with the given name and type to this argument, applying the given builder to the node and returning this builder as the result.
Return
this builder
Parameters
S
the command source type
T
the argument type of this argument
T1
the argument type of the new argument
name
the name of the argument
type
the argument type for parsing
builder
the builder to apply