< prev index next >

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

Print this page

        

@@ -54,10 +54,11 @@
 
     public StructTree withNameAndDecls(String newName, List<Tree> newDecls) {
         return new StructTree(cursor(), definition, newDecls, newName);
     }
 
+    // definition of this struct if available anywhere in the compilation unit
     public Optional<Tree> definition() {
         return definition;
     }
 
     public List<Tree> declarations() {
< prev index next >