find
The dependency of type named name, or the only one of type when name is null; null when there is none.
The dependency of the full type, a parameterized one, named name, or the only one of type when name is null; null when there is none. By its class (Types.rawOf) by default, for a host that knows no generics; a host that does finds it by every type argument.
Throws
when several are of type and none is the one to take.