NodeDescriptor (@NotNull final Object element, final NodeDescriptor parentDescriptor) { if (element instanceof AbstractTreeNode<?> node) { return node; } return new CoverageViewDescriptor(myProject, parentDescriptor, element); }