You can generate Java™ wrapper classes when you generate the related program. For details on how to set up the build descriptor, see Java wrapper.
Related concepts
Generation
Generation of Java code into a projectJava wrapper
Related reference
Build descriptor options
Java wrapper classes
Output of Java wrapper generation