add missing getPrimitiveJavaObject implementations