<s> package org . eclipse . jdt . core . dom ; import java . util . ArrayList ; import java . util . List ; public class ArrayInitializer extends Expression { public static final ChildListPropertyDescriptor EXPRESSIONS_PROPERTY = new ChildListPropertyDescriptor ( ArrayInitializer . class , "expressions" , Expression . class , CYCLE_RISK ) ; private static final List PROPERTY_DESCRIPTORS ; static { List properyList = new ArrayList ( 2 ) ; createPropertyList ( ArrayInitializer . class , properyList ) ; addProperty ( EXPRESSIONS_PROPERTY , properyList ) ; PROPERTY_DESCRIPTORS = reapPropertyList ( properyList ) ; } public static List propertyDescriptors ( int apiLevel ) { return PROPERTY_DESCRIPTORS ; } private ASTNode . NodeList expressions = new ASTNode . NodeList ( EXPRESSIONS_PROPERTY ) ; ArrayInitializer ( AST ast ) { super ( ast ) ; } final List internalStructuralPropertiesForType ( int apiLevel ) { return propertyDescriptors ( apiLevel ) ; } final List internalGetChildListProperty ( ChildListPropertyDescriptor property ) { if ( property == EXPRESSIONS_PROPERTY ) { return expressions ( ) ; } return super . internalGetChildListProperty ( property ) ; } final int getNodeType0 ( ) { return ARRAY_INITIALIZER ; } ASTNode clone0 ( AST target ) { ArrayInitializer result = new ArrayInitializer ( target ) ; result . setSourceRange ( getStartPosition ( ) , getLength ( ) ) ; result . expressions ( ) . addAll ( ASTNode . copySubtrees ( target , expressions ( ) ) ) ; return result ; } final boolean subtreeMatch0 ( ASTMatcher matcher , Object other ) { return matcher . match ( this , other ) ; } void accept0 ( ASTVisitor visitor ) { boolean visitChildren = visitor . visit ( this ) ; if ( visitChildren ) { acceptChildren ( visitor , this . expressions ) ; } visitor . endVisit ( this ) ; } public List expressions ( ) { return this . expressions ; } int memSize ( ) { return BASE_NODE_SIZE + 1 * 4 ; } int treeSize ( ) { return memSize ( ) + this . expressions . listSize ( ) ; } } </s>