KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > spoon > reflect > code > CtAssert


1 package spoon.reflect.code;
2
3 /**
4  * This code element defines an <code>assert</code> clause.
5  */

6 public interface CtAssert<T> extends CtStatement {
7     /**
8      * Gets the assert expression.
9      */

10     CtExpression<Boolean JavaDoc> getAssertExpression();
11
12     /**
13      * Sets the assert expression.
14      */

15     void setAssertExpression(CtExpression<Boolean JavaDoc> asserted);
16
17     /**
18      * Gets the expression of the assertion if defined.
19      */

20     CtExpression<T> getExpression();
21
22     /**
23      * Sets the expression of the assertion.
24      */

25     void setExpression(CtExpression<T> expression);
26 }
27
Popular Tags