return methods[i].getParameterTypes();
}
}
return new Class[]{};
}
<BUG>public static Method getMethod(Class clazz, String name, Class[] parameterTypes)
</BUG>
{
Method[] methods = clazz.getMethods();
for (int i = 0; i < methods.length; i++)

return methods[i].getParameterTypes();
}
}
return new Class[]{};
}
public static Method getMethod(Class<?> clazz, String name, Class<?>[] parameterTypes)
{
Method[] methods = clazz.getMethods();
for (int i = 0; i < methods.length; i++)
