IntelliJ IDEA
 
Get IntelliJ IDEA

Extract into class refactorings

Last modified: 16 August 2024

IntelliJ IDEA lets you use refactorings that extract fields, methods, and parameters into a new class. These refactorings are useful when a class has grown too large and "does too many things". In such cases, it may be a good idea to split the class into smaller, more cohesive classes.