Supported type of StreamParametersMapFunction

It is possible to convert String to the right type, based on the @Parameter annotation, but only for the following type :
Target type Action
Any primitive type Supported and converted using the corresponding valueOf method.
String Supported and no conversion
Class Supported and converted using the newInstance method.
Any primitive type Supported and converted using the corresponding valueOf method.
String array Supported and converted by splitting on the regex \s*,\s*.
Collection of String or primitive Supported and converted by splitting on the regex \s*,\s*.
Set of String or primitive Supported and converted by splitting on the regex \s*,\s*.