def __default_filter(self, node):
        """Excludes private members and those tagged "@hide" / "@exclude" in their
        docblocks.

        """

        if not isinstance(node, javalang.tree.Declaration):
            return False

        if 'private' in node.modifiers:
            return False

        if isinstance(node, javalang.tree.Documented) and node.documentation:
            doc = javalang.javadoc.parse(node.documentation)
            if 'hide' in doc.tags or 'exclude' in doc.tags:
                return False

        return True