void (@NotNull Template template, boolean brokenOff) { if (brokenOff) return; PsiType newReturnType = myMethod.getReturnType(); if (newReturnType == null) return; TypeSelectorManagerImpl.typeSelected(newReturnType, myReturnType); changeReturnType(project, file, editor, myMethod, newReturnType); }