+ "[] { }");
ArrayCreation arrayCreation = (ArrayCreation) DomGenerics.arguments(methodInvocation).get(0);
Class<?> itemClass =
ReflectionUtils.getClassByName(EditorState.get(editor).getEditorLoader(), itemClassName);
// 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;
}