|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.brics.string.java.AssertionBranch
public class AssertionBranch
A subgraph containing assertions. The only statements allowed are assertions and nop statements.
Constructor Summary | |
---|---|
AssertionBranch(Method method)
Creates an empty branch. |
|
AssertionBranch(Statement first,
Statement last)
Creates a non-empty branch of assertions. |
Method Summary | |
---|---|
Statement |
getFirst()
The first statement. |
Statement |
getLast()
The last statement. |
boolean |
isEmpty()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssertionBranch(Method method)
public AssertionBranch(Statement first, Statement last)
first
- first statementlast
- last statementMethod Detail |
---|
public Statement getFirst()
public Statement getLast()
public boolean isEmpty()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |