bugfix: public needs to be added when public/private/protected is not set, for instance final function -> should result in public final function