@Override
        public <T> Field<T> create(int number, String name, java.lang.reflect.Field field,
                IdStrategy strategy)
        {
            final RuntimeFieldFactory<Collection<?>> factory = 
                    0 != (IdStrategy.COLLECTION_SCHEMA_ON_REPEATED_FIELDS & strategy.flags) ? 
                    RuntimeCollectionFieldFactory.getFactory() :
                    RuntimeRepeatedFieldFactory.getFactory();
                    
            return factory.create(number, name, field, strategy);
        }
A factory to create runtime {@link Field fields} based on reflection.

@author David Yu
@created Nov 10, 2009
protostuff-runtime-md/src/main/java/io/protostuff/runtime/RuntimeFieldFactory.java