protected final GrVariable refactorInWriteAction(Computable<? extends GrVariable> computable) {
    SmartPsiElementPointer<GrVariable> pointer = WriteAction.compute(() -> {
      GrVariable var = computable.compute();
      return var != null ? SmartPointerManager.getInstance(myProject).createSmartPsiElementPointer(var) : null;
    });
    return pointer != null ? pointer.getElement() : null;
  }
protected final GrVariable refactorInWriteAction(Computable<? extends GrVariable> computable)