src/main/java/org/wymiwyg/commons/util/arguments/ArgumentHandler.java
public <I> I getInstance(Class<I> interfaceClass)
			throws InvalidArgumentsException {
		I instance;
		instance = AnnotatedInterfaceArguments
				.getInstance(interfaceClass, this).getValueObject();

		return instance;
	}
public <I> I getInstance(Class<I> interfaceClass)
			throws InvalidArgumentsException {
		I instance;
		instance = AnnotatedInterfaceArguments
				.getInstance(interfaceClass, this).getValueObject();

		return instance;
	}
public < I > I getInstance ( Class < I > interfaceClass ) throws InvalidArgumentsException { I instance ; instance = AnnotatedInterfaceArguments . getInstance ( interfaceClass , this ) . getValueObject ( ) ; return instance ; }
This methods uses <code>AnnotatedInterfaceArguments</code> to return an
instance of the specified class with methods returning values from the
arguments of this Handler.

Note that the interface must be annotated using <code>CommandLine</code>.

@param <I> the type of the interface
@param interfaceClass a class instance for I, i.e. <em>I</em>.class
@return an object of type I
@throws InvalidArgumentsException thrown when the argument-list doesn't match the definition in the interface annotations
This methods uses <code > AnnotatedInterfaceArguments< / code > to return an instance of the specified class with methods returning values from the arguments of this Handler .