wraps arguments passed into a list if necessary . returns the first value as is if it is the only argument and a subtype of ` java.util.list ` otherwise , it calls arrays.aslist on args concode_field_sep play.api.i18n.MessagesApi messages concode_field_sep play.api.i18n.MessagesApi scalaApi concode_elem_sep String get concode_elem_sep String get concode_elem_sep Boolean isDefinedAt concode_elem_sep Buffer<Object> convertArgsToScalaBuffer concode_elem_sep Messages preferred concode_elem_sep Messages preferred
List < T > function ( final T ... arg0 ) { List < T > loc0 ; if ( ArrayUtils . isNotEmpty ( arg0 ) && arg0 . length == 1 && arg0 [ 0 ] instanceof List ) { loc0 = ( List < T > ) arg0 [ 0 ] ; } else { loc0 = Arrays . asList ( arg0 ) ; } return loc0 ; }