Reports redundant final, static modifiers on records.

Example:


final record R() {
}

class Test {
  static record R() {
  }
}