Camunda BPMN with Java

Extract the following elements from a BPMN file using the Camunda Modeler API.

A BPMN task that has a topic entered in the Properties (Implementation Type “External”). Java should be used. Please help me with this question.

From these tasks I want to display:
Activitiy ID
Topic Name