@staticmethod
def _get_fullname(obj):
    """Get the full name of an object including the module.

        Args:
            obj: An object.

        Returns:
            The full class name of the object.
        """
    if not hasattr(obj, '__name__'):
        obj = obj.__class__
    if obj.__module__ in ('builtins', '__builtin__'):
        return obj.__name__
    return '{}.{}'.format(obj.__module__, obj.__name__)
