ReflectionHelper { List<SyntheticField> getSyntheticFields(Class<?> clazz) { return makeSynthetic(clazz, getFields(clazz)); }  T newInstance(Class<T> clazz); T newInstance(String className);  }
@Test public void testGetSyntheticFields() throws Exception { List<SyntheticField> fields = reflectionHelper.getSyntheticFields(SimpleExtendedDomain.class); assertThat(fields).hasSize(4). extracting("name").contains("a", "b", "c", "i"); }