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.
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/internal/databinding/provisional/factories/DefaultBindSupportFactoryTest.java
/**
     * Asserts that the instances of Boolean that are returned from
     * {@link DefaultBindSupportFactory#isAssignableFromTo()} are not new
     * instances of Boolean.
     */
    public void test_isAssignableFromToBooleanInstances() {
        DefaultBindSupportFactory factory = new DefaultBindSupportFactory();
        Boolean b1 = factory.isAssignableFromTo(String.class, String.class);
        Boolean b2 = factory.isAssignableFromTo(String.class, String.class);
        assertNotNull(b1);
        assertNotNull(b2);
        assertTrue(b1.booleanValue());
        assertSame(b1, b2);
        b1 = factory.isAssignableFromTo(String.class, Integer.class);
        b2 = factory.isAssignableFromTo(String.class, Integer.class);
        assertNotNull(b1);
        assertNotNull(b2);