Covariant return type in Java
I thought this would work because of covariant return types?
Covariant return types in Java enums Java typecast with covariant return type Is covariant return type overriding according jls? Interface and Covariant return type Can someone clarify covariant return types in Java(6)? Java: Covariant Wildcard Bounds in Method parameters Extending variables and covariant return types Why are arrays covariant but generics are invariant? Would using covariant return type in clone really break compatibility? Why is void not covariant in Java? How covariant method overriding is implemented using bridging Technique in java Covariant structure fails with capture-of error in Java Java inheritor array construction and covariant return Why is it considered bad practice to define a covariant compareTo method? Java covariant return types not working for overriding methods of an enum instance? covariant return or generic Covariant collection with delegation What's the equivalent of C# IEnumerable in Java? The covariant-capable one, not the Iterable subtype and covariant return type Why can Java method parameters be explicitly covariant? Why doesn't Java 5+ API take advantage of covariant return types? Java covariant array bad? Covariant Typeparameter in scala needs to be invariant in java interface Why is this covariant override permitted if the method is concrete, but not if abstract? Why this covariant return type declaration doesn't produce an unckecked warning? Supporting covariant type conversions in Java How do covariant parameter types work in java Guarantee covariant return type with generics in Java What is a covariant return type?