Java org.eclipse.jdt.core.dom AssertStatement fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.dom AssertStatement fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.dom AssertStatement.

The text is from its open source code.

Constructor

AssertStatement(AST ast)
Creates a new unparented assert statement node owned by the given AST.

Method

ExpressiongetExpression()
Returns the first expression of this assert statement.
ExpressiongetMessage()
Returns the message expression of this assert statement, or null if there is none.
voidsetExpression(Expression expression)
Sets the first expression of this assert statement.
voidsetMessage(Expression expression)
Sets or clears the message expression of this assert statement.