< prev index next >

src/jdk.jextract/share/classes/com/sun/tools/jextract/tree/EnumTree.java

Print this page

        

@@ -46,10 +46,11 @@
     public EnumTree withName(String newName) {
         return name().equals(newName)? this :
             new EnumTree(cursor(), definition, constants, newName);
     }
 
+    // definition of this struct if available anywhere in the compilation unit
     public Optional<Tree> definition() {
         return definition;
     }
 
     public List<FieldTree> constants() {
< prev index next >