@RequiredWriteAction @Override public PsiElement setName(@Nonnull String name) throws IncorrectOperationException { checkSetName(name); doClearCaches("setName"); return PsiFileImplUtil.setName(this, name); }
@Override public PsiElement setName(@NotNull String name) throws IncorrectOperationException { checkSetName(name); doClearCaches("setName"); return PsiFileImplUtil.setName(this, name); }
@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); subtreeChanged(); return PsiFileImplUtil.setName(this, name); }
@Override public PsiElement setName(@NotNull String name) throws IncorrectOperationException { checkSetName(name); doClearCaches(); return PsiFileImplUtil.setName(this, name); }
@Override public PsiElement setName(@Nonnull String name) throws IncorrectOperationException { checkSetName(name); subtreeChanged(); return PsiFileImplUtil.setName(this, name); }