Stateful extension
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.
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Plugin DevKit, 233.SNAPSHOT |
Last modified: 13 July 2023