public DelegatedCollabAdvert(Advertiser ag, Object o) { super(ag); Method[] meths = ag.getClass().getMethods(); System.out.println("Passed Object is:" + o); getInterfaces(o.getClass(), arr); }