Either calling out to Python to run https://github.com/common-workflow-language/cwl-upgrader/ or by porting that logic to Java code here
Activity