I personally document everything that can cause ambiguity later. I would not document
def next = counter.incrementAndGet()
as self-evident. Anyone who thinks you should document such methods has too much time in their hands.
In addition, in private methods, I would not personally worry about complying with Javadoc standards. Just by writing a few comments you are in my good books. I don't need @param or @return. This is for public APIs.
source share