void () { doTest(""" import java.util.*; class CollectionAddedToSelf { private List foo = new ArrayList(); private List bar = new ArrayList(); private Map baz = new HashMap(); public void escher() { foo.add(/*'add()' called on collection 'foo' with itself as argument*/foo/**/); foo.set(0, /*'set()' called on collection 'foo' with itself as argument*/foo/**/); foo.add(bar); baz.put(/*'put()' called on collection 'baz' with itself as argument*/baz/**/, foo); baz.put(foo, /*'put()' called on collection 'baz' with itself as argument*/baz/**/); baz.put(foo, bar); } }"""); }