R can use `rJava` to communicate with java. R also has a class system called
R6. If you want to use a java library with native `rJava` in R there is
potentially a lot of glue code needed, and R library specific packaging
configuration required. However if you don't mind writing an R-centric API
in Java you can generate all of this glue code using a few Java annotations
and normal javadoc comments. This maven plugin provides an annotation
processor that writes that glue code and creates a ...