code: public static void assertNotPrimitiveType(final Field field, Class<? extends Annotation> annotation)
     {
        if (field.getType().isPrimitive())
        {
           throw annotation == null ? MESSAGES.fieldCannotBeOfPrimitiveOrVoidType(field) : MESSAGES.fieldCannotBeOfPrimitiveOrVoidType2(field, annotation);
        }
     }
docs: Asserts field is not of primitive type.
  
  @param method to validate
  @param annotation annotation to propagate in exception message