Skip to content

Commit

Permalink
JavaKeywords: Add sealed
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie authored and Stephan202 committed Apr 9, 2022
1 parent 108a2de commit 4f94082
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ private JavaKeywords() {}
* <p>See: the <a
* href="https://docs.oracle.com/javase/tutorial/java/nutsandbolts/_keywords.html">Oracle
* Documentation</a> on Java Keywords.
*
* <p>In addition, `sealed` is added for Java 17. See: <a href="openjdk.net/jeps/409">JEP-409</a>.
*/
private static final ImmutableSet<String> JAVA_KEYWORDS =
ImmutableSet.of(
Expand Down Expand Up @@ -50,6 +52,7 @@ private JavaKeywords() {}
"protected",
"public",
"return",
"sealed",
"short",
"static",
"strictfp",
Expand Down

0 comments on commit 4f94082

Please sign in to comment.