List<Location> (ClassType instrumentorCls) { List<Location> locations = new ArrayList<>(); Location location = findLocationInCaptureFieldModificationMethod(instrumentorCls); if (location != null) { locations.add(location); } location = findLocationInDefaultCaptureCollectionModificationMethod(instrumentorCls); if (location != null) { locations.add(location); } location = findLocationInSpecialCaptureCollectionModificationMethod(instrumentorCls); if (location != null) { locations.add(location); } return locations; }