class CclScriptFactory implements DocumentedObjectFactory<CclScript, ScriptDocumentation> {

    @Override
    public CclScript build(final String objectName, final ScriptDocumentation topLevelDocumentation,
            final List<Subroutine> subroutines, final List<RecordStructure> recordStructures) {
        return new CclScript(objectName,
                topLevelDocumentation == null ? new ScriptDocumentation() : topLevelDocumentation, subroutines,
                recordStructures);
    }

}