Cannot resolve method {0} because the declaring type of the method handle {1} is generic. Explicitly provide the declaring ...