import com.intellij.util.IncorrectOperationException;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import javax.swing.*;
import java.awt.*;
<BUG>import java.io.File;
public class CreateDirectoryOrPackageHandler implements InputValidatorEx {</BUG>
@Nullable private final Project myProject;
@NotNull private final PsiDirectory myDirectory;
private final boolean myIsDirectory;

import com.intellij.util.IncorrectOperationException;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import javax.swing.*;
import java.awt.*;
import java.io.File;
import java.util.StringTokenizer;
public class CreateDirectoryOrPackageHandler implements InputValidatorEx {
@Nullable private final Project myProject;
@NotNull private final PsiDirectory myDirectory;
private final boolean myIsDirectory;
