public Map pluginsListSync(int type) throws Xmms2Exception {
public Map pluginsListSync(xmms_plugin_type_t type) throws Xmms2Exception {
    public Map pluginsListSync(int type) throws Xmms2Exception {        SWIGTYPE_p_xmmsc_result_St result = Xmmsclient.xmmsc_plugin_list(                xbo.connectionTwo, type);        Xmmsclient.xmmsc_result_wait(result);        if (!xbo.isError(result).equals("")) {            throw new Xmms2Exception(xbo.isError(result));        }        HashMap map = new HashMap();        if (Xmmsclient.xmmsc_result_is_list(result) == 1) {            Xmmsclient.xmmsc_result_list_first(result);            String shortDes[] = new String[1];            String longDes[] = new String[1];            while (Xmmsclient.xmmsc_result_list_valid(result) == 1) {                if (Xmmsclient.xmmsc_result_get_dict_entry_str(result,                        "shortname", shortDes) == 1) {                    Xmmsclient.xmmsc_result_get_dict_entry_str(result,                            "shortname", longDes);                    map.put(shortDes[0], longDes[0]);                }                Xmmsclient.xmmsc_result_list_next(result);            }        }        Xmmsclient.xmmsc_result_unref(result);        return map;    }