From 21ec4b92351749af705ac96a94854062f27919da Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Wed, 13 Dec 2023 10:51:47 +0100 Subject: [PATCH] [java] Update change log in Java.jjt --- pmd-java/etc/grammar/Java.jjt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pmd-java/etc/grammar/Java.jjt b/pmd-java/etc/grammar/Java.jjt index f38271fc25..790da4170c 100644 --- a/pmd-java/etc/grammar/Java.jjt +++ b/pmd-java/etc/grammar/Java.jjt @@ -1,4 +1,13 @@ /** + * Renamed various nodes: + * ClassOrInterfaceType -> ClassType + * ClassOrInterfaceDeclaration -> ClassDeclaration + * ClassOrInterfaceBody -> ClassBody + * AnyTypeDeclaration -> TypeDeclaration + * MethodOrConstructorDeclaration -> ExecutableDeclaration + * VariableDeclaratorId -> VariableId + * Andreas Dangel 12/2023 + *==================================================================== * Support "JEP 443: Unnamed Patterns and Variables" for Java 21 Preview. * New AST nodes: ASTUnnamedPattern * Support "JEP 430: String Templates" for Java 21 Preview.