<commit_before>package org.rust.lang.module

import com.intellij.openapi.module.ModuleType
import org.rust.lang.icons.RustIcons
import javax.swing.Icon


class RustModuleType : ModuleType<RustModuleBuilder>("RUST_MODULE") {

    override fun createModuleBuilder(): RustModuleBuilder {
        return RustModuleBuilder()
    }

    override fun getName(): String {
        return "Rust Module"
    }

    override fun getDescription(): String {
        return "Rust Module"
    }

    override fun getBigIcon(): Icon {
        return RustIcons.FILE_BIG
    }

    override fun getNodeIcon(isOpened: Boolean): Icon {
        return RustIcons.FILE
    }

    companion object {
        val INSTANCE = RustModuleType()
    }
}<commit_msg>(PROJ): create module instance via ModuleTypeManager<commit_after>package org.rust.lang.module

import com.intellij.openapi.module.ModuleType
import com.intellij.openapi.module.ModuleTypeManager
import org.rust.lang.icons.RustIcons
import javax.swing.Icon


class RustModuleType : ModuleType<RustModuleBuilder>(RustModuleType.MODULE_TYPE_ID) {

    override fun createModuleBuilder(): RustModuleBuilder {
        return RustModuleBuilder()
    }

    override fun getName(): String {
        return "Rust Module"
    }

    override fun getDescription(): String {
        return "Rust Module"
    }

    override fun getBigIcon(): Icon {
        return RustIcons.FILE_BIG
    }

    override fun getNodeIcon(isOpened: Boolean): Icon {
        return RustIcons.FILE
    }

    companion object {
        val MODULE_TYPE_ID = "RUST_MODULE"
        val INSTANCE: RustModuleType = ModuleTypeManager.getInstance().findByID(MODULE_TYPE_ID) as RustModuleType
    }
}
{'fraction_non_alphanumeric': 0.08387477849970466, 'fraction_numerical': 0.0, 'mean_word_length': 3.2562814070351758, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2000505', 'n_tokens_mistral': 510, 'n_tokens_neox': 485, 'n_words': 111}