mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
Add Javadoc for RenamePsiElementProcessorBase#getPostRenameCallback
(cherry picked from commit 0563475d0b3b506d29686aed72339c9a865f75a6) IJ-CR-158778 GitOrigin-RevId: 26c5f9bd7c31901882e8065f233ae0e2ae157c6a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
dd48232d92
commit
e0f4e68813
@@ -144,6 +144,17 @@ public abstract class RenamePsiElementProcessorBase {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a callback associated with a single renamed element.
|
||||
* All callbacks will be run after renaming of all elements is done.
|
||||
*
|
||||
* @param element that was renamed.
|
||||
* @param newName of the {@code element}.
|
||||
* @param usages of the {@code element}.
|
||||
* @param allRenames all elements that were renamed.
|
||||
* @param elementListener for sending notifications when some element was refactored.
|
||||
* @return callback.
|
||||
*/
|
||||
public @Nullable Runnable getPostRenameCallback(@NotNull PsiElement element,
|
||||
@NotNull String newName,
|
||||
@NotNull Collection<UsageInfo> usages,
|
||||
|
||||
Reference in New Issue
Block a user