Java lexer should support modern keywords
sbrannen opened this issue · comments
Name of the lexer
Java
Additional context
Keywords and features added since Java 5 should be supported by the Java lexer.
There may be more missing, but it appears support for the following needs to be added.
@interface
: should be treated the same asclass
andinterface
- See
public @interface CsvToPerson
example in the JUnit 5 User Guide.
- See
enum
: support exists but it should be treated the same asclass
,interface
, and@interface
sealed
permits
record
yield
when