@Override
  protected PsiClass createNewClass(MoveInnerOptions options) {
    PsiClass innerClass = options.getInnerClass();
    if (!(innerClass instanceof GrTypeDefinition)) {
      return super.createNewClass(options);
    }

    PsiDirectory dir = (PsiDirectory)options.getTargetContainer();
    return CreateClassActionBase.createClassByType(dir, options.getNewClassName(), options.getInnerClass().getManager(),
                                                   options.getInnerClass(), GroovyTemplates.GROOVY_CLASS, false);
  }
@Override
  protected PsiClass createNewClass(MoveInnerOptions options)