// create "arrayInfo"
ArrayObjectInfo arrayInfo = new ArrayObjectInfo(editor, methodName, itemClass, arrayCreation);
containerInfo.addChild(arrayInfo);
// configure "arrayInfo"
{
ParameterDescription parameterDescription =
containerInfo.getDescription().getMethod(methodName + "(" + itemClassName + "[])").getParameter(
0);
arrayInfo.setRemoveOnEmpty(parameterDescription.hasTrueTag(AbstractArrayObjectInfo.REMOVE_ON_EMPTY_TAG));
arrayInfo.setHideInTree(parameterDescription.hasTrueTag(AbstractArrayObjectInfo.HIDE_IN_TREE_TAG));
}
return arrayInfo;
}