[Java] Add notify to Java keywords (#8724)

Fixes #8723

Co-authored-by: Neville Dipale <neville@urbanlogiq.com>
Co-authored-by: Max Burke <max@urbanlogiq.com>
This commit is contained in:
Wakahisa
2025-11-26 17:59:18 +02:00
committed by GitHub
parent afd07bdec5
commit 20068cfa05

View File

@@ -56,16 +56,17 @@ static Namer::Config JavaDefaultConfig() {
static std::set<std::string> JavaKeywords() {
return {
"abstract", "continue", "for", "new", "switch",
"assert", "default", "goto", "package", "synchronized",
"boolean", "do", "if", "private", "this",
"break", "double", "implements", "protected", "throw",
"byte", "else", "import", "public", "throws",
"case", "enum", "instanceof", "return", "transient",
"catch", "extends", "int", "short", "try",
"char", "final", "interface", "static", "void",
"class", "finally", "long", "strictfp", "volatile",
"const", "float", "native", "super", "while",
"abstract", "assert", "boolean", "break", "byte",
"case", "catch", "char", "class", "const",
"continue", "default", "do", "double", "else",
"enum", "extends", "final", "finally", "float",
"for", "goto", "if", "implements","import",
"instanceof","int", "interface", "long", "native",
"new", "notify", "package", "private", "protected",
"public", "return", "short", "static", "strictfp",
"super", "switch", "synchronized","this", "throw",
"throws", "transient","try", "void", "volatile",
"while",
};
}