mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
Java: annotate method as @MustBeInvokedByOverriders (IJ-CR-109492)
GitOrigin-RevId: f3827ceb8f2e699563345cb040db95fd10e530cb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0006ccb985
commit
e7b57688d1
@@ -27,6 +27,7 @@ import com.intellij.ui.IconManager;
|
||||
import com.intellij.ui.PlatformIcons;
|
||||
import com.intellij.ui.icons.RowIcon;
|
||||
import com.intellij.util.IncorrectOperationException;
|
||||
import org.jetbrains.annotations.MustBeInvokedByOverriders;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import javax.swing.*;
|
||||
@@ -60,6 +61,7 @@ public class PsiMethodImpl extends JavaStubPsiElement<PsiMethodStub> implements
|
||||
dropCached();
|
||||
}
|
||||
|
||||
@MustBeInvokedByOverriders
|
||||
protected void dropCached() {
|
||||
myCachedType = null;
|
||||
myCachedName = null;
|
||||
|
||||
Reference in New Issue
Block a user