Document Java objects