Back to Intellij Community

StatefulEp

plugins/devkit/devkit-core/resources/inspectionDescriptions/StatefulEp.html

2025.3-rc-2285 B
Original Source

Reports extensions and quick-fixes holding potentially leaking state.

Keeping references to PsiElement, PsiReference, or Project instances can result in memory leaks.

Ideally, these should be stateless. For quick-fix, see LocalQuickFixOnPsiElement as a convenient base class.