void (@NotNull PsiFile originalFile) { myOriginalFile = originalFile.getOriginalFile(); FileViewProvider original = myOriginalFile.getViewProvider(); ((AbstractFileViewProvider)original).registerAsCopy(myViewProvider); }