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/SwitchLabelT.java


1   /*
2    * @(#)SwitchLabelT.java
3    */
4   
5   package javax.ide.model.java.source.tree;
6   
7   /**
8    * A switch label, default or case.
9    *
10   * @author Andy Yu
11   * */
12  public interface SwitchLabelT
13    extends Tree, BlockElementT
14  {
15    // ----------------------------------------------------------------------
16  
17    /**
18     * @return The switch label expression. Null if this is a default
19     * label.
20     */
21    public ExpressionT getExpression();
22  
23    /**
24     * @return The owning switch statement. Null if none (i.e. deformed tree).
25     */
26    public SwitchStatementT getOwningSwitch();
27  
28  
29    // ----------------------------------------------------------------------
30  }