src/de/plpt/ArgumentParser/ArgumentParser.java
/**
	 * Process normal primitive type parameters and cast them into it's required type
	 * It Parameter type as an ParameterInfo annotation, this annotation will be applied on the given value
	 *
	 * @param matcher   Matcher to match input string to regex groups
	 * @param index     GroupIndex of matcher
	 * @param type      mathod defined parameter type
	 * @param paramAnno Parameter Annotations
	 * @return strongly typed primitive type value with evaluated annotations
	 * @throws ArgumentParserException    is thrown when tere is an Error while converting value to it's primitive type
	 * @throws IntervalViolationException is thrown when a given number is not in the given interval
	 */
Process normal primitive type parameters and cast them into it's required type
It Parameter type as an ParameterInfo annotation, this annotation will be applied on the given value


Process normal primitive type parameters and cast them into it ' s required type It Parameter type as an ParameterInfo annotation this annotation will be applied on the given value
private Object processNormalParameter(Matcher matcher, int index, Class<?> type, Annotation[] paramAnno)
			throws ArgumentParserException, IntervalViolationException {
		Object parsedValue = null;
		String paramString = matcher.group(index + 1);
		try {
			parsedValue = parseValue(paramString, type);
		} catch (NumberFormatException nfe) {
			createSpecificNumberFormatException(index, type, paramString, nfe);
		}
		if (paramAnno.length > 0) {
			ParameterInfo parameterInfo = (ParameterInfo) paramAnno[0];
			validateParameter(index, parameterInfo, parsedValue);
		}
		return parsedValue;
	}
private Object processNormalParameter ( Matcher matcher , int index , Class < ? > type , Annotation [ ] paramAnno ) throws ArgumentParserException , IntervalViolationException { Object parsedValue = null ; String paramString = matcher . group ( index + 1 ) ; try { parsedValue = parseValue ( paramString , type ) ; } catch ( NumberFormatException nfe ) { createSpecificNumberFormatException ( index , type , paramString , nfe ) ; } if ( paramAnno . length > 0 ) { ParameterInfo parameterInfo = ( ParameterInfo ) paramAnno [ 0 ] ; validateParameter ( index , parameterInfo , parsedValue ) ; } return parsedValue ; }
Process normal primitive type parameters and cast them into it's required type
 It Parameter type as an ParameterInfo annotation, this annotation will be applied on the given value
Process normal primitive type parameters and cast them into it ' s required type It Parameter type as an ParameterInfo annotation this annotation will be applied on the given value