PsiElement () { PsiBinaryFileImpl clone = (PsiBinaryFileImpl)clone(); clone.myName = getName(); try { clone.myContents = !isCopy() ? getVirtualFile().contentsToByteArray() : myContents; } catch (IOException ignored) { } return clone; }