def membersToHtml(getMembers, ind=1):
    """return html list od members retrived from getMember function."""
    classPath = r' (\w+[\.|\$])+%s'
    list_ = ''
    indent = (' '*(ind+2)*4)
    for i in getMembers():
        name = i.getName()
        cleared = re.sub(classPath % name, ' %s' % name, i.toString())
        list_ += '%s<li>%s;</li>\n' % (indent, cleared)
    return list_
return html list od members retrived from getMember function.
recipes/Python/502222_Creating_javclass/recipe-502222.py