@Test public void testGetAssociationFromProxy() { Association<Dummy> association = AssociationProxyUtil.getAssociation(t.getDummy()); Assert.assertNotNull(association); }
public static <T> Association<T> getAssociation(T proxy) { Association<T> association = null; if(proxy instanceof AssociationProxy) { association = ((AssociationProxy<T>)proxy).getAssociation(); } return association; }
AssociationProxyUtil { public static <T> Association<T> getAssociation(T proxy) { Association<T> association = null; if(proxy instanceof AssociationProxy) { association = ((AssociationProxy<T>)proxy).getAssociation(); } return association; } }
AssociationProxyUtil { public static <T> Association<T> getAssociation(T proxy) { Association<T> association = null; if(proxy instanceof AssociationProxy) { association = ((AssociationProxy<T>)proxy).getAssociation(); } return association; }  }
AssociationProxyUtil { public static <T> Association<T> getAssociation(T proxy) { Association<T> association = null; if(proxy instanceof AssociationProxy) { association = ((AssociationProxy<T>)proxy).getAssociation(); } return association; }  static T getService(T proxy); static T regenProxy(T proxy); static T getFirst(T proxy); static Association<T> getAssociation(T proxy); }
AssociationProxyUtil { public static <T> Association<T> getAssociation(T proxy) { Association<T> association = null; if(proxy instanceof AssociationProxy) { association = ((AssociationProxy<T>)proxy).getAssociation(); } return association; }  static T getService(T proxy); static T regenProxy(T proxy); static T getFirst(T proxy); static Association<T> getAssociation(T proxy);  }