before public class ReplaceParameterWithExplicitMethod_before { static final int ENGINEER = 0; static final int SALESMAN = 1; static final int MANAGER = 2; static public class Employee { // ... private int type; private Employee(int type) { this.type = type; } static Employee create(int type) { switch (type) { case ENGINEER: return new Engineer(); case SALESMAN: return new Salesman(); case MANAG..