code: public static void assertNoPrimitiveParameters(final Method method, Class<? extends Annotation> annotation)
     {
        for (Class<?> type : method.getParameterTypes())
        {
           if (type.isPrimitive())
           {
              throw annotation == null ? MESSAGES.methodCannotDeclarePrimitiveParameters(method) : MESSAGES.methodCannotDeclarePrimitiveParameters2(method, annotation);
           }
        }
     }
docs: Asserts method don't declare primitive parameters.
  
  @param method to validate
  @param annotation annotation to propagate in exception message