Class RecordAsTypeIdentifierNotAllowed

All Implemented Interfaces:
TypedValidator<Node>, Validator, VoidVisitor<ProblemReporter>, BiConsumer<Node,​ProblemReporter>

public class RecordAsTypeIdentifierNotAllowed extends VisitorValidator
Validates that "record" cannot be used as identifier for type declarations (e.g., classes, enums, and records). For details, see JEP 395