void (final String baseClassName, @NonNls final String method, @NotNull final PsiClass collectionsClass) { if (isClassType(myExpectedType, baseClassName) || isClassType(myExpectedType, JAVA_UTIL_COLLECTION)) { addMethodItem(myExpectedType, method, collectionsClass); } else if (isClassType(myDefaultType, baseClassName) || isClassType(myDefaultType, JAVA_UTIL_COLLECTION)) { addMethodItem(myDefaultType, method, collectionsClass); } }