test_class.file: beanmother-core/src/test/java/io/beanmother/core/util/PrimitiveTypeUtilsTest.java
test_class.identifier: PrimitiveTypeUtilsTest
test_case.body: @Test(expected = IllegalArgumentException.class)
      public void raiseArgumentErrorByNonWrapperTypeList() {
          List list = new ArrayList();
          PrimitiveTypeUtils.toWrapperListToPrimitiveArray(list, Integer.class);
      }
test_case.class_method_signature: PrimitiveTypeUtilsTest.raiseArgumentErrorByNonWrapperTypeList()
test_case.full_signature: @Test(expected = IllegalArgumentException.class) public void raiseArgumentErrorByNonWrapperTypeList()
test_case.identifier: raiseArgumentErrorByNonWrapperTypeList
test_case.invocations: toWrapperListToPrimitiveArray
test_case.modifiers: @Test(expected = IllegalArgumentException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void raiseArgumentErrorByNonWrapperTypeList()
focal_class.file: beanmother-core/src/main/java/io/beanmother/core/util/PrimitiveTypeUtils.java
focal_class.identifier: PrimitiveTypeUtils
focal_class.class_method_signature: PrimitiveTypeUtils.toWrapper(final TypeToken<?> primitiveTypeToken)
focal_class.full_signature: public static Class<?> toWrapper(final TypeToken<?> primitiveTypeToken)
focal_class.identifier: toWrapper
focal_class.modifiers: public static
focal_class.parameters: (final TypeToken<?> primitiveTypeToken)
focal_class.return: Class<?>
focal_class.signature: Class<?> toWrapper(final TypeToken<?> primitiveTypeToken)
focal_class.class_method_signature: PrimitiveTypeUtils.toWrapperTypeToken(final TypeToken<?> primitiveTypeToken)
focal_class.full_signature: public static TypeToken<?> toWrapperTypeToken(final TypeToken<?> primitiveTypeToken)
focal_class.identifier: toWrapperTypeToken
focal_class.modifiers: public static
focal_class.parameters: (final TypeToken<?> primitiveTypeToken)
focal_class.return: TypeToken<?>
focal_class.signature: TypeToken<?> toWrapperTypeToken(final TypeToken<?> primitiveTypeToken)
focal_class.class_method_signature: PrimitiveTypeUtils.toWrapper(final Class<?> primitiveType)
focal_class.full_signature: public static Class<?> toWrapper(final Class<?> primitiveType)
focal_class.identifier: toWrapper
focal_class.modifiers: public static
focal_class.parameters: (final Class<?> primitiveType)
focal_class.return: Class<?>
focal_class.signature: Class<?> toWrapper(final Class<?> primitiveType)
focal_class.class_method_signature: PrimitiveTypeUtils.toWrapperListToPrimitiveArray(final List wrapperList, Class<?> primitiveType)
focal_class.full_signature: public static Object toWrapperListToPrimitiveArray(final List wrapperList, Class<?> primitiveType)
focal_class.identifier: toWrapperListToPrimitiveArray
focal_class.modifiers: public static
focal_class.parameters: (final List wrapperList, Class<?> primitiveType)
focal_class.return: Object
focal_class.signature: Object toWrapperListToPrimitiveArray(final List wrapperList, Class<?> primitiveType)
focal_method.body: public static Object toWrapperListToPrimitiveArray(final List wrapperList, Class<?> primitiveType) {
          if (primitiveType.isArray()) {
              primitiveType = primitiveType.getComponentType();
          }
  
          if (boolean.class.equals(primitiveType)) {
              return Booleans.toArray(wrapperList);
          } else if (float.class.equals(primitiveType)) {
              return Floats.toArray(wrapperList);
          } else if (long.class.equals(primitiveType)) {
              return Longs.toArray(wrapperList);
          } else if (int.class.equals(primitiveType)) {
              return Ints.toArray(wrapperList);
          } else if (short.class.equals(primitiveType)) {
              return Shorts.toArray(wrapperList);
          } else if (byte.class.equals(primitiveType)) {
              return Bytes.toArray(wrapperList);
          } else if (double.class.equals(primitiveType)) {
              return Doubles.toArray(wrapperList);
          } else if (char.class.equals(primitiveType)) {
              return Chars.toArray(wrapperList);
          } else {
              throw new IllegalArgumentException(primitiveType.getName() + " is not a supported primitive type");
          }
      }
focal_method.class_method_signature: PrimitiveTypeUtils.toWrapperListToPrimitiveArray(final List wrapperList, Class<?> primitiveType)
focal_method.full_signature: public static Object toWrapperListToPrimitiveArray(final List wrapperList, Class<?> primitiveType)
focal_method.identifier: toWrapperListToPrimitiveArray
focal_method.invocations: isArray getComponentType equals toArray equals toArray equals toArray equals toArray equals toArray equals toArray equals toArray equals toArray getName
focal_method.modifiers: public static
focal_method.parameters: (final List wrapperList, Class<?> primitiveType)
focal_method.return: Object
focal_method.signature: Object toWrapperListToPrimitiveArray(final List wrapperList, Class<?> primitiveType)