public abstract class Parameter<T, I extends Parameter> {
- public String description;
+ public final String description;
public final ArrayList<String> arguments = new ArrayList<>();
- ArgumentCount argumentCount;
+ final ArgumentCount argumentCount;
private final ArrayList<String> aliases = new ArrayList<>();
/**
* Indicates that at least one argument is mandatory for this parameter.
// save aliases
Collections.addAll(aliases, aliasArray);
- return (I)this;
+ return (I) this;
}
/**
@SuppressWarnings("unchecked")
public I setMandatory() {
mandatory = true;
- return (I)this;
+ return (I) this;
}
/**