DepGenerator: added option to hide non-public decls