Class ContinueStatement


public class ContinueStatement extends Statement
Continue statement AST node type.
 ContinueStatement:
    continue [ Identifier ] ;
 
Since:
2.0
Restriction:
This class is not intended to be instantiated by clients.
  • Field Details

  • Method Details

    • propertyDescriptors

      public static List propertyDescriptors(int apiLevel)
      Returns a list of structural property descriptors for this node type. Clients must not modify the result.
      Parameters:
      apiLevel - the API level; one of the AST.JLS* constants
      Returns:
      a list of property descriptors (element type: StructuralPropertyDescriptor)
      Since:
      3.0
    • getLabel

      public SimpleName getLabel()
      Returns the label of this continue statement, or null if there is none.
      Returns:
      the label, or null if there is none
    • setLabel

      public void setLabel(SimpleName label)
      Sets or clears the label of this continue statement.
      Parameters:
      label - the label, or null if there is none
      Throws:
      IllegalArgumentException - if:
      • the node belongs to a different AST
      • the node already has a parent