public List < Invocation > toChain ( ) { List < Invocation > chain = parent == null ? new ArrayList < Invocation > ( ) : parent . toChain ( ) ; chain . add ( this ) ; return chain ; }
Returns a list of invocation .