How to define generic super type for static factory method?
- by Esko
If this has already been asked, please link and close this one.
I'm currently prototyping a design for a simplified API of a certain another API that's a lot more complex (and potentially dangerous) to use.
Considering the related somewhat complex object creation I decided to use static factory methods to simplify the API and I currently have…