Klasse ContinueStatement


public class ContinueStatement extends Statement
Continue statement AST node type.
 ContinueStatement:
    continue [ Identifier ] ;
 
Seit:
2.0
  • Felddetails

  • Methodendetails

    • propertyDescriptors

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

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

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