Refactoring. New method hasBoundedWildcardInReturnType().