/** * Returns the root AST node that this comment occurs * within, or <code>null</code> if none (or not recorded). * <p> * </p> * * @param root the alternate root node, or <code>null</code> * if none * @see #getAlternateRoot() */ public final void setAlternateRoot(ASTNode root) { // alternate root is *not* considered a structural property // but we protect them nevertheless checkModifiable(); this.alternateRoot = root; }
/** * Returns the root AST node that this comment occurs * within, or <code>null</code> if none (or not recorded). * <p> * </p> * * @param root the alternate root node, or <code>null</code> * if none * @see #getAlternateRoot() */ public final void setAlternateRoot(ASTNode root) { // alternate root is *not* considered a structural property // but we protect them nevertheless checkModifiable(); this.alternateRoot = root; }
/** * Returns the root AST node that this comment occurs * within, or <code>null</code> if none (or not recorded). * <p> * </p> * * @param root the alternate root node, or <code>null</code> * if none * @see #getAlternateRoot() */ public final void setAlternateRoot(ASTNode root) { // alternate root is *not* considered a structural property // but we protect them nevertheless checkModifiable(); this.alternateRoot = root; }
/** * Returns the root AST node that this comment occurs * within, or <code>null</code> if none (or not recorded). * <p> * </p> * * @param root the alternate root node, or <code>null</code> * if none * @see #getAlternateRoot() */ public final void setAlternateRoot(ASTNode root) { // alternate root is *not* considered a structural property // but we protect them nevertheless checkModifiable(); this.alternateRoot = root; }
/** * Returns the root AST node that this comment occurs * within, or <code>null</code> if none (or not recorded). * <p> * </p> * * @param root the alternate root node, or <code>null</code> * if none * @see #getAlternateRoot() */ public final void setAlternateRoot(ASTNode root) { // alternate root is *not* considered a structural property // but we protect them nevertheless checkModifiable(); this.alternateRoot = root; }
/** * Returns the root AST node that this comment occurs * within, or <code>null</code> if none (or not recorded). * <p> * </p> * * @param root the alternate root node, or <code>null</code> * if none * @see #getAlternateRoot() */ public final void setAlternateRoot(ASTNode root) { // alternate root is *not* considered a structural property // but we protect them nevertheless checkModifiable(); this.alternateRoot = root; }