@SuppressWarnings("unchecked")
	public static <T> T createObject(Class<T> clazz) {
		Constructor<?> constructor;
		try {
			constructor = clazz.getConstructor();
			return (T) constructor.newInstance(new Object[] {});
		} catch (SecurityException e) {
			e.printStackTrace();
		} catch (NoSuchMethodException e) {
			e.printStackTrace();
		} catch (IllegalArgumentException e) {
			e.printStackTrace();
		} catch (InstantiationException e) {
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		} catch (InvocationTargetException e) {
			e.printStackTrace();
		}

		return null;

	}