< prev index next >
src/java.compiler/share/classes/javax/lang/model/element/ExecutableElement.java
Print this page
*** 144,154 ****
/**
* Returns 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 empty name is returned.
*
* @return the simple name of a constructor, method, or
* initializer
*/
@Override
--- 144,154 ----
/**
* Returns 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 {@linkplain Name#isEmpty() empty name} is returned.
*
* @return the simple name of a constructor, method, or
* initializer
*/
@Override
< prev index next >