@Override
  public PsiElement processMatch(Match match) throws IncorrectOperationException {
    boolean inMultipleFiles = !isInSameFile(match);
    if (inMultipleFiles) {
      relaxMethodVisibility(match);
    }
    boolean inMultipleClasses = !isInSameClass(match);

    PsiElement element = super.processMatch(match);

    if (inMultipleFiles || inMultipleClasses) {
      PsiMethodCallExpression callExpression = getMatchMethodCallExpression(element);
      if (callExpression != null) {
        return updateCallQualifier(callExpression);
      }
    }
    return element;
  }
@Override
  public PsiElement processMatch(Match match)