Extract Class

You have one class doing work that should be done by two.

Create a new class and move the relevant fields and methods from the old class into the new class.

image/svg+xml Person nameofficeAreaCodeofficeNumber getTelephoneNumber Person name getTelephoneNumber Telephone Number officeAreaCodeofficeNumber getTelephoneNumber 1

inverse of Inline Class