/*
* No immediate match could be found. Search the type's interfaces.
*/
if (triedClasses == null)
triedClasses = new IdentityHashSet();
triedClasses.add(type);
Class[] interfaces = type.getInterfaces();
for (int i = 0; i < interfaces.length; i++) {
handler = findHandler(interfaces[i], triedClasses);