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

Quick Search    Search Deep

Source code: javax/ide/model/java/source/tree/AssertStatementT.java


1   /*
2    * @(#)AssertStatementT.java
3    */
4   
5   package javax.ide.model.java.source.tree;
6   
7   /**
8    * An assert statement. JLS3 14.10. An assert statement has a
9    * conditional expression and an optional detail message expression.
10   * Here are some examples: <p/>
11   *
12   * <pre>
13   *   assert enabled == true;
14   *   assert(enabled == true);
15   *   assert enabled == true: "Not enabled";
16   * </pre>
17   * 
18   * If there is a second expression and the condition evaluates to
19   * false, then the second expression is evaluated and then converted
20   * to a String used to create a new AssertionError.
21   *
22   * @author Andy Yu
23   * */
24  public interface AssertStatementT
25    extends SimpleStatementT
26  {
27  }