< prev index next >

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

Print this page

        

@@ -135,11 +135,11 @@
      * For example, the simple name of the type element {@code
      * java.util.Set<E>} is {@code "Set"}.
      *
      * If this element represents an unnamed {@linkplain
      * PackageElement#getSimpleName package} or unnamed {@linkplain
-     * ModuleElement#getSimpleName module}, an empty name is returned.
+     * ModuleElement#getSimpleName module}, an {@linkplain Name#isEmpty() empty name} is returned.
      *
      * If it represents a {@linkplain ExecutableElement#getSimpleName
      * constructor}, the name "{@code <init>}" is returned.  If it
      * represents a {@linkplain ExecutableElement#getSimpleName static
      * initializer}, the name "{@code <clinit>}" is returned.
< prev index next >