Add getParameterTypes to MethodMetadata