fitgoodies-core/src/main/java/de/cologneintelligence/fitgoodies/typehandler/TypeHandlerFactory.java
private TypeHandler<?> instantiate(Class<? extends TypeHandler<?>> typeAdapter, String parameter) {
		try {
			final Constructor<? extends TypeHandler<?>> constructor = typeAdapter.getConstructor(String.class);
			return constructor.newInstance(parameter);
		} catch (final Exception e) {
			throw new RuntimeException(e);
		}
	}
private TypeHandler<?> instantiate(Class<? extends TypeHandler<?>> typeAdapter, String parameter) {
		try {
			final Constructor<? extends TypeHandler<?>> constructor = typeAdapter.getConstructor(String.class);
			return constructor.newInstance(parameter);
		} catch (final Exception e) {
			throw new RuntimeException(e);
		}
	}
private TypeHandler < ? > instantiate ( Class < ? extends TypeHandler < ? > > typeAdapter , String parameter ) { try { final Constructor < ? extends TypeHandler < ? > > constructor = typeAdapter . getConstructor ( String . class ) ; return constructor . newInstance ( parameter ) ; } catch ( final Exception e ) { throw new RuntimeException ( e ) ; } }
Returns a new instance of <class>typeAdapter</class>, passing
<class>baseTypeAdapter</class> as the only constructor argument.

@param typeAdapter subclass of {@link TypeHandler}
which is used to create the new adapter.
@param parameter   column/row parameter
@return an instance of {@code typeAdapter}
Returns a new instance of <class > typeAdapter< / class > passing <class > baseTypeAdapter< / class > as the only constructor argument .