Package org.eclipse.gmt.modisco.java
Interface AssertStatement
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier,Statement
- All Known Implementing Classes:
AssertStatementImpl
public interface AssertStatement extends Statement
A representation of the model object 'Assert Statement'.
The following features are supported:
- See Also:
JavaPackage.getAssertStatement()
-
Method Summary
Modifier and Type Method Description ExpressiongetExpression()Returns the value of the 'Expression' containment reference.ExpressiongetMessage()Returns the value of the 'Message' containment reference.voidsetExpression(Expression value)Sets the value of the 'Expression' containment reference.voidsetMessage(Expression value)Sets the value of the 'Message' containment reference.Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getMessage
Expression getMessage()Returns the value of the 'Message' containment reference.- Returns:
- the value of the 'Message' containment reference.
- See Also:
setMessage(Expression),JavaPackage.getAssertStatement_Message()
-
setMessage
Sets the value of the 'Message' containment reference.- Parameters:
value- the new value of the 'Message' containment reference.- See Also:
getMessage()
-
getExpression
Expression getExpression()Returns the value of the 'Expression' containment reference.- Returns:
- the value of the 'Expression' containment reference.
- See Also:
setExpression(Expression),JavaPackage.getAssertStatement_Expression()
-
setExpression
Sets the value of the 'Expression' containment reference.- Parameters:
value- the new value of the 'Expression' containment reference.- See Also:
getExpression()
-