@Test public void testGetAnnotatedReferenceTableName() throws Exception { assertEquals("children", strategy.getReferenceTableName(getFacet(Referer.class, "withAnnotation"))); }
public String getReferenceTableName(Facet facet) { Table table = facet.getAnnotation(Table.class); return table == null ? getTableName(facet.getType().getElementType().getRawType()) : table.value(); }
DefaultNamingStrategy implements NamingStrategy { public String getReferenceTableName(Facet facet) { Table table = facet.getAnnotation(Table.class); return table == null ? getTableName(facet.getType().getElementType().getRawType()) : table.value(); } }
DefaultNamingStrategy implements NamingStrategy { public String getReferenceTableName(Facet facet) { Table table = facet.getAnnotation(Table.class); return table == null ? getTableName(facet.getType().getElementType().getRawType()) : table.value(); }  }
DefaultNamingStrategy implements NamingStrategy { public String getReferenceTableName(Facet facet) { Table table = facet.getAnnotation(Table.class); return table == null ? getTableName(facet.getType().getElementType().getRawType()) : table.value(); }  static String underscoreSeparated(String camelCaseName); @Override String getColumnName(Facet facet); String getReferenceTableName(Facet facet); @Override String getTableName(Class<?> pojoClass); }
DefaultNamingStrategy implements NamingStrategy { public String getReferenceTableName(Facet facet) { Table table = facet.getAnnotation(Table.class); return table == null ? getTableName(facet.getType().getElementType().getRawType()) : table.value(); }  static String underscoreSeparated(String camelCaseName); @Override String getColumnName(Facet facet); String getReferenceTableName(Facet facet); @Override String getTableName(Class<?> pojoClass);  }