@staticmethod
def create_attrinfos(classinfos):
    """Browse all class in classinfos dict to create a final attrinfo dict

        Parameters
        ----------
        classinfos : `dict`
            The final classinfos dict

        Returns
        -------
        attrinfos : `dict`
            Dictionary in which key is an attribute name and value is a dict
            with all its information.
        """
    attrinfos = {}
    for cls_key, info_index in sorted(classinfos.items(), key=lambda item:
        item[1]['index'], reverse=True):
        classinfos = info_index['attr']
        for attr_name in classinfos:
            attrinfos.setdefault(attr_name, {})
            attrinfos[attr_name].update(classinfos[attr_name])
    return attrinfos
