if (constructors.length > 0 && list != null) {
JavaResolveResult[] results = resolveHelper.multiResolveConstructor((PsiClassType)type, list, list);
MethodCandidateInfo result = null;
if (results.length == 1) result = (MethodCandidateInfo)results[0];
PsiMethod constructor = result == null ? null : result.getElement();
<BUG>if (constructor != null && expression.getClassReference() != null) {
final ProblemDescriptor problemDescriptor = checkDeprecated(constructor, expression.getClassReference(), manager);
if (problemDescriptor != null){
problems.add(problemDescriptor);
}</BUG>
}

if (constructors.length > 0 && list != null) {
JavaResolveResult[] results = resolveHelper.multiResolveConstructor((PsiClassType)type, list, list);
MethodCandidateInfo result = null;
if (results.length == 1) result = (MethodCandidateInfo)results[0];
PsiMethod constructor = result == null ? null : result.getElement();
if (constructor != null && expression.getClassReference() != null) {
checkDeprecated(constructor, expression.getClassReference(), holder);
