I just learned about this fine looking syntax
Collections.emptyList()
to get an empty List with elements which a
List
As you mentioned, Java generics are build time only. They are not used at run time.
Because of this, the old approach you were using will be your only way to accomplish this.