Skip to content

Commit

Permalink
fix: suppress this-escape warning introduced in JDK 21.
Browse files Browse the repository at this point in the history
  • Loading branch information
oraluben committed Aug 26, 2023
1 parent a27cf84 commit 4bac41e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ import org.antlr.v4.runtime.misc.*;
>>

Lexer(lexer, atn, actionFuncs, sempredFuncs, superClass) ::= <<
@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast", "CheckReturnValue"})
@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast", "CheckReturnValue", "this-escape"})
public class <lexer.name> extends <superClass; null="Lexer"> {
static { RuntimeMetaData.checkVersion("<lexerFile.ANTLRVersion>", RuntimeMetaData.VERSION); }

Expand Down

0 comments on commit 4bac41e

Please sign in to comment.