String collectionType = pController.getCollectionType();
DirectAccessible value;
if (pValue instanceof DirectAccessible) {
value = (DirectAccessible) pValue;
} else {
LocalJavaField v = pMethod.newJavaField(pController.getRuntimeType());
v.addLine(pValue);
value = v;
}
LocalJavaField sb = pMethod.newJavaField(StringBuffer.class);
sb.addLine("new ", StringBuffer.class, "()");
Object v;
DirectAccessible loopVar;
if ("indexed".equals(collectionType)) {
loopVar = pMethod.addForArray(value);
v = new Object[]{value, "[", loopVar, "]"};