What does a qualified name mean for a module?
Jayaprakash Artanareeswaran
jay.a at outlook.in
Tue Jun 6 14:24:58 UTC 2017
Hello,
The newly introduced ModuleElement has two APIs to get a module's name, namely getQualifiedName() and getSimpleName(). The JLS, though says a module only has one name.
"A module name consists of one or more Java identifiers (§3.8) separated by "."
tokens."
I also see this in the "JPMS: Modules in the Java Language and JVM":
ModuleName:
Identifier
ModuleName . Identifier
I am not really sure what a qualifier for a module is. In the given example
Module M.N {}
are 'M' and 'N' separate names and if so, what do they denote?
Jay
More information about the jigsaw-dev
mailing list