void (PsiType[] types) { myTypeSelector.setTypes(types); final PsiType preferredType = getPreferredType(types, getDefaultType()); if (preferredType != null) { myTypeSelector.selectType(preferredType); } }