static boolean matchesExpectedType(LookupElement item, Set<ExpectedTypeInfo> infos) {
    return ContainerUtil.exists(infos, info -> matchesExpectedType(item, info.getType()));
  }
static boolean matchesExpectedType(LookupElement item, Set<ExpectedTypeInfo> infos)