Returns the whole annotation if the filter is empty, otherwise only the parts matching the filter.
function getModelInstanceAnnotation input TypeName className; input String[:] filter = fill("", 0); input Boolean prettyPrint = false; output String result; end getModelInstanceAnnotation;