public static boolean hasPublicNullaryConstructor(Class<?> clazz) {
        return Arrays.stream(clazz.getConstructors())
                .anyMatch(constructor -> constructor.getParameterCount() == 0);
    }
@Test
    void testHasNullaryConstructor() {
        assertThat(InstantiationUtil.hasPublicNullaryConstructor(StringValue.class)).isTrue();
    }