IntelliJ IDEA
 
Get IntelliJ IDEA

Change signature

Last modified: 11 October 2024

The Change Signature refactoring combines several modifications that can be applied to a method signature or a class signature.

For a class, this refactoring can turn a class into a generic and manipulate its type parameters. It automatically corrects all calls, implementations and overriding of the class.

For a method, this refactoring can change the method name, add, remove, reorder, and rename parameters and exceptions, and propagate new parameters and exceptions through the hierarchy of calls.