I assume that this is from the same user as the question on stackoverflow: https://stackoverflow.com/questions/69179692/generate-java-code-given-a-diagram-plantuml
The answer given there (https://stackoverflow.com/a/69182037/1657886) is quite clear I think:
That’s not the way PlantUML or the PlantUML integration plugin works. You are looking for something that supports you doing Model-Driven Development. You‘ll have to search for other tools.
Did I miss something?