void (ConstructorDelegatesToStaticMethod holder) { cleaner.register(holder, () -> free(<warning descr="Runnable passed to Cleaner.register() captures 'holder' reference">holder</warning>.resource)); }