in src/main/java/org/apache/sling/graphql/helpers/lazyloading/LazyLoadingMap.java [112:125]
public T remove(Object key) {
final Supplier<T> supplier = suppliers.remove(key);
final T oldValue = super.remove(key);
if(computeValueOnRemove) {
if(supplier != null) {
stats.suppliersCallCount++;
return supplier.get();
} else {
return oldValue;
}
} else {
return null;
}
}