Josm-reverter is a project mainly written in Java, based on the GPL-2.0 license.
JOSM reverter plugin
Readme for your plugin