public void visitJSReferenceExpression(@NotNull GrReferenceExpression reference) {
    if (used) {
      return;
    }
    super.visitReferenceExpression(reference);
    final PsiElement element = reference.resolve();
    if (parameter.equals(element)) {
      used = true;
    }
  }
public void visitJSReferenceExpression(@NotNull GrReferenceExpression reference)