Bug 167450 [DataBinding] Get rid of bind support factory magic
I finally realized that we don't need that other magic factory. I'll move fillBindSpecDefaults() and the methods it calls (createConverter, createValidator etc) to a new class DefaultBindSpec. Clients who want default validators and converters created for them just create a DefaultBindSpec as opposed to a (rather empty) BindSpec. I will also move the early type checking into DefaultBindSpec to make it optional as well.
bundles/org.eclipse.core.databinding/src/org/eclipse/core/databinding/DefaultBindSupportFactory.java
private static final String INTEGER_TYPE = "java.lang.Integer.TYPE"; 
	private static final String BYTE_TYPE = "java.lang.Byte.TYPE"; 
	private static final String DOUBLE_TYPE = "java.lang.Double.TYPE"; 
	private static final String BOOLEAN_TYPE = "java.lang.Boolean.TYPE"; 
	private static final String FLOAT_TYPE = "java.lang.Float.TYPE"; 
	private static final String LONG_TYPE = "java.lang.Long.TYPE"; 
	private static final String SHORT_TYPE = "java.lang.Short.TYPE"; 
	private ValidatorRegistry validatorRegistry = new ValidatorRegistry();
	private Map converterMap;
	public IValidator createValidator(Object fromType, Object toType) {
		if (fromType == null || toType == null) {
			return new IValidator() {
				public IStatus validate(Object value) {
					return Status.OK_STATUS;
				}
			};