void (String className, String oldName, String newName, String[] types) { final DMethodElement oldMethodElement = findConcreteDynamicMethod(className, oldName, types); if (oldMethodElement != null) { oldMethodElement.setName(newName); } DynamicToolWindowWrapper.getInstance(getProject()).rebuildTreePanel(); fireChange(); }