You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "lahodaj (via GitHub)" <gi...@apache.org> on 2025/07/17 18:01:53 UTC

Re: [PR] Organize Members hint: don't rearrange record components [netbeans]

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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists