표현식을 instanceof 검사를 포함하는 if 블록으로 래핑합니다.