r/java • u/TheMrMilchmann • Jun 05 '26
Introducing opt-in requirements for Java APIs
https://osmerion.github.io/OptIn/blog/welcome
49
Upvotes
r/java • u/TheMrMilchmann • Jun 05 '26
View all comments
Show parent comment
4
u/TheMrMilchmann Jun 05 '26
It kind of does, but it's a rather obscure feature, and (without hacks), you cannot do much with it. Here are a few pointers: