class TypeParameterResolver {

    public static Type resolveFieldType(Field field, Type srcType) {
        // 获取需要解析的字段
        Type fieldType = field.getGenericType();
        // 获取字段类型
        Class<?> declaringClass = field.getDeclaringClass();
        // 解析方式
        return resolveType(fieldType, srcType, declaringClass);
    }

    private  TypeParameterResolver();

}