/** * Returns structural property descriptor for the "initializer" property * of this node (child type: {@link Expression}). * * @return the property descriptor * @since 3.1 */ public final ChildPropertyDescriptor getInitializerProperty() { return internalInitializerProperty(); }
/** * Returns structural property descriptor for the "initializer" property * of this node (child type: {@link Expression}). * * @return the property descriptor * @since 3.1 */ public final ChildPropertyDescriptor getInitializerProperty() { return internalInitializerProperty(); }
/** * Returns structural property descriptor for the "initializer" property * of this node (child type: {@link Expression}). * * @return the property descriptor * @since 3.1 */ public final ChildPropertyDescriptor getInitializerProperty() { return internalInitializerProperty(); }
/** * Returns structural property descriptor for the "initializer" property * of this node (child type: {@link Expression}). * * @return the property descriptor * @since 3.1 */ public final ChildPropertyDescriptor getInitializerProperty() { return internalInitializerProperty(); }
/** * Returns structural property descriptor for the "initializer" property * of this node (child type: {@link Expression}). * * @return the property descriptor * @since 3.1 */ public final ChildPropertyDescriptor getInitializerProperty() { return internalInitializerProperty(); }
/** * Returns structural property descriptor for the "initializer" property * of this node (child type: {@link Expression}). * * @return the property descriptor * @since 3.1 */ public final ChildPropertyDescriptor getInitializerProperty() { return internalInitializerProperty(); }
/** * Sets or clears the initializer of this variable declaration. * * @param initializer the initializer expression node, or <code>null</code> * if there is none * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setInitializer(Expression initializer) { ChildPropertyDescriptor p = internalInitializerProperty(); ASTNode oldChild = this.optionalInitializer; preReplaceChild(oldChild, initializer, p); this.optionalInitializer = initializer; postReplaceChild(oldChild, initializer, p); }
/** * Sets or clears the initializer of this variable declaration. * * @param initializer the initializer expression node, or <code>null</code> * if there is none * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setInitializer(Expression initializer) { ChildPropertyDescriptor p = internalInitializerProperty(); ASTNode oldChild = this.optionalInitializer; preReplaceChild(oldChild, initializer, p); this.optionalInitializer = initializer; postReplaceChild(oldChild, initializer, p); }
/** * Sets or clears the initializer of this variable declaration. * * @param initializer the initializer expression node, or <code>null</code> * if there is none * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setInitializer(Expression initializer) { ChildPropertyDescriptor p = internalInitializerProperty(); ASTNode oldChild = this.optionalInitializer; preReplaceChild(oldChild, initializer, p); this.optionalInitializer = initializer; postReplaceChild(oldChild, initializer, p); }
/** * Sets or clears the initializer of this variable declaration. * * @param initializer the initializer expression node, or <code>null</code> * if there is none * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setInitializer(Expression initializer) { ChildPropertyDescriptor p = internalInitializerProperty(); ASTNode oldChild = this.optionalInitializer; preReplaceChild(oldChild, initializer, p); this.optionalInitializer = initializer; postReplaceChild(oldChild, initializer, p); }
/** * Sets or clears the initializer of this variable declaration. * * @param initializer the initializer expression node, or <code>null</code> * if there is none * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> */ public void setInitializer(Expression initializer) { ChildPropertyDescriptor p = internalInitializerProperty(); ASTNode oldChild = this.optionalInitializer; preReplaceChild(oldChild, initializer, p); this.optionalInitializer = initializer; postReplaceChild(oldChild, initializer, p); }