PsiType[] () { PsiType[] types = PsiType.createArray(myComboBoxModel.mySuggestions.length); for (int i = 0; i < types.length; i++) { types[i] = myComboBoxModel.mySuggestions[i].getType(); } return types; }