public static DiamondInferenceResult resolveInferredTypes(PsiNewExpression newExpression) {
    return resolveInferredTypes(newExpression, newExpression);
  }
public static DiamondInferenceResult resolveInferredTypes(PsiNewExpression newExpression)