private Set<String> getConstructorPropNames(final Constructor<?> constructor) {
        final Annotation[][] parameterAnnotations = constructor.getParameterAnnotations();
        final HashSet<String> propNames = new HashSet<>();
        for (Annotation[] singleParamAnnos : parameterAnnotations) {
            for (Annotation annotation : singleParamAnnos) {
                if (JsonProperty.class.isAssignableFrom(annotation.annotationType())) {
                    JsonProperty jsonProperty = (JsonProperty) annotation;
                    propNames.add(jsonProperty.value());
                    break;
                }
            }
        }
        return propNames;
    }
Test that classes that will be subject to JSON serialisation have the full complement of JSON annotations.
stroom-app/src/test/java/stroom/importexport/TestJsonSerialisation.java