Support for creating Java collection of references.