結果 : java call method if object not null