A solution for fixing this would be for the Java macro to provide an annotation allowing to specify the placeholder value. We would need to also be able to provide that info in the WikiMacroParameterClass.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.