private UnoObjectDefinition getUnoObjectDefinition(XTreePathProvider _xTreePathProvider, XUnoMethodNode _oUnoMethodNode, int _nindex){
XUnoNode oUnoNode = null;
Object oUnoReturnObject = null;
Object[] oParamObjects = null;
XIdlClass xIdlClass = _oUnoMethodNode.getXIdlMethod().getReturnType();
String sTypeName = xIdlClass.getName();
TypeClass aTypeClass = xIdlClass.getTypeClass();
if (aTypeClass.getValue() != TypeClass.VOID_value){
if (_xTreePathProvider.getPathCount() > _nindex + 1){
oUnoNode = _xTreePathProvider.getPathComponent(_nindex + 1);
oUnoReturnObject = oUnoNode.getUnoObject();
}