// Path: src/main/java/org/mybatis/generator/api/dom/OutputUtilities.java
// public static Set<String> calculateImports(
//         Set<FullyQualifiedJavaType> importedTypes) {
//     StringBuilder sb = new StringBuilder();
//     Set<String> importStrings = new TreeSet<String>();
//     for (FullyQualifiedJavaType fqjt : importedTypes) {
//         for (String importString : fqjt.getImportList()) {
//             sb.setLength(0);
//             sb.append("import "); //$NON-NLS-1$
//             sb.append(importString);
//             sb.append(';');
//             importStrings.add(sb.toString());
//         }
//     }
// 
//     return importStrings;
// }
// 
// Path: src/main/java/org/mybatis/generator/api/dom/OutputUtilities.java
// public static void newLine(StringBuilder sb) {
//     sb.append(lineSeparator);
// }


import static org.mybatis.generator.api.dom.OutputUtilities.calculateImports;
import static org.mybatis.generator.api.dom.OutputUtilities.newLine;
import static org.mybatis.generator.internal.util.messages.Messages.getString;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
    }

    public String getFormattedContent() {
        StringBuilder sb = new StringBuilder();

        for (String fileCommentLine : fileCommentLines) {
            sb.append(fileCommentLine);
            newLine(sb);
        }

        if (getType().getPackageName() != null
                && getType().getPackageName().length() > 0) {
            sb.append("package "); //$NON-NLS-1$
            sb.append(getType().getPackageName());
            sb.append(';');
            newLine(sb);
            newLine(sb);
        }

        for (String staticImport : staticImports) {
            sb.append("import static "); //$NON-NLS-1$
            sb.append(staticImport);
            sb.append(';');
            newLine(sb);
        }
        
        if (staticImports.size() > 0) {
            newLine(sb);
        }
        
// Path: src/main/java/org/mybatis/generator/api/dom/OutputUtilities.java
// public static Set<String> calculateImports(
//         Set<FullyQualifiedJavaType> importedTypes) {
//     StringBuilder sb = new StringBuilder();
//     Set<String> importStrings = new TreeSet<String>();
//     for (FullyQualifiedJavaType fqjt : importedTypes) {
//         for (String importString : fqjt.getImportList()) {
//             sb.setLength(0);
//             sb.append("import "); //$NON-NLS-1$
//             sb.append(importString);
//             sb.append(';');
//             importStrings.add(sb.toString());
//         }
//     }
// 
//     return importStrings;
// }
// 
// Path: src/main/java/org/mybatis/generator/api/dom/OutputUtilities.java
// public static void newLine(StringBuilder sb) {
//     sb.append(lineSeparator);
// }


// Path: src/main/java/org/mybatis/generator/api/dom/java/TopLevelEnumeration.java
import static org.mybatis.generator.api.dom.OutputUtilities.calculateImports;
import static org.mybatis.generator.api.dom.OutputUtilities.newLine;
import static org.mybatis.generator.internal.util.messages.Messages.getString;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;

    }

    public String getFormattedContent() {
        StringBuilder sb = new StringBuilder();

        for (String fileCommentLine : fileCommentLines) {
            sb.append(fileCommentLine);
            newLine(sb);
        }

        if (getType().getPackageName() != null
                && getType().getPackageName().length() > 0) {
            sb.append("package "); //$NON-NLS-1$
            sb.append(getType().getPackageName());
            sb.append(';');
            newLine(sb);
            newLine(sb);
        }

        for (String staticImport : staticImports) {
            sb.append("import static "); //$NON-NLS-1$
            sb.append(staticImport);
            sb.append(';');
            newLine(sb);
        }
        
        if (staticImports.size() > 0) {
            newLine(sb);
        }
        
        Set<String> importStrings = calculateImports(importedTypes);