class IncludeFileFactory implements DocumentedObjectFactory<IncludeFile, IncludeDocumentation> {

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

}