String (FragmentVariableInfos fragmentVariableInfos) { StringBuilder builder = new StringBuilder(); builder.append("input:\n"); for (VariableInfo info : fragmentVariableInfos.getInputVariableNames()) { builder.append(info.getName()).append("\n"); } builder.append("output:\n"); for (VariableInfo info : fragmentVariableInfos.getOutputVariableNames()) { builder.append(info.getName()).append("\n"); } return builder.toString(); }