private static void addSameDiffConstructor(TypeSpec.Builder builder) {
        MethodSpec ctor = MethodSpec.constructorBuilder()
                .addModifiers(Modifier.PUBLIC)
                .addParameter(SameDiff.class, "sameDiff")
                .addStatement("super(sameDiff)")