@Override
  protected LocalQuickFix @NotNull [] buildFixes(Object... infos) {
    List<LocalQuickFix> fixes = new ArrayList<>();

    final PsiElement context = (PsiElement)infos[0];

    SuppressForTestsScopeFix testsScopeFix = SuppressForTestsScopeFix.build(this, context);
    if(testsScopeFix != null) {
      fixes.add(testsScopeFix);
    }

    if (context instanceof PsiReferenceExpression referenceExpression &&
        referenceExpression.getParent() instanceof PsiReferenceExpression probablyReferenceToCall &&
        probablyReferenceToCall.getParent() instanceof PsiMethodCallExpression callExpression) {

      String name = referenceExpression.getReferenceName();
      String methodName = null;
      if (HardcodedMethodConstants.OUT.equals(name)) {
        methodName = myOutLogLevel.name().toLowerCase(Locale.ROOT);
      }
      else if (HardcodedMethodConstants.ERR.equals(name)) {
        methodName = myErrLogLevel.name().toLowerCase(Locale.ROOT);
      }

      if (methodName != null) {
        ModCommandAction fix = ConvertSystemOutToLogCallFix.createFix(callExpression, methodName);
        if (fix != null) {
          LocalQuickFix localQuickFix = ModCommandService.getInstance().wrapToQuickFix(fix);
          fixes.add(localQuickFix);
        }
      }
    }

    return fixes.toArray(LocalQuickFix.EMPTY_ARRAY);
  }
@Override
  protected LocalQuickFix @NotNull [] buildFixes(Object... infos)