public static SdFile createFile(Project project, String text) {
        String name = "dummy.sd";
        return (SdFile) PsiFileFactory.getInstance(project).
            createFileFromText(name, SdFileType.INSTANCE, text);
    }
This class is a factory of psi elements in the SD PSI tree.

@author Shahar Ariel
integration/intellij/src/main/java/ai/vespa/intellij/schema/psi/SdElementFactory.java