Implement p6reprname op on JVM.