package com.zzwtec.third.config.restful;

import java.lang.reflect.ParameterizedType;

/**
 * create by Jomchen on 2018/11/30
 */
public class ZzwTypeReference<T> {

    @SuppressWarnings("unchecked")
    protected Class<T> zzwClass = (Class<T>) ( ((ParameterizedType) this.getClass().getGenericSuperclass()).getActualTypeArguments()[0] );

    public Class<T> getZzwClass() {
        return zzwClass;
    }

}
