private static void fillOneDimArray(Object array, String[] values, IAutoConfigParser<?> parser, IAutoConfigValidator<?> validator) throws Exception
	{
		for (int i = 0;i < values.length;++ i)
		{
			String valueString = PATTERN_ELEMENT_ESCAPES.matcher(values[i]).replaceAll("$1");
			Object value;
			if (parser.getClass() != NullParser.class)
			{
				value = parser.parse(valueString);
			}
			else
			{
				value = doValueOfConversion(valueString, array.getClass().getComponentType());
			}

			if (validator.getClass() != NullValidator.class)
			{
				validator.getClass().getMethod("validate", array.getClass().getComponentType()).invoke(validator, value);
			}

			Array.set(array, i, value);
		}
	}