String (String className, String oldPropertyName, String newPropertyName) { final DClassElement classElement = findClassElement(getRootElement(), className); if (classElement == null) return null; final DPropertyElement oldPropertyElement = classElement.getPropertyByName(oldPropertyName); if (oldPropertyElement == null) return null; classElement.removeProperty(oldPropertyElement); classElement.addProperty(new DPropertyElement(oldPropertyElement.isStatic(), newPropertyName, oldPropertyElement.getType())); fireChange(); DynamicToolWindowWrapper.getInstance(getProject()).rebuildTreePanel(); return newPropertyName; }