private Object defaultPrimitiveValue(Class<?> cls) {
        if (boolean.class == cls) {
            return Boolean.FALSE;
        }
        if (byte.class == cls) {
            return (byte) 0;
        }
        if (char.class == cls) {
            return '\0';
        }
        if (short.class == cls) {
            return (short) 0;
        }
        if (int.class == cls) {
            return 0;
        }
        if (long.class == cls) {
            return 0L;
        }
        if (float.class == cls) {
            return 0F;
        }
        if (double.class == cls) {
            return 0D;
        }
        throw new AssertionError("Class is not a primative or missing primative coverage: " + cls.getName());
    }
Gets DataBoundConstructor or fails.
@return constructor with {@link org.kohsuke.stapler.DataBoundConstructor} annotation
@throws ConfiguratorException Constructor not found
plugin/src/main/java/io/jenkins/plugins/casc/impl/configurators/DataBoundConfigurator.java