boolean (PsiType type1, PsiType type2) { if (type1 instanceof GrTupleType) { List<PsiType> types = ((GrTupleType)type1).getComponentTypes(); if (types.isEmpty() && InheritanceUtil.isInheritor(type2, CommonClassNames.JAVA_UTIL_LIST)) return true; } return false; }