Replace Switch-Statements with "method pointer"