void (@NotNull final Project project, @NotNull final PyClass clazz, final PyClass @NotNull ... superClasses) { final Collection<String> superClassNames = new ArrayList<>(); for (final PyClass superClass : Collections2.filter(Arrays.asList(superClasses), NotNullPredicate.INSTANCE)) { if (superClass.getName() != null) { superClassNames.add(superClass.getName()); insertImport(clazz, superClass); } } addSuperClassExpressions(project, clazz, superClassNames, null); }