Example usage for Java org.eclipse.jdt.core.dom AssertStatement fields, constructors, methods, implement or subclass
The text is from its open source code.
AssertStatement(AST ast) Creates a new unparented assert statement node owned by the given AST. |
Expression | getExpression() Returns the first expression of this assert statement. |
Expression | getMessage() Returns the message expression of this assert statement, or null if there is none. |
void | setExpression(Expression expression) Sets the first expression of this assert statement. |
void | setMessage(Expression expression) Sets or clears the message expression of this assert statement. |