public static @Nullable List<CandidateInfo> collectStaticFactories(PsiNewExpression newExpression) {
    return CachedValuesManager.getCachedValue(newExpression,
                                              () -> new CachedValueProvider.Result<>(collectStaticFactoriesInner(newExpression),
                                                                                     PsiModificationTracker.MODIFICATION_COUNT));
  }
public static @Nullable List<CandidateInfo> collectStaticFactories(PsiNewExpression newExpression)