add post java private methods override