Lists/references/slicing for Java/IL compiler