New candidate JEP: 409: Sealed Classes
Brian Goetz
brian.goetz at oracle.com
Wed Apr 7 01:08:20 UTC 2021
Yes, Javadoc shows that a class is sealed, and its permitted subtypes
(if accessible).
On 4/6/2021 6:50 PM, Thiago Henrique Hupner wrote:
> Hi.
> Is the plan to show in the Javadoc that a class is sealed or is this an
> implementation detail?
>
> Thanks
>
> Em ter., 6 de abr. de 2021 às 19:43, <mark.reinhold at oracle.com> escreveu:
>
>> https://openjdk.java.net/jeps/409
>>
>> Summary: Enhance the Java programming language with sealed classes and
>> interfaces. Sealed classes and interfaces restrict which other classes
>> or interfaces may extend or implement them.
>>
>> - Mark
>>
More information about the amber-dev
mailing list