Promise<Content> (@NotNull XValue value) { TestCompositeNode childrenNode = new TestCompositeNode(); value.computeChildren(childrenNode); return childrenNode.loadContent(Conditions.alwaysFalse(), Conditions.alwaysFalse()) .onSuccess(content -> children = content); }