'TODO: I wanted to use super(Vuln, cls).from_mutant here but I was
unable to make it work. Refactoring required to avoid code duplication
with info.py. The same applies to all classmethods
:return: A vuln instance with the proper data set based on the values
taken from the mutant.'

@classmethod
def from_mutant(cls, name, desc, severity, response_ids, plugin_name, mutant):

    if (not isinstance(mutant, Mutant)):
        raise TypeError('Mutant    expected    in    from_mutant.')
    inst = cls(name, desc, severity, response_ids, plugin_name)
    inst.set_uri(mutant.get_uri())
    inst.set_method(mutant.get_method())
    inst.set_mutant(mutant)
    return inst
