Inspectopedia
 
2024.3

Method can be made 'static'

Warning
Performance
Last modified: 03 December 2024

Reports methods which may safely be made static.

A method may be static if it is not synchronized, it does not reference any of its class' instance methods and instance fields, and it is not overridden in a subclass.