return getTypeParameters(cls, superclass); final Map<String, Type> preliminaryResult = getTypeParameters(cls, superclass); final Map<String, Type> result = new HashMap<>(preliminaryResult.size()); for (Map.Entry<String, Type> entry : preliminaryResult.entrySet()) {