void (@NotNull PsiElement newElement, @NotNull String oldQualifiedName) { final int methodIdx = oldQualifiedName.indexOf("#") + 1; if (methodIdx <= 0 || methodIdx >= oldQualifiedName.length()) return; final boolean generatedName = configuration.isGeneratedName(); configuration.getPersistentData().METHOD_NAME = oldQualifiedName.substring(methodIdx); if (generatedName) configuration.setGeneratedName(); }