private void debugCompatibleEdges( Collection<Scope> results, int v1, int v2, List<ScopeExpression> matchers ) { for( Scope result : results ) { FlowElement lhs = elementGraph.getDelegate().getEdgeSource( result ); int lhsIndex = elementGraph.getIndex( lhs ); FlowElement rhs = elementGraph.getDelegate().getEdgeTarget( result ); int rhsIndex = elementGraph.getIndex( rhs ); LOG.debug( "compatible edge: {}:{} -> {}:{}, having: {}", lhsIndex, lhs, rhsIndex, rhs, result.printSimple() ); } for( ScopeExpression matcher : matchers ) LOG.debug( " - {} -> {} matcher: {}", v1, v2, matcher ); }