Add a missing license

While at it, add also rudimentary JavaDocs

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>