Support @Convert on @Attribute members
Brought to you by:
niallg
It seems you can only specify a converter on a member decorated with @Element. Seeing as a converter takes an InputNode, the restriction seems arbitrary. Making sure the converter receives a compatible InputNode and can produce compatible output is the responsibility of the Converter implementation.
Also, unless there is some trickery going on, this should only require putting something like
somewhere in the
private Convert getConvert(Type type)
method inConverterScanner.java