public static PsiClass createSingleClass(String name, String classTemplateName, PsiDirectory directory) {
    return createSingleClass(name, classTemplateName, directory, Collections.emptyMap());
  }
public static PsiClass createSingleClass(String name, String classTemplateName, PsiDirectory directory)