Migration From Activiti to Flowable


I am currently trying to migrate Activiti application to Flowable. I have some methods that use org.activiti.engine.impl.pvm.* packages. I understand that they are removed in flowable and the process variables can be accessed using BpmnModel. Attached is the code I am trying to modify. I would like to know what are the equivalent classes to use getParticipantProcess(). Also, I noticed that the ‘Lane’ class definition (and variables) is different for activiti and flowable. How can I get/access the equivalent LaneSet in flowable.