JRadioButton (ModelScopeItem m) { ModuleScopeItem model = (ModuleScopeItem) m; JRadioButton button = new JRadioButton(); button.setText(CodeInsightBundle.message("scope.option.module.with.mnemonic", model.Module.getName())); return button; }