@Override
  public void checkCreateClass(@NotNull PsiDirectory dir, @NotNull String name) throws IncorrectOperationException {
    checkCreateClassOrInterface(dir, name);
  }
@Override
  public void checkCreateClass(@NotNull PsiDirectory dir, @NotNull String name)