@Override
  public void visitNewExpression(@NotNull PsiNewExpression newExpression) {
    super.visitNewExpression(newExpression);
    if (!usesAWTPeerClass(newExpression.getType())) {
      return;
    }
    registerNewExpressionError(newExpression);
  }
@Override
  public void visitNewExpression(@NotNull PsiNewExpression newExpression)