function getModelInstanceAnnotation input TypeName className; input String[:] filter = fill("", 0); input Boolean prettyPrint = false; output String result; end getModelInstanceAnnotation;