else {
if (!uniqueText.equals(item1.getLookupString())) {
item = null;
break;
}
<BUG>if (item.getObject()instanceof PsiMethod && item1.getObject()instanceof PsiMethod) {
</BUG>
if (!signatureSensitive) {
final PsiParameter[] parms = ((PsiMethod)item1.getObject()).getParameterList().getParameters();
if (parms.length > 0) {

else {
if (!uniqueText.equals(item1.getLookupString())) {
item = null;
break;
}
if (item.getObject() instanceof PsiMethod && item1.getObject() instanceof PsiMethod) {
if (!signatureSensitive) {
final PsiParameter[] parms = ((PsiMethod)item1.getObject()).getParameterList().getParameters();
if (parms.length > 0) {
