lahodaj commented on code in PR #8220:
URL: https://github.com/apache/netbeans/pull/8220#discussion_r2213966151
##########
java/java.source.base/src/org/netbeans/api/java/source/TreeUtilities.java:
##########
@@ -151,7 +151,14 @@ public boolean isEnum(ClassTree tree) {
public boolean isEnumConstant(VariableTree tree) {
return (((JCTree.JCModifiers) tree.getModifiers()).flags & Flags.ENUM)
!= 0;
}
-
+
+ /**
+ * Checks whether given variable tree represents a record component.
+ */
Review Comment:
Might be good to at least add `@since`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists