Adding java docs to Custom collector