private static ClassBuilder createClassBuilder(InnerCNode root, NormalizedDefinition nd, MakeConfigProperties properties) {
        if (isCpp(properties))
            return new CppClassBuilder(root, nd, properties.destDir, properties.dirInRoot);
        else
            return new JavaClassBuilder(root, nd, properties.destDir, properties.javaPackagePrefix);
    }
This class generates code for a config class from a given def-file.
configgen/src/main/java/com/yahoo/config/codegen/MakeConfig.java