@Override
  public @Nullable JavaResolveResult getStaticFactory() {
    final PsiNewExpression newExpression = getNewExpression();
    return newExpression != null ? getStaticFactory(newExpression, newExpression) : null;
  }
@Override
  public @Nullable JavaResolveResult getStaticFactory()