public class Branch
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
AstNode |
getCondition() |
Statement |
getConditionalStatement() |
int |
getDepth() |
java.lang.String |
getDepthDetail() |
Branch |
getParent() |
boolean |
isParentOf(Branch branch) |
boolean |
isParentOrChildOf(Branch branch) |
void |
setCondition(AstNode condition) |
void |
setConditionalStatement(Statement stmt) |
java.lang.String |
toString() |
public Branch(Branch parent)
public Branch()
public final void setConditionalStatement(Statement stmt)
public final void setCondition(AstNode condition)
public final Statement getConditionalStatement()
public final Branch getParent()
public final AstNode getCondition()
public final int getDepth()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getDepthDetail()
public boolean isParentOf(Branch branch)
public boolean isParentOrChildOf(Branch branch)
Copyright © 2012 SonarSource. All Rights Reserved.