Inspectopedia
 
2024.3

Static initialization in extension point implementations

Warning
Performance
New
Last modified: 03 December 2024

Reports static initialization in extension point implementations.

Static initialization is performed once the class is loaded, which may cause excessive classloading or early initialization of heavy resources. Since extension point implementations are supposed to be cheap to create, they must not have static initializers.

New in 2023.3