function renameComponent input TypeName classPath; input VariableName oldName; input VariableName newName; output TypeName[:] result; end renameComponent;