Replace `new ClassName()` with selected named constructor.
class Text {
public function __construct(string $name){ }
public static fromName(string $n){}
}
Invoke `refactor this` on method name `fromName`
and all new statements with this class will be changed
new Text('User') // old code
Text::fromName('User') // new code