return validator.getCreatedElements();
}
@NotNull
protected PsiElement[] create(String newName, PsiDirectory directory) throws Exception {
HaskellFileType type = HaskellFileType.INSTANCE;
String ext = type.getDefaultExtension();
Project project = directory.getProject();
PsiDirectory moduleDir = directory;
int length = newName.length() - 1;
while (newName.charAt(length) == '.') {
newName = newName.substring(0, length);