package org.metaborg.util;

/**
 * Pointer pointer in Java.
 */
public class Ref<T> {
    private T value;


    public Ref() {
        this(null);
    }

    public Ref(T value) {
        this.value = value;
    }


    public T get() {
        return value;
    }

    public void set(T value) {
        this.value = value;
    }
}

@@ -21,16 +21,46 @@
 .util;%0A%0A
+import java.io.Serializable;%0A%0A
 /**%0A * P
@@ -107,17 +107,95 @@
  Ref%3CT%3E 
-%7B
+implements Serializable %7B%0A    private static final long serialVersionUID = 1L;%0A
 %0A    pri

Make Ref serializable.