src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Tree.java

Print this page

        

@@ -528,10 +528,14 @@
 
         Kind(Class<? extends Tree> intf) {
             associatedInterface = intf;
         }
 
+       /**
+        * Returns the associated interface type that uses this kind.
+        * @return the associated interface
+        */
         public Class<? extends Tree> asInterface() {
             return associatedInterface;
         }
 
         /**