public class DependencyEntry extends Object
| Constructor and Description |
|---|
DependencyEntry()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected BranchDependency |
addBranchAddDependency(aterm.ATermAppl assertion,
int branchId,
Branch branch)
Add a branch add dependency
|
protected BranchDependency |
addCloseBranchDependency(aterm.ATermAppl assertion,
Branch theBranch)
Add a branch remove ds dependency
|
protected void |
addEdgeDependency(Edge edge)
Add a edge dependency
|
protected void |
addMergeDependency(aterm.ATermAppl ind,
aterm.ATermAppl mergedTo)
Add a edge dependency
|
protected void |
addTypeDependency(aterm.ATermAppl ind,
aterm.ATermAppl type)
Add a type dependency
|
DependencyEntry |
copy() |
Set<BranchAddDependency> |
getBranchAdds()
Get branches
|
ClashDependency |
getClash()
Get clash dependency
|
Set<CloseBranchDependency> |
getCloseBranches()
Get the close branches for this entry
|
Set<Edge> |
getEdges()
Get edges
|
Set<MergeDependency> |
getMerges()
Get merges
|
Set<TypeDependency> |
getTypes()
Get types
|
void |
print()
Helper method to print all dependencies
TODO: this print is not complete
|
protected void |
setClash(ClashDependency clash)
Set clash dependency
|
public DependencyEntry copy()
protected void addTypeDependency(aterm.ATermAppl ind,
aterm.ATermAppl type)
ind - type - protected void addEdgeDependency(Edge edge)
edge - protected void addMergeDependency(aterm.ATermAppl ind,
aterm.ATermAppl mergedTo)
ind - mergedTo - protected BranchDependency addBranchAddDependency(aterm.ATermAppl assertion, int branchId, Branch branch)
branchId - branch - protected BranchDependency addCloseBranchDependency(aterm.ATermAppl assertion, Branch theBranch)
branchId - branch - public void print()
public Set<MergeDependency> getMerges()
public Set<TypeDependency> getTypes()
public Set<BranchAddDependency> getBranchAdds()
public Set<CloseBranchDependency> getCloseBranches()
public ClashDependency getClash()
protected void setClash(ClashDependency clash)
clash - Copyright © 2019. All rights reserved.