Não é possível resolver o método Method name porque o tipo declarativo do identificador de método X é genérico. Forneça explicitamente o tipo declarativo para GetMethodFromHandle.
Click to search this error in Google
English version
Cannot resolve method Method name because the declaring type of the method handle X is generic. Explicitly provide the declaring type to GetMethodFromHandle.