code: public Collection<Location> getLocationsContainingInstructionWithOffset(int offset) {
          LinkedList<Location> result = new LinkedList<>();
          for (Iterator<Location> i = locationIterator(); i.hasNext();) {
              Location location = i.next();
              if (location.getHandle().getPosition() == offset) {
                  result.add(location);
              }
          }
          return result;
      }
docs: Get a Collection of Locations which specify the instruction at given
  bytecode offset.
  
  @param offset
  the bytecode offset
  @return all Locations referring to the instruction at that offset