public ParameterDescriptor( ParameterType<?> type, Description description, boolean required, boolean password, boolean unquote, Class<? extends Completer> completerType, Annotation annotation) throws IllegalValueTypeException, IllegalParameterException { // if (completerType == EmptyCompleter.class) { completerType = type.getValueType().getCompleter(); } // this.description = description; this.required = required; this.password = password; this.completerType = completerType; this.annotation = annotation; this.unquote = unquote; this.type = type; }
public ParameterDescriptor( ParameterType<?> type, Description description, boolean required, boolean password, boolean unquote, Class<? extends Completer> completerType, Annotation annotation) throws IllegalValueTypeException, IllegalParameterException { // if (completerType == EmptyCompleter.class) { completerType = type.getValueType().getCompleter(); } // this.description = description; this.required = required; this.password = password; this.completerType = completerType; this.annotation = annotation; this.unquote = unquote; this.type = type; }
public ParameterDescriptor( Object binding, ParameterType<?> type, Description description, boolean required, boolean password, boolean unquote, Class<? extends Completer> completerType, Annotation annotation) throws IllegalValueTypeException, IllegalParameterException { // if (completerType == EmptyCompleter.class) { completerType = type.getValueType().getCompleter(); } // this.binding = binding; this.description = description; this.required = required; this.password = password; this.completerType = completerType; this.annotation = annotation; this.unquote = unquote; this.type = type; }