PsiFileImpl () { DummyHolder psiClone = (DummyHolder)cloneImpl((FileElement)calcTreeElement().clone()); DummyHolderViewProvider dummyHolderViewProvider = new DummyHolderViewProvider(getManager()); psiClone.myViewProvider = dummyHolderViewProvider; dummyHolderViewProvider.setDummyHolder(psiClone); psiClone.myOriginalFile = isPhysical() ? this : myOriginalFile; return psiClone; }