(((Boolean) object) ? trueOption : falseOption).setSelected(true);
if (object != null) { (((Boolean) object) ? trueOption : falseOption).setSelected(true); }
    protected Layout getLayout(Object object, Class type) {        return new Layout() {            @Override            public HtmlComponent createComponent(Object object, Class type) {                HtmlMenu menu = new HtmlMenu();                                HtmlMenuOption trueOption  = menu.createOption(RenderUtils.getResourceString("TRUE"));                HtmlMenuOption falseOption = menu.createOption(RenderUtils.getResourceString("FALSE"));                                trueOption.setValue("true");                falseOption.setValue("false");                                (((Boolean) object) ? trueOption : falseOption).setSelected(true);                menu.setTargetSlot((MetaSlotKey) getInputContext().getMetaObject().getKey());                                return menu;            }                    };    }