Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.model.java.source.tree
Interface AssertStatementT  view AssertStatementT download AssertStatementT.java

All Superinterfaces:
BlockElementT, SimpleStatementT, StatementT, Tree

public interface AssertStatementT
extends SimpleStatementT

An assert statement. JLS3 14.10. An assert statement has a conditional expression and an optional detail message expression. Here are some examples:

   assert enabled == true;
   assert(enabled == true);
   assert enabled == true: "Not enabled";
 
If there is a second expression and the condition evaluates to false, then the second expression is evaluated and then converted to a String used to create a new AssertionError.


Field Summary
 
Fields inherited from interface javax.ide.model.java.source.tree.StatementT
EMPTY_ARRAY
 
Methods inherited from interface javax.ide.model.java.source.tree.SimpleStatementT
getExpression, getExpressionName, getOutputExpression
 
Methods inherited from interface javax.ide.model.java.source.tree.StatementT
getStatementLabels, getStatementToken
 
Methods inherited from interface javax.ide.model.java.source.tree.Tree
accept, accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty