private void extractAllChildren(List<InvocationSequenceData> resultList,InvocationSequenceData invocation){
  resultList.add(invocation);
  for (  InvocationSequenceData child : invocation.getNestedSequences()) {
    extractAllChildren(resultList,child);
  }
}

private void extractAllChildren ( List < InvocationSequenceData > resultList , InvocationSequenceData invocation ) { resultList . add ( invocation ) ; for ( InvocationSequenceData child : invocation . getNestedSequences ( ) ) { extractAllChildren ( resultList , child ) ; } }
extracts all invocations inside the invocation in one list via reflection .
