--- /dev/null
+PROGRAM=test
+
+SOURCE_FILES=$(PROGRAM).java
+
+BUILDSCRIPT=~/research/Robust/src/buildscript
+BSFLAGS= -joptimize -flatirusermethods -mainclass Test -justanalyze -disjoint -disjoint-k 1 -disjoint-write-dots final -disjoint-alias-file aliases.txt normal -enable-assertions
+
+all: $(PROGRAM).bin
+
+view: PNGs
+ eog *.png &
+
+PNGs: DOTs
+ d2p *COMPLETE*.dot
+
+DOTs: $(PROGRAM).bin
+
+$(PROGRAM).bin: $(SOURCE_FILES)
+ $(BUILDSCRIPT) $(BSFLAGS) -o $(PROGRAM) $(SOURCE_FILES)
+
+clean:
+ rm -f $(PROGRAM).bin
+ rm -fr tmpbuilddirectory
+ rm -f *~
+ rm -f *.dot
+ rm -f *.png
+ rm -f aliases.txt
--- /dev/null
+public class Graph {
+ public Node n;
+}
+
+public class Node {
+ public Config c;
+ public Node n;
+}
+
+public class Config {
+}
+
+
+
+public class Test {
+
+ static public Node nodeFactory() {
+ return disjoint N new Node();
+ }
+
+ static public void main( String[] args ) {
+ Graph g = disjoint G new Graph();
+ Node u = nodeFactory();
+ Node v = nodeFactory();
+ Config c = disjoint C new Config();
+
+ g.n = u;
+ u.n = v; u.c = c;
+ v.n = u; v.c = c;
+ }
+}