public class Codemap extends Object
CodeMember objects that belong to CodePackage objects.
Note that here we follow java approach, that there's no such concept as subpackages. What by name seems like a subpackage is considered a completely separate entity, and classes in subpackage belong only to it, they do not belong transitively to the parent package. Although later, when we will transform codemap to level composition data, we will do exactly that, i.e. flatten subpackages from the same parent into one component.
| Constructor and Description |
|---|
Codemap() |
| Modifier and Type | Method and Description |
|---|---|
String |
formatted()
Returns a human-friendly, textual multiline representation of the codemap.
|
Collection<PackageDep> |
packageDeps() |
Collection<CodePackage> |
packages() |
Codemap |
select(Origin origin)
Returns a new codemap that contains only code elements defined in given origin.
|
public Collection<CodePackage> packages()
public Collection<PackageDep> packageDeps()
public Codemap select(Origin origin)
public String formatted()
Copyright © 2019. All rights reserved.