Tokens::getImportUseIndexes - simplify function