JEP 354: Sealed Classes

GPTKB entity

Statements (16)
Predicate Object
gptkbp:instance_of gptkb:Java_Enhancement_Proposal
gptkbp:bfsLayer 4
gptkbp:bfsParent gptkb:JDK_17
gptkbp:aims_to control which classes can extend or implement a class or interface
gptkbp:allows defining permitted subclasses
gptkbp:enhances type safety
gptkbp:introduced gptkb:Java_15
gptkbp:is_documented_in Open JDK documentation
gptkbp:is_implemented_in gptkb:language
gptkbp:is_part_of Java language features
gptkbp:is_related_to JEP 360: Sealed Types
gptkbp:is_supported_by gptkb:software
gptkbp:proposed_by Sealed classes and interfaces in Java
JDK community
gptkbp:provides a way to restrict class hierarchies
gptkbp:requires compiler support