public static Object fromReflectType(String typeSig, Object value) {
		switch (typeSig.charAt(0)) {
		case 'Z':
			return new Integer(((Boolean) value).booleanValue() ? 1 : 0);
		case 'B':
		case 'S':
			return new Integer(((Number) value).intValue());
		case 'C':
			return new Integer(((Character) value).charValue());
		default:
			return value;
		}
	}