@Test public void shouldFindRecursiveProperty() throws Exception { RecursiveContainer pojo = new RecursiveContainer(); pojo.content = new RecursiveContent(); pojo.content.recursion = pojo; scanner.scan(pojo); verify(visitor).visit("content/body", pojo.content, RecursiveContent.class.getField("body")); }
public void scan(Object object) { try { scan(object, "", false, new ArrayList<Object>()); } catch (JMSException e) { throw new RuntimeException(e); } catch (IllegalAccessException e) { throw new RuntimeException(e); } }
JmsPropertyScanner { public void scan(Object object) { try { scan(object, "", false, new ArrayList<Object>()); } catch (JMSException e) { throw new RuntimeException(e); } catch (IllegalAccessException e) { throw new RuntimeException(e); } } }
JmsPropertyScanner { public void scan(Object object) { try { scan(object, "", false, new ArrayList<Object>()); } catch (JMSException e) { throw new RuntimeException(e); } catch (IllegalAccessException e) { throw new RuntimeException(e); } } JmsPropertyScanner(Visitor visitor); }
JmsPropertyScanner { public void scan(Object object) { try { scan(object, "", false, new ArrayList<Object>()); } catch (JMSException e) { throw new RuntimeException(e); } catch (IllegalAccessException e) { throw new RuntimeException(e); } } JmsPropertyScanner(Visitor visitor); void scan(Object object); }
JmsPropertyScanner { public void scan(Object object) { try { scan(object, "", false, new ArrayList<Object>()); } catch (JMSException e) { throw new RuntimeException(e); } catch (IllegalAccessException e) { throw new RuntimeException(e); } } JmsPropertyScanner(Visitor visitor); void scan(Object object);  }