InsertNewMethodStrategy (InsertWhere option) { return switch (option) { case AFTER_EQUALS_AND_HASHCODE -> InsertAfterEqualsHashCodeStrategy.getInstance(); case AT_CARET -> InsertAtCaretStrategy.getInstance(); case AT_THE_END_OF_A_CLASS -> InsertLastStrategy.getInstance(); }; }