java: private-override

Signed-off-by: Andrew Tselischev <andrewtselischev@gmail.com>