add @deprecated to pythonToJavaMap