How can i run my macro in java code

I have my macro which work fine. How can i make it run with java code. Any exemple

UI.Vision does have code export features. I know that some simpler web automation tools like the original Selenium IDE or Katalon have it. But the UI.Vision tool has many advanced features like image recognition, OCR and real-user simulation (e.g. XClick, Xtype). Such features can not be converted/exported as Java code.

Solution: Instead of code export you can use the powerful command line API and start the UI.Vision tool directly from Java, or any other programming language. So no code export required! Just start UI.Vision from within your Java code.