250251252253254255256257258259260
return getService(Factory.class); } } for (Type interfaceType : c.getGenericInterfaces()) { Factory f = getFactory(interfaceType, elementType); if (f != null) { return f; } }