visitedClasses.add(type);
Method[] methods = type.getDeclaredMethods();
CachingInjector injector = null;
for (Method method : methods) {
Converter annotation = method.getAnnotation(Converter.class);
if (annotation != null) {
Class<?>[] parameterTypes = method.getParameterTypes();
if (parameterTypes == null || parameterTypes.length != 1) {
log.warn("Ignoring bad converter on type: " + type.getName()
+ " method: " + method + " as a converter method should have one parameter");