class Types {

    public static Class<?> getActualTypeArgument(Class<?> declaringClass, Type genericType) {
        if(null == declaringClass) {
            return getActualTypeArgument(genericType);
        }else{
            return getActualType(declaringClass, getTypeArgument(genericType));
        }
    }

    protected  Types();

}