implement java literals