-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Implement module violation messages macro #13422
Copy link
Copy link
Closed
Description
The initial idea of having an annotation for message keys has been scraped (#13114). Since we now use macros for examples, it makes sense to make one for violation messages.
The macro should be called like
<macro name="violation-messages">
<param name="path" value="AnnotationLocation"/>
</macro>and generate the following content
<ul>
<li>
<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%2Fcom%2Fpuppycrawl%2Ftools%2Fcheckstyle%2Fchecks%2Fannotation%20path%3A**%2Fmessages*.properties+repo%3Acheckstyle%2Fcheckstyle+%22annotation.location%22">
annotation.location</a>
</li>
<li>
<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%2Fcom%2Fpuppycrawl%2Ftools%2Fcheckstyle%2Fchecks%2Fannotation%20path%3A**%2Fmessages*.properties+repo%3Acheckstyle%2Fcheckstyle+%22annotation.location.alone%22">
annotation.location.alone</a>
</li>
</ul>Reactions are currently unavailable