Apparently `.getConstructor().newInstance()` inste...
# getting-started
d
Apparently
.getConstructor().newInstance()
instead of
.newInstance()
deprecation annotations generally should have an explanation of why, possibly with what you are supposed to do instead.