Refactoring: java dokumentation.