Promise<Object> (@NotNull Object element) { AbstractTreeStructure structure = getTreeStructure(); return structure == null ? Promises.rejectedPromise() : Promises.resolvedPromise(structure.revalidateElement(element)); }