both default value and type should be special widgets. The type widget would influence what default value widget will match (but it will have picker in the future).
We support only one-line method definitions
The configuration for input's widgets should be copied from method called by nodes using this input (inside). - separate task.
Design here