Reports unnecessary final modifiers when used with the record definition.
final
Example:
final record R(int a) {} // modifier is unnecessary