/** * Returns structural property descriptor for the "name" property * of this node (child type: {@link SimpleName}). * * @return the property descriptor * @since 3.1 */ public final ChildPropertyDescriptor getNameProperty() { return internalNameProperty(); }
/** * Returns structural property descriptor for the "name" property * of this node (child type: {@link SimpleName}). * * @return the property descriptor * @since 3.1 */ public final ChildPropertyDescriptor getNameProperty() { return internalNameProperty(); }
/** * Returns structural property descriptor for the "name" property * of this node (child type: {@link SimpleName}). * * @return the property descriptor * @since 3.1 */ public final ChildPropertyDescriptor getNameProperty() { return internalNameProperty(); }
/** * Returns structural property descriptor for the "name" property * of this node (child type: {@link SimpleName}). * * @return the property descriptor * @since 3.1 */ public final ChildPropertyDescriptor getNameProperty() { return internalNameProperty(); }
/** * Returns structural property descriptor for the "name" property * of this node (child type: {@link SimpleName}). * * @return the property descriptor * @since 3.1 */ public final ChildPropertyDescriptor getNameProperty() { return internalNameProperty(); }
/** * Returns structural property descriptor for the "name" property * of this node (child type: {@link SimpleName}). * * @return the property descriptor * @since 3.1 */ public final ChildPropertyDescriptor getNameProperty() { return internalNameProperty(); }
/** * Sets the name of the type declared in this type declaration to the * given name. * * @param typeName the new type name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> * @since 2.0 (originally declared on {@link TypeDeclaration}) */ public void setName(SimpleName typeName) { if (typeName == null) { throw new IllegalArgumentException(); } ChildPropertyDescriptor p = internalNameProperty(); ASTNode oldChild = this.typeName; preReplaceChild(oldChild, typeName, p); this.typeName = typeName; postReplaceChild(oldChild, typeName, p); }
/** * Sets the name of the type declared in this type declaration to the * given name. * * @param typeName the new type name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> * @since 2.0 (originally declared on {@link TypeDeclaration}) */ public void setName(SimpleName typeName) { if (typeName == null) { throw new IllegalArgumentException(); } ChildPropertyDescriptor p = internalNameProperty(); ASTNode oldChild = this.typeName; preReplaceChild(oldChild, typeName, p); this.typeName = typeName; postReplaceChild(oldChild, typeName, p); }
/** * Sets the name of the type declared in this type declaration to the * given name. * * @param typeName the new type name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> * @since 2.0 (originally declared on {@link TypeDeclaration}) */ public void setName(SimpleName typeName) { if (typeName == null) { throw new IllegalArgumentException(); } ChildPropertyDescriptor p = internalNameProperty(); ASTNode oldChild = this.typeName; preReplaceChild(oldChild, typeName, p); this.typeName = typeName; postReplaceChild(oldChild, typeName, p); }
/** * Sets the name of the type declared in this type declaration to the * given name. * * @param typeName the new type name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> * @since 2.0 (originally declared on {@link TypeDeclaration}) */ public void setName(SimpleName typeName) { if (typeName == null) { throw new IllegalArgumentException(); } ChildPropertyDescriptor p = internalNameProperty(); ASTNode oldChild = this.typeName; preReplaceChild(oldChild, typeName, p); this.typeName = typeName; postReplaceChild(oldChild, typeName, p); }
/** * Sets the name of the type declared in this type declaration to the * given name. * * @param typeName the new type name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> * @since 2.0 (originally declared on {@link TypeDeclaration}) */ public void setName(SimpleName typeName) { if (typeName == null) { throw new IllegalArgumentException(); } ChildPropertyDescriptor p = internalNameProperty(); ASTNode oldChild = this.typeName; preReplaceChild(oldChild, typeName, p); this.typeName = typeName; postReplaceChild(oldChild, typeName, p); }
/** * Sets the name of the type declared in this type declaration to the * given name. * * @param typeName the new type name * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * </ul> * @since 2.0 (originally declared on {@link TypeDeclaration}) */ public void setName(SimpleName typeName) { if (typeName == null) { throw new IllegalArgumentException(); } ChildPropertyDescriptor p = internalNameProperty(); ASTNode oldChild = this.typeName; preReplaceChild(oldChild, typeName, p); this.typeName = typeName; postReplaceChild(oldChild, typeName, p); }
/** * Returns the name of the type declared in this type declaration. * * @return the type name node * @since 2.0 (originally declared on {@link TypeDeclaration}) */ public SimpleName getName() { if (this.typeName == null) { // lazy init must be thread-safe for readers synchronized (this) { if (this.typeName == null) { preLazyInit(); this.typeName = new SimpleName(this.ast); postLazyInit(this.typeName, internalNameProperty()); } } } return this.typeName; }
/** * Returns the name of the type declared in this type declaration. * * @return the type name node * @since 2.0 (originally declared on {@link TypeDeclaration}) */ public SimpleName getName() { if (this.typeName == null) { // lazy init must be thread-safe for readers synchronized (this) { if (this.typeName == null) { preLazyInit(); this.typeName = new SimpleName(this.ast); postLazyInit(this.typeName, internalNameProperty()); } } } return this.typeName; }
/** * Returns the name of the type declared in this type declaration. * * @return the type name node * @since 2.0 (originally declared on {@link TypeDeclaration}) */ public SimpleName getName() { if (this.typeName == null) { // lazy init must be thread-safe for readers synchronized (this) { if (this.typeName == null) { preLazyInit(); this.typeName = new SimpleName(this.ast); postLazyInit(this.typeName, internalNameProperty()); } } } return this.typeName; }
/** * Returns the name of the type declared in this type declaration. * * @return the type name node * @since 2.0 (originally declared on {@link TypeDeclaration}) */ public SimpleName getName() { if (this.typeName == null) { // lazy init must be thread-safe for readers synchronized (this) { if (this.typeName == null) { preLazyInit(); this.typeName = new SimpleName(this.ast); postLazyInit(this.typeName, internalNameProperty()); } } } return this.typeName; }
/** * Returns the name of the type declared in this type declaration. * * @return the type name node * @since 2.0 (originally declared on {@link TypeDeclaration}) */ public SimpleName getName() { if (this.typeName == null) { // lazy init must be thread-safe for readers synchronized (this) { if (this.typeName == null) { preLazyInit(); this.typeName = new SimpleName(this.ast); postLazyInit(this.typeName, internalNameProperty()); } } } return this.typeName; }
/** * Returns the name of the type declared in this type declaration. * * @return the type name node * @since 2.0 (originally declared on {@link TypeDeclaration}) */ public SimpleName getName() { if (this.typeName == null) { // lazy init must be thread-safe for readers synchronized (this) { if (this.typeName == null) { preLazyInit(); this.typeName = new SimpleName(this.ast); postLazyInit(this.typeName, internalNameProperty()); } } } return this.typeName; }