code: private static Object[] makeStubForConstructor(final Class<?>[] constructorParamTypes) {
      if (constructorParamTypes.length == 0) {
        return EMPTY_OBJECT_ARRAY;
      }
      final Object[] result = new Object[constructorParamTypes.length];
      for (int i = 0; i < constructorParamTypes.length; i++) {
        final Class<?> arg = constructorParamTypes[i];
        final Object obj;
        if (arg.isArray()) {
          obj = null;
        } else {
          if (arg == byte.class) {
            obj = (byte) 0;
          } else if (arg == char.class) {
            obj = 'a';
          } else if (arg == short.class) {
            obj = (short) 0;
          } else if (arg == boolean.class) {
            obj = Boolean.FALSE;
          } else if (arg == int.class) {
            obj = 0;
          } else if (arg == long.class) {
            obj = 0L;
          } else if (arg == double.class) {
            obj = 0.0d;
          } else if (arg == float.class) {
            obj = 0.0f;
          } else {
            obj = null;
          }
        }
        result[i] = obj;
      }
      return result;
    }
docs: Make stub arguments for a constructor.
  
  @param constructorParamTypes types of constructor arguments, must not be
  null
  @return generated Object array contains stub values for the constructor,
  must not be null