For example, KeyFactory has a bunch of methods that return B, which is actually a type parameter of the non-public parent class. But nothing indicates that in the API documentation. We should eliminate cases like this, which might sometimes involve overriding methods just to specify a concrete return type and return super.whatever().
For example, KeyFactory has a bunch of methods that return
B, which is actually a type parameter of the non-public parent class. But nothing indicates that in the API documentation. We should eliminate cases like this, which might sometimes involve overriding methods just to specify a concrete return type and returnsuper.whatever().