Klasse ArrayInitializer


public class ArrayInitializer extends Expression
Array initializer AST node type.
 ArrayInitializer:
                { [ Expression { , Expression} [ , ]] }
 
Seit:
2.0
  • Felddetails

    • EXPRESSIONS_PROPERTY

      public static final ChildListPropertyDescriptor EXPRESSIONS_PROPERTY
      The "expressions" structural property of this node type (element type: Expression).
      Seit:
      3.0
  • 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
    • expressions

      public List expressions()
      Returns the live ordered list of expressions in this array initializer.
      Gibt zurück:
      the live list of expressions (element type: Expression)