public Collection < BasicBlock > getBlocksContainingInstructionWithOffset ( int offset ) { LinkedList < BasicBlock > result = new LinkedList <> ( ) ; for ( Iterator < BasicBlock > i = blockIterator ( ) ; i . hasNext ( ) ; ) { BasicBlock block = i . next ( ) ; if ( block . containsInstructionWithOffset ( offset ) ) { result . add ( block ) ; } } return result ; }
Get a Collection of basic blocks which contain the bytecode instruction with given offset .