31/01/2023 06:30, Ivan Malov: > Hi Rongwei, > > OK, I hear ya. Thanks for persevering. > > I still hope community will comment on the possibility to > provide a hint mechanism for always-the-same match items, > with the perspective of becoming more versatile.
Any hint could be imagined. But please keep this in mind: a hint is *not* a matching criteria, for the simple reason that a hint can be ignored by the PMD. So you cannot use a hint to avoid specifying a match item, but you could use a hint to specify that an item is the same for all the rules of a table. > Other > than that, your current patch might be OK, but, again, > I think other reviewers' comments (if any) shall > be addressed. But no strong objections from me. > > By the way, for this "specialise" field, in your opinion, > which extra flags could emerge in future / would be nice > to have? I mean, is there any concept of what can be > added to this field's namespace and what can't be? I think there is no limit with hint flags to be added. I repeat it again: hints can be ignored by the PMDs.