for (Annotation annotation : annotations)
{
Class<? extends Annotation> annotationType = annotation.annotationType();
BindFactoryClass factoryClass = annotationType.getAnnotation(BindFactoryClass.class);
if (factoryClass != null)
{
checkMethodIsGetter(getterMethod, annotationType);
String getterName = getterMethod.getName();
String thisPropertyName = ReflectHelper.getPropertyName(getterName);
// check for an explicitly named converter
ConverterReader converterReader = new ConverterReader();
Converter explicitConverter = converterReader.readConverter(getterMethod);
// create factory
BindHandlerFactory factory = ReflectHelper.createInstance(factoryClass.value(),
BindHandlerFactory.class);
// use factory to create handler and register this
BindHandler handler = factory.createHandler(annotation, getterMethod, explicitConverter,
conversionHandler);