import java.util.Arrays;
import java.util.List;


public class MUC_Sample {

    public void testMUC() {
        List<String> l = getImmutableList();
        
        l.add("Uhoh");
    }
    
    public List<String> getImmutableList() {
        return Arrays.asList("foo");
    }
}

@@ -35,20 +35,125 @@
 va.util.
-List
+HashSet;%0Aimport java.util.List;%0Aimport java.util.Set;%0A%0Aimport edu.emory.mathcs.backport.java.util.Collections
 ;%0A%0A%0Apubl
@@ -306,83 +306,449 @@
 lic 
-List%3CString%3E getImmutableList() %7B%0A        return Arrays.asList(%22foo%22);%0A    %7D
+void testPossiblyMUC() %7B%0A        Set%3CString%3E s = getPossiblyImmutableSet(Math.random() %3E 0.5);%0A        %0A        s.add(%22Yowsers%22);%0A    %7D%0A    %0A    public List%3CString%3E getImmutableList() %7B%0A        return Arrays.asList(%22foo%22);%0A    %7D%0A    %0A    public Set%3CString%3E getPossiblyImmutableSet(boolean b) %7B%0A        if (b)%0A            return Collections.unmodifiableSet(new HashSet%3CString%3E());%0A        %0A        return new HashSet%3CString%3E();%0A    %7D%0A    %0A    
 %0A%7D%0A

add test for Possibly Immutable