< prev index next >

src/java.base/share/classes/java/lang/constant/DirectMethodHandleDesc.java

Print this page
*** 230,10 ***
--- 230,11 ---
      ClassDesc owner();
  
      /**
       * Returns the name of the method or field described by this nominal descriptor.
       * For constructors, returns the reserved name {@code "<init>"}.
+      * For static value class instance factory methods, return {@code "<vnew>"}.
       *
       * @return the name of the method or field
       */
      String methodName();
  
< prev index next >