method

hash

hash()
public

A dependency’s hash is the XOR of the hashes of name, type, and requirement.