Javadoc would be nice here, still not sure what this does wrt multiple returns