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
Signed-off-by: Yichen Yan <oraluben@outlook.com>
  • Loading branch information
oraluben authored and parrt committed Aug 28, 2023
1 parent a27cf84 commit 9bd489a
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 9bd489a

Please sign in to comment.