public @NotNull FList<@NotNull Trap> getTrapsInsideElement(@Nullable PsiElement element) {
    if (element == null) return FList.emptyList();
    return FList.createFromReversed(ContainerUtil.reverse(
      ContainerUtil.findAll(myTrapStack, cd -> PsiTreeUtil.isAncestor(element, cd.getAnchor(), true))));
  }
public @NotNull FList<@NotNull Trap> getTrapsInsideElement(@Nullable PsiElement element)