Class ModuleImportDeclarationsSecondPreviewNotes
java.lang.Object
net.jrodolfo.java_evolution.java24.module_import_declarations.ModuleImportDeclarationsSecondPreviewNotes
Explains module import declarations second preview in Java 24.
Module import declarations let source code import public top-level types from packages exported by a named module. Java 24 kept the feature in preview before finalization in Java 25.
This repository keeps the Java 24 step as notes because the feature became final in Java 25, where the final notes explain the stable form.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExplains what a module import declaration makes available.nextStep()Points learners to the final Java 25 notes.Explains the older import model.Explains why Java 24 keeps this entry as a bridge note.Explains the import problem.Describes the Java 24 maturity level.Shows the declaration shape.
-
Constructor Details
-
ModuleImportDeclarationsSecondPreviewNotes
public ModuleImportDeclarationsSecondPreviewNotes()
-
-
Method Details
-
problemSolved
-
olderImportModel
-
moduleImportModel
Explains what a module import declaration makes available.- Returns:
- a short semantic explanation
-
syntaxShape
-
previewStep
Explains why Java 24 keeps this entry as a bridge note.- Returns:
- a short explanation
-
secondPreviewStatus
Describes the Java 24 maturity level.- Returns:
- a short status note
-
nextStep
Points learners to the final Java 25 notes.- Returns:
- a short next-step note
-