private void revisitGateways ( Definitions def ) { List < RootElement > rootElements = def . getRootElements ( ) ; for ( RootElement root : rootElements ) { if ( root instanceof Process ) { setGatewayInfo ( ( Process ) root ) ; } } }
Updates the gatewayDirection attributes of all gateways .