The prefixArray argument is an array of 4 or 5 values: final, flow, stream (optional), protected, replaceable.
function setComponentProperties input TypeName className; input TypeName componentName; input Boolean[:] prefixArray; input String[1] variability; input Boolean[2] innerOuter; input String[1] direction; output Boolean success; end setComponentProperties;