結果 : java check if type implements interface