Skip to content

Commit

Permalink
refactor: move ClassAccessorBuilder to accessor module
Browse files Browse the repository at this point in the history
  • Loading branch information
zlataovce committed Sep 20, 2023
1 parent 373056d commit 93acc51
Show file tree
Hide file tree
Showing 6 changed files with 490 additions and 411 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ class AncestryTree<T : MappingTreeView, E : ElementMappingView>(
val indexNamespaces: Map<Version, ResolvedNamespace>,
val allowedNamespaces: Map<Version, Array<ResolvedNamespace>>
) : List<AncestryTree.Node<T, E>> by nodes {
/**
* The versions mapped in this tree.
*/
val versions: Set<Version>
get() = trees.keys

/**
* A node in the ancestry tree, immutable.
* This represents one element (class, field, method) in multiple versions.
Expand Down
Loading

0 comments on commit 93acc51

Please sign in to comment.