結果 : java call method if object is not null