System.out.println("pluginId: "+replaceId == null ? id : replaceId); 编译后:System.out.println(("pluginId: " + replaceId == null) ? this.id : replaceId);