function getNthConnectionAnnotation input TypeName className; input Integer index; output Expression result; end getNthConnectionAnnotation;