Hello,

Information (like the following) is published.

The Java® Language Specification
Java SE 18 Edition

Section “Single-Type-Import Declarations”:
https://docs.oracle.com/javase/specs/jls/se18/html/jls-7.html#jls-7.5.1

“…
A single-type-import declaration imports a single class or interface by giving 
its canonical name, making it available under a simple name in the module, 
class, and interface declarations of the compilation unit in which the 
single-type-import declaration appears.
…”


Section “Fully Qualified Names and Canonical Names”:
https://docs.oracle.com/javase/specs/jls/se18/html/jls-6.html#jls-6.7

“…
The fully qualified name of a named package that is not a subpackage of a named 
package is its simple name.
…”



In which directory may the corresponding source file (for which the mentioned 
“simple name” was selected) be stored?

Do you find a storage location like “<project_root>/src/<simple_name>” usable 
for an evolving Java package in available development environments?


Regards,
Markus

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to