< prev index next >

src/java.compiler/share/classes/javax/lang/model/element/ExecutableElement.java

Print this page
@@ -137,14 +137,16 @@
      @Override
      Element getEnclosingElement();
  
      /**
       * {@return the simple name of a constructor, method, or
-      * initializer}  For a constructor, the name {@code "<init>"} is
-      * returned, for a static initializer, the name {@code "<clinit>"}
-      * is returned, and for an anonymous class or instance
-      * initializer, an <a href=Name.html#empty_name>empty name</a> is
+      * initializer}  For a constructor, the name {@code "<init>"} or
+      * initializer} For a constructor, the name {@code "<init>"} is
+      * returned, for a value class static factory method, the name
+      * {@code "<vnew>"} is returned, for a static initializer, the
+      * name {@code "<clinit>"} is returned, and for an anonymous class
+      * or instance initializer, an <a href=Name.html#empty_name>empty name</a> is
       * returned.
       */
      @Override
      Name getSimpleName();
  }
< prev index next >