I want to achieve generic java method that it should be pass class object in method parameter
E.g :
My method definition Here in different project class
public String getRtbAd(HttpServletRequest request, T userProfileClass,
List<String> systemControlDetails, T wurflDataGenericClass,String redisConnectionUrl, String dimension, Short rtbTimeOut)
{
//My Bussiness logic
}
Here,actully I am calling method from different project class
public String getRtbAd(request, userProfileObject,
systemControlDetails, wurflDataGenericObject,redisConnectionUrl, dimension, rtbTimeOut)