+
+/**
+ * A simple newtype for RwLockReadGuard<'a, NetworkGraph>.
+ * This exists only to make accessing a RwLock<NetworkGraph> possible from
+ * the C bindings, as it can be done directly in Rust code.
+ */
+@SuppressWarnings("unchecked") // We correctly assign various generic arrays
+public class LockedNetworkGraph extends CommonBase implements AutoCloseable {