function refactorDiagramAnnotation input TypeName className; output Expression result; end refactorDiagramAnnotation;