Skip to content

Commit

Permalink
add combined mapping key
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Jul 19, 2024
1 parent 045b34f commit 015cbc1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ abstract class MappingResolver<T : MappingResolver<T>>(val name: String) {
private val _entries = finalizableMapOf<String, MappingEntry>()
val entries: Map<String, MappingEntry> get() = _entries

open val combinedNames by lazy {
entries.keys.sorted().map { entries[it]?.id }.joinToString { "-" }
}

lateinit var namespaces: Map<Namespace, Boolean>
private set
lateinit var resolved: MemoryMappingTree
Expand Down

0 comments on commit 015cbc1

Please sign in to comment.