mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8263333: Improve links from core reflection to JLS and JVMS
Reviewed-by: jfranck
This commit is contained in:
parent
9399e1b710
commit
acda812958
5 changed files with 21 additions and 1 deletions
|
@ -96,6 +96,7 @@ import sun.security.util.SecurityConstants;
|
|||
*
|
||||
* @since 9
|
||||
* @see Class#getModule()
|
||||
* @jls 7.7 Module Declarations
|
||||
*/
|
||||
|
||||
public final class Module implements AnnotatedElement {
|
||||
|
@ -169,6 +170,7 @@ public final class Module implements AnnotatedElement {
|
|||
* @return {@code true} if this is a named module
|
||||
*
|
||||
* @see ClassLoader#getUnnamedModule()
|
||||
* @jls 7.7.5 Unnamed Modules
|
||||
*/
|
||||
public boolean isNamed() {
|
||||
return name != null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue