ExecutionNode[] () { final ExecutionNode[] result = new ExecutionNode[0]; if (myTree != null) { final List<ExecutionNode> nodes = TreeUtil.collectSelectedObjects(myTree, path -> TreeUtil.getLastUserObject(ExecutionNode.class, path)); return nodes.toArray(result); } return result; }