結果 : java call method only if not null