@Override public void checkSetName(String name) throws IncorrectOperationException { if (!getViewProvider().isEventSystemEnabled()) return; PsiFileImplUtil.checkSetName(this, name); }
@Override public void delete() throws IncorrectOperationException { checkDelete(); PsiFileImplUtil.doDelete(this); }
@Override public PsiElement setName(@NotNull String name) throws IncorrectOperationException { checkSetName(name); doClearCaches("setName"); return PsiFileImplUtil.setName(this, name); }