IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Make Static

Last modified: 11 February 2024

The Make Static refactoring converts an inner class or an instance method to a static one.

For class, this refactoring also automatically corrects all references to the class in the code.

For method, this refactoring also automatically corrects all calls, implementations and overridings of the method.