getImportUseIndexes() should not return use statements for traits