public static KeyFactory create(Class keyInterface, Customizer customizer) { Generator gen = new Generator(); gen.setInterface(keyInterface); gen.setCustomizer(customizer); return gen.create();
public static KeyFactory create(Class keyInterface) { return create(keyInterface, null);
    public static KeyFactory create(Class keyInterface, Customizer customizer) {        Generator gen = new Generator();        gen.setInterface(keyInterface);        gen.setCustomizer(customizer);        return gen.create();    }