static boolean isRecursivelyCalledConstructor(@NotNull PsiMethod constructor) {
   final JavaHighlightUtil.ConstructorVisitorInfo info =
       new JavaHighlightUtil.ConstructorVisitorInfo();
   JavaHighlightUtil.visitConstructorChain(constructor, info);
   if (info.recursivelyCalledConstructor == null) return false;
   // our constructor is reached from some other constructor by constructor chain
   return info.visitedConstructors.indexOf(info.recursivelyCalledConstructor)
       <= info.visitedConstructors.indexOf(constructor);
 }