Add missing @Override and make methods static

Found via error-prone.
1 file changed