List<Location> (ReferenceType cls) { try { return cls.allLineLocations(); } catch (AbsentInformationException ignored) { return null; } catch (ObjectCollectedException ignored) { return Collections.emptyList(); } }