How can I write a Java method that returns a generic type without needing to cast

visit shbcf.ru