public class Argument extends Object
Constructor and Description |
---|
Argument() |
Modifier and Type | Method and Description |
---|---|
void |
addType(Class<?> type) |
boolean |
allows(Class<?> type) |
Class<?>[] |
getTypes() |
boolean |
isMultiValue() |
boolean |
isOptional() |
boolean |
isRepeatable() |
boolean |
mustBeBound() |
boolean |
requires(Class<?> type) |
void |
setMultiValue() |
void |
setMustBeBound() |
void |
setOptional() |
void |
setRepeatable() |
public void addType(Class<?> type)
public Class<?>[] getTypes()
public void setOptional()
public void setRepeatable()
public void setMustBeBound()
public void setMultiValue()
public boolean isOptional()
public boolean isRepeatable()
public boolean isMultiValue()
public boolean mustBeBound()
public boolean allows(Class<?> type)
public boolean requires(Class<?> type)