@Override
  protected final PsiClass doCreate(PsiDirectory dir, String className, String templateName) throws IncorrectOperationException {
    return JavaDirectoryService.getInstance().createClass(dir, className, templateName, true);
  }
@Override
  protected final PsiClass doCreate(PsiDirectory dir, String className, String templateName)