JEP 443: Unnamed Patterns and Variables (Preview)

GPTKB entity

Statements (21)
Predicate Object
gptkbp:instanceOf gptkb:EP
gptkbp:author gptkb:Brian_Goetz
gptkbp:component gptkb:language
gptkbp:created 2023-02-01
https://www.w3.org/2000/01/rdf-schema#label JEP 443: Unnamed Patterns and Variables (Preview)
gptkbp:JEP_number 443
gptkbp:JEP_type gptkb:software
gptkbp:motive Improve the readability and maintainability of code by allowing developers to ignore unneeded variables and patterns.
gptkbp:plotSummary Introduces unnamed patterns and variables to the Java language as a preview feature.
gptkbp:preview true
gptkbp:proposedBy the use of _ (underscore) as an unnamed variable or pattern
gptkbp:relatedTo Record Patterns
Pattern Matching
Switch Expressions
gptkbp:scope gptkb:Java_Language
gptkbp:status Proposed to Target
gptkbp:target gptkb:JDK_21
gptkbp:title Unnamed Patterns and Variables (Preview)
gptkbp:type gptkb:software
gptkbp:bfsParent gptkb:Java_21
gptkbp:bfsLayer 6