public static @Nullable LongRangeBinOp binOpFromToken(IElementType token) {
    if (token == null) return null;
    if (token.equals(JavaTokenType.PLUS)) {
      return LongRangeBinOp.PLUS;
    }
    if (token.equals(JavaTokenType.MINUS)) {
      return LongRangeBinOp.MINUS;
    }
    if (token.equals(JavaTokenType.AND)) {
      return LongRangeBinOp.AND;
    }
    if (token.equals(JavaTokenType.OR)) {
      return LongRangeBinOp.OR;
    }
    if (token.equals(JavaTokenType.XOR)) {
      return LongRangeBinOp.XOR;
    }
    if (token.equals(JavaTokenType.PERC)) {
      return LongRangeBinOp.MOD;
    }
    if (token.equals(JavaTokenType.DIV)) {
      return LongRangeBinOp.DIV;
    }
    if (token.equals(JavaTokenType.LTLT)) {
      return LongRangeBinOp.SHL;
    }
    if (token.equals(JavaTokenType.GTGT)) {
      return LongRangeBinOp.SHR;
    }
    if (token.equals(JavaTokenType.GTGTGT)) {
      return LongRangeBinOp.USHR;
    }
    if (token.equals(JavaTokenType.ASTERISK)) {
      return LongRangeBinOp.MUL;
    }
    return null;
  }
public static @Nullable LongRangeBinOp binOpFromToken(IElementType token)