Java: Add predicates for sealed classes#7988
Conversation
a654e7c to
483f482
Compare
|
Please add a change note and remove the |
My intention with this was to make it a bit more obvious what these predicates do, because not everyone might be up to date with the latest Java features, and for users of older Java versions these predicates would be irrelevant. For |
|
(Note that the way we format change notes has recently changed. The instructions are here.) |
|
I don't mind much either way re: the Java 17 feature text |
483f482 to
a496b1d
Compare
|
Thanks! I have addressed the review comment, added a change note (I hope the format is correct) and force pushed the changes. |
Adds two predicates to
ClassOrInterfaceto support sealed classes (Java 17 feature; previously a preview feature). This is based on #6178.I have also restructured the type tests a bit to be all under the common
typesfolder. Please let me know if I should revert that.Feel free to close this pull request in case you have your own changes for this planned internally, or want to implement this yourself.