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

Print this page

        

*** 528,537 **** --- 528,541 ---- 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; } /**