报告记录上冗余的
final
、
static
修饰符。
示例:
final record R() { } class Test { static record R() { } }