@Override
  protected @NotNull String getTextForElement(@NotNull PsiElement element) {
    if (element instanceof PsiBinaryExpression exp) {
      final PsiJavaToken sign = exp.getOperationSign();
      final IElementType tokenType = sign.getTokenType();
      final String operatorString;
      if (tokenType.equals(JavaTokenType.LTLT)) {
        operatorString = "*";
      }
      else {
        operatorString = "/";
      }
      return CommonQuickFixBundle.message("fix.replace.x.with.y", sign.getText(), operatorString);
    }
    else {
      final PsiAssignmentExpression exp =
        (PsiAssignmentExpression)element;
      final PsiJavaToken sign = exp.getOperationSign();
      final IElementType tokenType = sign.getTokenType();
      final String assignString;
      if (JavaTokenType.LTLTEQ.equals(tokenType)) {
        assignString = "*=";
      }
      else {
        assignString = "/=";
      }
      return CommonQuickFixBundle.message("fix.replace.x.with.y", sign.getText(), assignString);
    }
  }
@Override
  protected @NotNull String getTextForElement(@NotNull PsiElement element)